Click here to Skip to main content
15,894,955 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to find Child window? Pin
Dody_DK27-Jan-05 8:34
Dody_DK27-Jan-05 8:34 
AnswerRe: How to find Child window? Pin
Wes Aday27-Jan-05 9:17
professionalWes Aday27-Jan-05 9:17 
GeneralRe: How to find Child window? Pin
Neville Franks27-Jan-05 9:33
Neville Franks27-Jan-05 9:33 
AnswerRe: How to find Child window? Pin
ThatsAlok27-Jan-05 18:56
ThatsAlok27-Jan-05 18:56 
AnswerRe: How to find Child window? Pin
rwestgraham29-Jan-05 23:01
rwestgraham29-Jan-05 23:01 
GeneralRe: How to find Child window? Pin
Dody_DK30-Jan-05 0:39
Dody_DK30-Jan-05 0:39 
GeneralRe: How to find Child window? Pin
rwestgraham30-Jan-05 14:19
rwestgraham30-Jan-05 14:19 
GeneralRe: How to find Child window? Pin
Dody_DK31-Jan-05 9:59
Dody_DK31-Jan-05 9:59 
well...
when I try using spy++ then I found that the class of the windows is #32770 (Dialog) and the window caption is option, and when I use FindWindow() and use SendMessage() to close it, nothing happen!

HWND optionwindow =::FindWindow(NULL, "option");
or
HWND optionwindow =::FindWindow("#32770", NULL);
or even
HWND optionwindow =::FindWindow("#32770", "option");

and

::SendMessage(optionwindow, WM_CLOSE, 0, 0);

but not working!
any help thanks?
GeneralDAO Pin
Deian27-Jan-05 8:32
Deian27-Jan-05 8:32 
GeneralRe: DAO Pin
Deian27-Jan-05 8:58
Deian27-Jan-05 8:58 
GeneralRe: DAO Pin
BlackDice27-Jan-05 9:47
BlackDice27-Jan-05 9:47 
GeneralRe: DAO Pin
Deian27-Jan-05 9:58
Deian27-Jan-05 9:58 
GeneralRe: DAO Pin
BlackDice27-Jan-05 10:19
BlackDice27-Jan-05 10:19 
GeneralCDialog Update Pin
poiut27-Jan-05 8:24
poiut27-Jan-05 8:24 
GeneralRe: CDialog Update Pin
Neville Franks27-Jan-05 9:35
Neville Franks27-Jan-05 9:35 
GeneralRe: CDialog Update Pin
Anonymous27-Jan-05 10:13
Anonymous27-Jan-05 10:13 
GeneralRe: CDialog Update Pin
Neville Franks27-Jan-05 10:30
Neville Franks27-Jan-05 10:30 
GeneralRe: CDialog Update Pin
David Crow27-Jan-05 9:37
David Crow27-Jan-05 9:37 
GeneralRe: CDialog Update Pin
Anonymous27-Jan-05 10:21
Anonymous27-Jan-05 10:21 
GeneralGetSystemTime(LPSYSTEMTIME st) Pin
Jnewg527-Jan-05 6:31
Jnewg527-Jan-05 6:31 
GeneralRe: GetSystemTime(LPSYSTEMTIME st) Pin
Neville Franks27-Jan-05 9:46
Neville Franks27-Jan-05 9:46 
GeneralRe: GetSystemTime(LPSYSTEMTIME st) Pin
rwestgraham29-Jan-05 23:14
rwestgraham29-Jan-05 23:14 
GeneralNetAPI32 Pin
Richard Hudson27-Jan-05 6:04
Richard Hudson27-Jan-05 6:04 
GeneralRe: NetAPI32 Pin
David Crow27-Jan-05 10:49
David Crow27-Jan-05 10:49 
QuestionCan someone explain this please Pin
Tom Wright27-Jan-05 5:22
Tom Wright27-Jan-05 5:22 

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.