Hi to all,
I woud like to know how to destroy only a child window?I am Using Dev-C++ WIN32
Thank you for reading.What message to do i need?
kv79 -1
Posting Whiz in Training
Recommended Answers
Jump to Post>>PostMessage(hwnd,WM_CLOSE,0,0);
You may be attempting to close the wrong window. Try making lo global and using that instead of the hwnd that is pass to WindowProcedure(). Not sure if that will fix the problem but its worth a try.
Jump to Post>> do not know how to set global lo
delete lo from line 18 and declare it on line 8. Leave hwnd where it is on line 18.
All 9 Replies
Ancient Dragon 5,243
Achieved Level 70 Team Colleague Featured Poster
kv79 -1
Posting Whiz in Training
kv79 -1
Posting Whiz in Training
kv79 -1
Posting Whiz in Training
Ancient Dragon 5,243
Achieved Level 70 Team Colleague Featured Poster
kv79 -1
Posting Whiz in Training
Ancient Dragon 5,243
Achieved Level 70 Team Colleague Featured Poster
kv79 -1
Posting Whiz in Training
Ancient Dragon 5,243
Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.