Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
I looked back through all your posts and I didn't see where you are making the call from.

Can you post the entire function that includes the call to SetCooperativeLevel()?

LaHaHa wrote:
I have tried all, the result are
*this and GetSafeHwnd() will get error


Are you getting compiler error or runtime error?
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 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
Mark Salsbery4-Dec-06 16:21
Mark Salsbery4-Dec-06 16:21 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa4-Dec-06 17:18
LaHaHa4-Dec-06 17:18 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
Mark Salsbery4-Dec-06 17:54
Mark Salsbery4-Dec-06 17:54 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa4-Dec-06 18:03
LaHaHa4-Dec-06 18:03 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
Mark Salsbery4-Dec-06 18:25
Mark Salsbery4-Dec-06 18:25 
GeneralRe: How to get the HWND of mfc DialogBox for .Net Pin
LaHaHa4-Dec-06 18:40
LaHaHa4-Dec-06 18:40 
Questionlock access to the desktop Pin
sridhar vattam30-Nov-06 17:14
sridhar vattam30-Nov-06 17:14 

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.