Click here to Skip to main content
14,772,659 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to find Child window? Pin
Dody_DK27-Jan-05 9:34
MemberDody_DK27-Jan-05 9:34 
AnswerRe: How to find Child window? Pin
Wes Aday27-Jan-05 10:17
professionalWes Aday27-Jan-05 10:17 
GeneralRe: How to find Child window? Pin
Neville Franks27-Jan-05 10:33
MemberNeville Franks27-Jan-05 10:33 
AnswerRe: How to find Child window? Pin
ThatsAlok27-Jan-05 19:56
MemberThatsAlok27-Jan-05 19:56 
AnswerRe: How to find Child window? Pin
rwestgraham30-Jan-05 0:01
Memberrwestgraham30-Jan-05 0:01 
GeneralRe: How to find Child window? Pin
Dody_DK30-Jan-05 1:39
MemberDody_DK30-Jan-05 1:39 
GeneralRe: How to find Child window? Pin
rwestgraham30-Jan-05 15:19
Memberrwestgraham30-Jan-05 15:19 
GeneralRe: How to find Child window? Pin
Dody_DK31-Jan-05 10:59
MemberDody_DK31-Jan-05 10: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 9:32
MemberDeian27-Jan-05 9:32 
GeneralRe: DAO Pin
Deian27-Jan-05 9:58
MemberDeian27-Jan-05 9:58 
GeneralRe: DAO Pin
BlackDice27-Jan-05 10:47
MemberBlackDice27-Jan-05 10:47 
GeneralRe: DAO Pin
Deian27-Jan-05 10:58
MemberDeian27-Jan-05 10:58 
GeneralRe: DAO Pin
BlackDice27-Jan-05 11:19
MemberBlackDice27-Jan-05 11:19 
GeneralCDialog Update Pin
poiut27-Jan-05 9:24
Memberpoiut27-Jan-05 9:24 
GeneralRe: CDialog Update Pin
Neville Franks27-Jan-05 10:35
MemberNeville Franks27-Jan-05 10:35 
GeneralRe: CDialog Update Pin
Anonymous27-Jan-05 11:13
MemberAnonymous27-Jan-05 11:13 
GeneralRe: CDialog Update Pin
Neville Franks27-Jan-05 11:30
MemberNeville Franks27-Jan-05 11:30 
GeneralRe: CDialog Update Pin
David Crow27-Jan-05 10:37
MemberDavid Crow27-Jan-05 10:37 
GeneralRe: CDialog Update Pin
Anonymous27-Jan-05 11:21
MemberAnonymous27-Jan-05 11:21 
GeneralGetSystemTime(LPSYSTEMTIME st) Pin
Jnewg527-Jan-05 7:31
MemberJnewg527-Jan-05 7:31 
GeneralRe: GetSystemTime(LPSYSTEMTIME st) Pin
Neville Franks27-Jan-05 10:46
MemberNeville Franks27-Jan-05 10:46 
GeneralRe: GetSystemTime(LPSYSTEMTIME st) Pin
rwestgraham30-Jan-05 0:14
Memberrwestgraham30-Jan-05 0:14 
GeneralNetAPI32 Pin
Richard Hudson27-Jan-05 7:04
MemberRichard Hudson27-Jan-05 7:04 
GeneralRe: NetAPI32 Pin
David Crow27-Jan-05 11:49
MemberDavid Crow27-Jan-05 11:49 
QuestionCan someone explain this please Pin
Tom Wright27-Jan-05 6:22
MemberTom Wright27-Jan-05 6: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.