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

C / C++ / MFC

 
GeneralRe: want to merge childwindow into the main window Pin
Nishad S4-Nov-08 1:34
Nishad S4-Nov-08 1:34 
GeneralRe: want to merge childwindow into the main window Pin
prithaa4-Nov-08 19:33
prithaa4-Nov-08 19:33 
QuestionMember Function Call by Pointer Pin
Bram van Kampen1-Nov-08 13:31
Bram van Kampen1-Nov-08 13:31 
AnswerRe: Member Function Call by Pointer Pin
Mark Salsbery1-Nov-08 15:46
Mark Salsbery1-Nov-08 15:46 
GeneralRe: Member Function Call by Pointer Pin
Bram van Kampen2-Nov-08 4:30
Bram van Kampen2-Nov-08 4:30 
AnswerRe: Member Function Call by Pointer Pin
David Crow1-Nov-08 16:13
David Crow1-Nov-08 16:13 
GeneralRe: Member Function Call by Pointer Pin
Bram van Kampen2-Nov-08 4:38
Bram van Kampen2-Nov-08 4:38 
GeneralRe: Member Function Call by Pointer Pin
Mark Salsbery2-Nov-08 8:03
Mark Salsbery2-Nov-08 8:03 
Bram van Kampen wrote:
I tried :(this->*(pE ->pCmdAction))(ResultString) and it worked. Have no Idea why.


Because you were trying to call a CCmdLineParserApp method using a pointer
to a CMD_LINE_ENTRY as the CCmdLineParserApp object.

In your fixed version, "this" is the CCmdLineParserApp object the method is being
called in the context of, and "pE->pCmdAction" is the pointer to the method.

Much better Smile | :)

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Member Function Call by Pointer Pin
Bram van Kampen2-Nov-08 12:14
Bram van Kampen2-Nov-08 12:14 
GeneralRe: Member Function Call by Pointer Pin
Michael Dunn2-Nov-08 8:17
sitebuilderMichael Dunn2-Nov-08 8:17 
GeneralRe: Member Function Call by Pointer Pin
Bram van Kampen2-Nov-08 12:15
Bram van Kampen2-Nov-08 12:15 
Questionhow to show/hide windows properly? Pin
includeh101-Nov-08 10:56
includeh101-Nov-08 10:56 
AnswerRe: how to show/hide windows properly? Pin
Mark Salsbery1-Nov-08 13:23
Mark Salsbery1-Nov-08 13:23 
AnswerRe: how to show/hide windows properly? Pin
Bram van Kampen1-Nov-08 13:58
Bram van Kampen1-Nov-08 13:58 
AnswerRe: how to show/hide windows properly? Pin
Alan Balkany3-Nov-08 8:48
Alan Balkany3-Nov-08 8:48 
Questionsockaddr* - Casting from DWORD, get Ip address. Pin
urbanyoung1-Nov-08 2:29
urbanyoung1-Nov-08 2:29 
AnswerRe: sockaddr* - Casting from DWORD, get Ip address. Pin
Mark Salsbery1-Nov-08 9:04
Mark Salsbery1-Nov-08 9:04 
QuestionGetting VPN IP Pin
Green Fuze31-Oct-08 23:14
Green Fuze31-Oct-08 23:14 
QuestionInsert Text at cursor position in a CEdit Control Pin
Dhiraj kumar Saini31-Oct-08 20:44
Dhiraj kumar Saini31-Oct-08 20:44 
AnswerRe: Insert Text at cursor position in a CEdit Control Pin
Cedric Moonen1-Nov-08 0:42
Cedric Moonen1-Nov-08 0:42 
GeneralRe: Insert Text at cursor position in a CEdit Control Pin
Dhiraj kumar Saini1-Nov-08 1:51
Dhiraj kumar Saini1-Nov-08 1:51 
QuestionHow to transfer file via bluetooth from desktop PC to Windows Mobile Device Pin
yudhisthira31-Oct-08 19:18
yudhisthira31-Oct-08 19:18 
QuestionCan you Export to a DLL the resource from another program a dialog resource and it's class with all the DDX and varables? Pin
Larry Mills Sr31-Oct-08 15:52
Larry Mills Sr31-Oct-08 15:52 
AnswerRe: Can you Export to a DLL the resource from another program a dialog resource and it's class with all the DDX and varables? Pin
Kenneth Ballard31-Oct-08 18:52
Kenneth Ballard31-Oct-08 18:52 
GeneralRe: Can you Export to a DLL the resource from another program a dialog resource and it's class with all the DDX and varables? Pin
Larry Mills Sr1-Nov-08 3:12
Larry Mills Sr1-Nov-08 3:12 

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.