Click here to Skip to main content
16,004,887 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa30-Nov-06 19:40
LaHaHa30-Nov-06 19:40 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
prasad_som30-Nov-06 19:44
prasad_som30-Nov-06 19:44 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa30-Nov-06 19:49
LaHaHa30-Nov-06 19:49 
QuestionRe: How to get the HWND of mfc DialogBox for .Net Pin
prasad_som30-Nov-06 20:00
prasad_som30-Nov-06 20:00 
AnswerRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa30-Nov-06 20:11
LaHaHa30-Nov-06 20:11 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
prasad_som30-Nov-06 20:29
prasad_som30-Nov-06 20:29 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa30-Nov-06 20:59
LaHaHa30-Nov-06 20:59 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
prasad_som30-Nov-06 21:27
prasad_som30-Nov-06 21:27 
Dear,dear.

LaHaHa wrote:
error C2673: 'InitDirectInput' : global functions do not have 'this' pointers


I was insisting on complete information from start of thread.
Again , this error indicates that, code you have pasted is of a global function. And obviously you could not use this pointer there.
I was assuming this code is used in one of your dialog function.
For using it through global function, you need to have instance of dialog class.
Which you can pass as first parameter of said function.

Otherwise, post code of function body of InitDirectInput.



GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa30-Nov-06 22:04
LaHaHa30-Nov-06 22:04 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
prasad_som30-Nov-06 22:21
prasad_som30-Nov-06 22:21 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa30-Nov-06 22:30
LaHaHa30-Nov-06 22:30 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
prasad_som1-Dec-06 1:13
prasad_som1-Dec-06 1:13 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa1-Dec-06 3:50
LaHaHa1-Dec-06 3:50 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
Mark Salsbery1-Dec-06 7:28
Mark Salsbery1-Dec-06 7:28 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
Mark Salsbery1-Dec-06 7:26
Mark Salsbery1-Dec-06 7:26 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa3-Dec-06 14:55
LaHaHa3-Dec-06 14:55 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
Mark Salsbery3-Dec-06 16:24
Mark Salsbery3-Dec-06 16:24 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa3-Dec-06 16:43
LaHaHa3-Dec-06 16:43 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
Mark Salsbery3-Dec-06 16:54
Mark Salsbery3-Dec-06 16:54 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa3-Dec-06 18:51
LaHaHa3-Dec-06 18:51 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
Mark Salsbery3-Dec-06 19:00
Mark Salsbery3-Dec-06 19:00 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
Mark Salsbery3-Dec-06 19:06
Mark Salsbery3-Dec-06 19:06 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa3-Dec-06 19:31
LaHaHa3-Dec-06 19:31 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
Mark Salsbery4-Dec-06 9:40
Mark Salsbery4-Dec-06 9:40 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa4-Dec-06 15:16
LaHaHa4-Dec-06 15:16 

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.