hi
i have an application made of several dialogs
each has its own exit button
my question:
whan i press the exit button ... iwant to exit the whole application (not exit the present dialog and return to the Previous one )
how can i do that .....please help me out with this
thank u all
lahom 0 Light Poster
Recommended Answers
Jump to PostIn the event handler for the exit button send a WM_QUIT event message to the program's main thread. More information is discussed here.
Jump to Postwhere did you put that PostMessage(). And why didn't you just use PostQuitMessage() as previously suggested?
All 6 Replies
mitrmkar 1,056 Posting Virtuoso
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
FTProtocol -24 Junior Poster in Training
lahom 0 Light Poster
lahom 0 Light Poster
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.