Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dead windows in MFC Pin
jhwurmbach31-Jul-03 1:29
jhwurmbach31-Jul-03 1:29 
GeneralRe: Dead windows in MFC Pin
BoudewijnEctor31-Jul-03 1:53
BoudewijnEctor31-Jul-03 1:53 
GeneralRe: Dead windows in MFC Pin
BoudewijnEctor31-Jul-03 2:01
BoudewijnEctor31-Jul-03 2:01 
GeneralRe: Dead windows in MFC Pin
Ravi Bhavnani31-Jul-03 2:38
professionalRavi Bhavnani31-Jul-03 2:38 
GeneralRe: Dead windows in MFC Pin
BoudewijnEctor1-Aug-03 0:43
BoudewijnEctor1-Aug-03 0:43 
GeneralRe: Dead windows in MFC Pin
Ravi Bhavnani1-Aug-03 4:17
professionalRavi Bhavnani1-Aug-03 4:17 
GeneralI don't wanna record same information again Pin
Emre Zorlu31-Jul-03 0:47
Emre Zorlu31-Jul-03 0:47 
GeneralRe: I don't wanna record same information again Pin
Rage31-Jul-03 0:56
professionalRage31-Jul-03 0:56 
GeneralRe: I don't wanna record same information again Pin
Emre Zorlu31-Jul-03 1:00
Emre Zorlu31-Jul-03 1:00 
GeneralXp vs. NT Pin
Rage31-Jul-03 0:39
professionalRage31-Jul-03 0:39 
GeneralRe: Xp vs. NT Pin
Chris Richardson31-Jul-03 8:28
Chris Richardson31-Jul-03 8:28 
GeneralRe: Xp vs. NT Pin
Mathias S.19-Aug-03 4:20
Mathias S.19-Aug-03 4:20 
GeneralFlush cin Pin
Andrew Walker30-Jul-03 23:54
Andrew Walker30-Jul-03 23:54 
GeneralRe: Flush cin Pin
Ryan Binns31-Jul-03 1:09
Ryan Binns31-Jul-03 1:09 
GeneralRe: Flush cin Pin
John R. Shaw31-Jul-03 9:24
John R. Shaw31-Jul-03 9:24 
GeneralRe: Flush cin Pin
Andrew Walker31-Jul-03 11:32
Andrew Walker31-Jul-03 11:32 
GeneralAbout a function declaration Pin
FlyingDancer30-Jul-03 23:40
FlyingDancer30-Jul-03 23:40 
GeneralRe: About a function declaration Pin
Anonymous30-Jul-03 23:58
Anonymous30-Jul-03 23:58 
GeneralRe: About a function declaration Pin
FlyingDancer31-Jul-03 1:47
FlyingDancer31-Jul-03 1:47 
QuestionHow to us msComm Control on A DialogBar Pin
coolfired30-Jul-03 23:40
coolfired30-Jul-03 23:40 
QuestionIs it possible to have callback function as a class member? Pin
Aidman30-Jul-03 23:09
Aidman30-Jul-03 23:09 
AnswerRe: Is it possible to have callback function as a class member? Pin
FlyingDancer30-Jul-03 23:34
FlyingDancer30-Jul-03 23:34 
GeneralRe: Is it possible to have callback function as a class member? Pin
Aidman31-Jul-03 0:37
Aidman31-Jul-03 0:37 
GeneralRe: Is it possible to have callback function as a class member? Pin
Rage31-Jul-03 1:02
professionalRage31-Jul-03 1:02 
Usually you can pass a pointer on your main window to the callback function. If the parameter of the callback function is LPVOID, you will have to typecast it to your window type.

if it looks like
CMyDialog::callbackfunction(... , LPVOID pointer)

use it like this :
callbackfuntionc(...,this);

and in the function
CMyDialog::callbackfunction(... , LPVOID pointer)
{
   CMyDialog *pMain=(CMyDialog*)pointer;
   pMain->m_variable=0;  // here you can access them...
}





~RaGE();
GeneralRe: Is it possible to have callback function as a class member? Pin
John R. Shaw31-Jul-03 9:31
John R. Shaw31-Jul-03 9:31 

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.