Click here to Skip to main content
15,922,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: When must I hide my window??? Pin
Alvaro Mendez16-Jan-02 14:07
Alvaro Mendez16-Jan-02 14:07 
GeneralRe: When must I hide my window??? Pin
Nish Nishant16-Jan-02 16:28
sitebuilderNish Nishant16-Jan-02 16:28 
Generala good one => Pin
16-Jan-02 5:52
suss16-Jan-02 5:52 
GeneralThanx Pin
16-Jan-02 7:28
suss16-Jan-02 7:28 
GeneralProblems with executing transfered files! Pin
16-Jan-02 5:10
suss16-Jan-02 5:10 
GeneralRe: Problems with executing transfered files! Pin
Carlos Antollini16-Jan-02 5:24
Carlos Antollini16-Jan-02 5:24 
GeneralRe: Problems with executing transfered files! Pin
Nish Nishant16-Jan-02 13:25
sitebuilderNish Nishant16-Jan-02 13:25 
QuestionHow to find property sheet with FindWindow Pin
16-Jan-02 4:35
suss16-Jan-02 4:35 
Hello everyone,

I have a modaless CPropertySheet with its name "Control Panel"

I also use the command CWnd::FindWindow(NULL, "Control Panel") to locate the control panel.

Problem came when I just so happen to have the Window's _real_ Control Panel open while running my program. The FindWindow() found the CWnd ptr to the Window's Control Panel. I tried replacing the NULL in FindWindow() with my class name "CControlPanelSheet" which is a inhareted class of CPropertySheet, but FindWindow just returns NULL, and can't find any windows.

Does anyone know what may fix the problem? What is the proper way to retrieve the pointer to a modaless CPropertySheet?

Thank you for your help.Smile | :)
AnswerRe: How to find property sheet with FindWindow Pin
Joaquín M López Muñoz16-Jan-02 9:06
Joaquín M López Muñoz16-Jan-02 9:06 
GeneralRe: How to find property sheet with FindWindow Pin
Jerry Wang16-Jan-02 10:22
Jerry Wang16-Jan-02 10:22 
GeneralRe: How to find property sheet with FindWindow Pin
Joaquín M López Muñoz16-Jan-02 10:48
Joaquín M López Muñoz16-Jan-02 10:48 
GeneralRe: How to find property sheet with FindWindow Pin
Jerry Wang16-Jan-02 11:00
Jerry Wang16-Jan-02 11:00 
GeneralRe: How to find property sheet with FindWindow Pin
Jerry Wang16-Jan-02 10:27
Jerry Wang16-Jan-02 10:27 
GeneralRe: How to find property sheet with FindWindow Pin
Joaquín M López Muñoz16-Jan-02 10:31
Joaquín M López Muñoz16-Jan-02 10:31 
GeneralRe: How to find property sheet with FindWindow Pin
Jerry Wang16-Jan-02 10:50
Jerry Wang16-Jan-02 10:50 
GeneralRe: How to find property sheet with FindWindow Pin
Joaquín M López Muñoz16-Jan-02 11:17
Joaquín M López Muñoz16-Jan-02 11:17 
Generaldelete Pin
Stan the man16-Jan-02 4:26
Stan the man16-Jan-02 4:26 
GeneralRe: delete Pin
Michael P Butler16-Jan-02 4:36
Michael P Butler16-Jan-02 4:36 
GeneralRe: delete Pin
Jon Sagara16-Jan-02 4:37
Jon Sagara16-Jan-02 4:37 
GeneralRe: delete Pin
Vivek Rajan16-Jan-02 4:47
Vivek Rajan16-Jan-02 4:47 
QuestionWhat to do to get rid from this error "Dll Function call crashed"? Pin
Daed16-Jan-02 4:20
Daed16-Jan-02 4:20 
AnswerRe: What to do to get rid from this error "Dll Function call crashed"? Pin
Joaquín M López Muñoz16-Jan-02 9:28
Joaquín M López Muñoz16-Jan-02 9:28 
GeneralRe: What to do to get rid from this error "Dll Function call crashed"? Pin
Daed16-Jan-02 20:58
Daed16-Jan-02 20:58 
GeneralRe: What to do to get rid from this error "Dll Function call crashed"? Pin
Joaquín M López Muñoz16-Jan-02 21:20
Joaquín M López Muñoz16-Jan-02 21:20 
GeneralRe: What to do to get rid from this error "Dll Function call crashed"? Pin
Daed16-Jan-02 21:39
Daed16-Jan-02 21:39 

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.