Click here to Skip to main content
15,914,016 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do you traverse, or loop through the controls Pin
jhwurmbach27-Aug-07 5:49
jhwurmbach27-Aug-07 5:49 
GeneralRe: How do you traverse, or loop through the controls Pin
littleGreenDude27-Aug-07 6:05
littleGreenDude27-Aug-07 6:05 
QuestionRe: How do you traverse, or loop through the controls Pin
David Crow27-Aug-07 6:01
David Crow27-Aug-07 6:01 
AnswerRe: How do you traverse, or loop through the controls Pin
littleGreenDude27-Aug-07 6:09
littleGreenDude27-Aug-07 6:09 
QuestionRe: How do you traverse, or loop through the controls Pin
David Crow27-Aug-07 6:18
David Crow27-Aug-07 6:18 
AnswerRe: How do you traverse, or loop through the controls Pin
littleGreenDude27-Aug-07 7:48
littleGreenDude27-Aug-07 7:48 
GeneralRe: How do you traverse, or loop through the controls Pin
David Crow27-Aug-07 8:25
David Crow27-Aug-07 8:25 
AnswerRe: How do you traverse, or loop through the controls Pin
Stephen Hewitt27-Aug-07 18:32
Stephen Hewitt27-Aug-07 18:32 
Try code like this:
HWND hwndDialog = GetSafeHwnd();
for (HWND hwndChild=::GetWindow(hwndDialog, GW_CHILD); hwndChild!=NULL; hwndChild=::GetWindow(hwndChild, GW_HWNDNEXT))
{
	// Do something with "hwndChild" here...
}



Steve

QuestionPDA communication Pin
Waldermort27-Aug-07 5:34
Waldermort27-Aug-07 5:34 
GeneralRe: PDA communication Pin
Matthew Faithfull27-Aug-07 8:04
Matthew Faithfull27-Aug-07 8:04 
Questionpointer on char array Pin
baerten27-Aug-07 3:35
baerten27-Aug-07 3:35 
AnswerRe: pointer on char array Pin
David Crow27-Aug-07 3:41
David Crow27-Aug-07 3:41 
GeneralRe: pointer on char array Pin
baerten27-Aug-07 4:03
baerten27-Aug-07 4:03 
GeneralRe: pointer on char array Pin
David Crow27-Aug-07 4:39
David Crow27-Aug-07 4:39 
AnswerRe: pointer on char array Pin
Russell'27-Aug-07 3:49
Russell'27-Aug-07 3:49 
GeneralRe: pointer on char array Pin
baerten27-Aug-07 3:57
baerten27-Aug-07 3:57 
GeneralRe: pointer on char array Pin
Russell'27-Aug-07 4:14
Russell'27-Aug-07 4:14 
QuestionRe: Strange Pin
baerten27-Aug-07 4:26
baerten27-Aug-07 4:26 
AnswerRe: Strange Pin
Russell'27-Aug-07 4:47
Russell'27-Aug-07 4:47 
GeneralRe: Strange Pin
baerten27-Aug-07 5:12
baerten27-Aug-07 5:12 
AnswerRe: pointer on char array Pin
KarstenK27-Aug-07 4:13
mveKarstenK27-Aug-07 4:13 
GeneralRe: pointer on char array Pin
baerten27-Aug-07 20:59
baerten27-Aug-07 20:59 
QuestionHighlighting a entire row Pin
Sangeetha_J27-Aug-07 3:35
Sangeetha_J27-Aug-07 3:35 
AnswerRe: Highlighting a entire row Pin
Hamid_RT27-Aug-07 3:59
Hamid_RT27-Aug-07 3:59 
QuestionProblem calling a function in RecordView's constructor Pin
__yash__27-Aug-07 3:29
professional__yash__27-Aug-07 3:29 

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.