Click here to Skip to main content
15,919,340 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Wait for Local server intialization Pin
User 21559730-Nov-06 4:13
User 21559730-Nov-06 4:13 
QuestionWTL Pin
Anilkumar K V26-Nov-06 23:01
Anilkumar K V26-Nov-06 23:01 
AnswerRe: WTL Pin
George L. Jackson28-Nov-06 14:49
George L. Jackson28-Nov-06 14:49 
QuestionSTL vector storing thread Pin
_tasleem25-Nov-06 2:00
_tasleem25-Nov-06 2:00 
AnswerRe: STL vector storing thread Pin
Michael Dunn25-Nov-06 11:10
sitebuilderMichael Dunn25-Nov-06 11:10 
AnswerRe: STL vector storing thread Pin
Laxman Auti27-Nov-06 23:59
Laxman Auti27-Nov-06 23:59 
GeneralRe: STL vector storing thread Pin
_tasleem30-Nov-06 23:11
_tasleem30-Nov-06 23:11 
Questioncan you help me? Pin
china.net23-Nov-06 4:32
china.net23-Nov-06 4:32 
i create an ATL project and insert an full control named IMyClient .the class is

CMyClient.Then i add other C++ class CDealEvent .Now i want to use the function 'onidle'

that in CMyClient ,how should i do? the code like this:
///////////////////////////////////
//MyClient.h
///////////////////////////////////
#include DealEvent.h;
class ATL_NO_VTABLE CMyClient:
public ......
{
...........
///////////////////////////////
//here i add a function onIdle
///////////////////////////////
public:
HRESULT onIdle(void);
CDealEvent* pEvent;
HRESULT FinalConstruct()
{
pEvent=new CDealEvent();
}

}
///////////////////////////////////
//MyClient.cpp
///////////////////////////////////

HRESULT CMyClient::onIdle(void)
{
//some code here
}
CMyClient::CMyClient():pEvent(NULL)
{

}

//////////////////////////////////
//add other c++ class DealEvent.h
/////////////////////////////////
class CDealEvent
{
public:
callonIdle();


}
//////////////////////////////////
//add other c++ class DealEvent.cpp
/////////////////////////////////
void CDealEvent::callonIdle()
{
//here i want to call ' onIdle ' that in CMyClient
//how should i do?


}



AnswerRe: can you help me? Pin
prasad_som24-Nov-06 20:34
prasad_som24-Nov-06 20:34 
Questioncalling methods on _module Pin
tom groezer22-Nov-06 3:09
tom groezer22-Nov-06 3:09 
AnswerRe: calling methods on _module Pin
led mike22-Nov-06 5:37
led mike22-Nov-06 5:37 
QuestionTransparent controls Pin
damir_tk21-Nov-06 11:06
damir_tk21-Nov-06 11:06 
AnswerRe: Transparent controls Pin
damir_tk21-Nov-06 11:30
damir_tk21-Nov-06 11:30 
Questionhow do I Accessing a C# dll in VC++? Pin
malayalite19-Nov-06 15:31
malayalite19-Nov-06 15:31 
AnswerRe: how do I Accessing a C# dll in VC++? Pin
led mike20-Nov-06 5:37
led mike20-Nov-06 5:37 
Questioncan somebody help me? Pin
china.net19-Nov-06 3:31
china.net19-Nov-06 3:31 
AnswerRe: help me ,please Pin
Stephen Hewitt19-Nov-06 15:28
Stephen Hewitt19-Nov-06 15:28 
Questionreplacment of CComModule in ATL7 Pin
tom groezer16-Nov-06 1:22
tom groezer16-Nov-06 1:22 
AnswerRe: replacment of CComModule in ATL7 Pin
prasad_som16-Nov-06 1:44
prasad_som16-Nov-06 1:44 
GeneralRe: replacment of CComModule in ATL7 Pin
tom groezer22-Nov-06 4:03
tom groezer22-Nov-06 4:03 
Questionshow or hiding tool bar Pin
salman kazi15-Nov-06 18:07
salman kazi15-Nov-06 18:07 
QuestionFont Information Pin
Gupta Suraj14-Nov-06 8:10
Gupta Suraj14-Nov-06 8:10 
QuestionSpecialization Pin
Juan Antonio Bermejo14-Nov-06 6:15
Juan Antonio Bermejo14-Nov-06 6:15 
AnswerRe: Specialization Pin
Joaquín M López Muñoz18-Nov-06 4:26
Joaquín M López Muñoz18-Nov-06 4:26 
GeneralRe: Specialization Pin
Juan Antonio Bermejo19-Nov-06 20:44
Juan Antonio Bermejo19-Nov-06 20:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.