Click here to Skip to main content
15,924,829 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Come on !
Where is dialog class instance ?
If dialog is already invoked then use AfxGetMainWnd, to get its handle.
LaHaHa wrote:
if( FAILED( hr = g_pJoystick->SetCooperativeLevel(this, DISCL_NONEXCLUSIVE |
DISCL_BACKGROUND ) ) )
return hr;


g_pJoystick->SetCooperativeLevel(AfxGetMainWnd(), DISCL_NONEXCLUSIVE |
DISCL_BACKGROUND ) ) )



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 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
Mark Salsbery4-Dec-06 15:50
Mark Salsbery4-Dec-06 15:50 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa4-Dec-06 15:55
LaHaHa4-Dec-06 15:55 

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.