Click here to Skip to main content
15,909,591 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating a "locking" program Pin
Iain Clarke, Warrior Programmer28-Aug-03 22:51
Iain Clarke, Warrior Programmer28-Aug-03 22:51 
GeneralRe: Creating a "locking" program Pin
Ricky Koh31-Aug-03 17:59
Ricky Koh31-Aug-03 17:59 
GeneralMDI Buttons Gone Pin
afj66628-Aug-03 14:29
afj66628-Aug-03 14:29 
GeneralODL vs IDL Pin
FearlessBurner28-Aug-03 12:51
FearlessBurner28-Aug-03 12:51 
GeneralCallbacks And Function Pointers. Pin
cliffbarns28-Aug-03 10:42
cliffbarns28-Aug-03 10:42 
GeneralRe: Callbacks And Function Pointers. Pin
Alexander M.,28-Aug-03 10:53
Alexander M.,28-Aug-03 10:53 
GeneralRe: Callbacks And Function Pointers. Pin
cliffbarns28-Aug-03 11:03
cliffbarns28-Aug-03 11:03 
GeneralRe: Callbacks And Function Pointers. Pin
Alexander M.,28-Aug-03 11:14
Alexander M.,28-Aug-03 11:14 
this will only work, if the function pointer points to a static function!
i don't know what class the member function should be in, i assume it's CMyDialog...
So i have 
class cMyDialog 
{
public:
void Notify();

private:
cMyFTP MyFTP;
}

class cMyFTP
{
public:
//Some how i know this decl is wrong
void SetStatusHandler(CMyDialog *pDialog);
privte:
CMyDialog *pHandler;
}

void CMyFTP::SetStatusHandler(CMyDialog *pDialog)
{
  ...
   pHandler = pDialog;
}


this is the only way if you want it to do it as u described!

Don't try it, just do it! Wink | ;-)
GeneralRe: Callbacks And Function Pointers. Pin
Iain Clarke, Warrior Programmer28-Aug-03 12:32
Iain Clarke, Warrior Programmer28-Aug-03 12:32 
GeneralRe: Callbacks And Function Pointers. Pin
cliffbarns2-Sep-03 0:59
cliffbarns2-Sep-03 0:59 
GeneralRe: Callbacks And Function Pointers. Pin
cliffbarns3-Sep-03 4:50
cliffbarns3-Sep-03 4:50 
GeneralSetFocus Problem Pin
jinbabaj28-Aug-03 9:48
jinbabaj28-Aug-03 9:48 
GeneralRe: SetFocus Problem Pin
David Crow28-Aug-03 10:16
David Crow28-Aug-03 10:16 
GeneralRe: SetFocus Problem Pin
Alexander M.,28-Aug-03 11:06
Alexander M.,28-Aug-03 11:06 
GeneralRe: SetFocus Problem Pin
Neville Franks28-Aug-03 11:29
Neville Franks28-Aug-03 11:29 
GeneralPrinting Bitmaps via GDI+ Pin
Swinefeaster28-Aug-03 8:42
Swinefeaster28-Aug-03 8:42 
GeneralWinsock Source Code for VC++ 6.0 Pin
Johnny_Uta28-Aug-03 8:39
Johnny_Uta28-Aug-03 8:39 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
palbano28-Aug-03 9:03
palbano28-Aug-03 9:03 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
Alexander M.,28-Aug-03 10:55
Alexander M.,28-Aug-03 10:55 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
Johnny_Uta28-Aug-03 13:35
Johnny_Uta28-Aug-03 13:35 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
Alexander M.,28-Aug-03 15:20
Alexander M.,28-Aug-03 15:20 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
Johnny_Uta28-Aug-03 18:27
Johnny_Uta28-Aug-03 18:27 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
palbano29-Aug-03 5:55
palbano29-Aug-03 5:55 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
Steve S28-Aug-03 22:46
Steve S28-Aug-03 22:46 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
palbano29-Aug-03 5:53
palbano29-Aug-03 5:53 

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.