Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can I get ride of the 'X' that closes an application. Pin
John M. Drescher14-Feb-05 5:33
John M. Drescher14-Feb-05 5:33 
AnswerRe: How can I get ride of the 'X' that closes an application. Pin
Kippesoep14-Feb-05 6:36
Kippesoep14-Feb-05 6:36 
GeneralResource DLL Pin
Franz Klein14-Feb-05 4:13
Franz Klein14-Feb-05 4:13 
GeneralRe: Resource DLL Pin
rocky_pulley14-Feb-05 4:21
rocky_pulley14-Feb-05 4:21 
GeneralRe: Resource DLL Pin
Franz Klein14-Feb-05 4:31
Franz Klein14-Feb-05 4:31 
GeneralRe: Resource DLL Pin
Shog914-Feb-05 7:57
sitebuilderShog914-Feb-05 7:57 
GeneralApp doesn't shut down propperly Pin
IGeorgeI14-Feb-05 2:45
IGeorgeI14-Feb-05 2:45 
GeneralRe: App doesn't shut down propperly Pin
Blake Miller14-Feb-05 5:29
Blake Miller14-Feb-05 5:29 
If your message pump processes a WM_QUIT, then the GetMessage returns false.
Per MSDN ---
"What Is WM_QUIT?
Normal message-processing loops in an application's WinMain routine usually exit when the GetMessage function returns a FALSE value. Internally, if GetMessage is about to return a WM_QUIT message, it returns FALSE instead of TRUE even though the message returned in the MSG structure (a WM_QUIT message) is valid. The only time GetMessage will ever return a FALSE value is when it is returning a WM_QUIT message. Conversely, PeekMessage returns WM_QUIT messages as it would any other message. Applications that use PeekMessage in their main message-processing loop must explicitly look for the WM_QUIT message.

The PostQuitMessage function does not actually post a WM_QUIT message to the application's task queue. Instead, it sets a flag that is tested inside GetMessage and PeekMessage. WM_QUIT is returned when GetMessage or PeekMessage detects that this flag is set and no other messages or events are pending for the application."

GeneralRe: App doesn't shut down propperly Pin
IGeorgeI14-Feb-05 6:14
IGeorgeI14-Feb-05 6:14 
GeneralSetup project Pin
viliam14-Feb-05 2:34
viliam14-Feb-05 2:34 
GeneralHitting F5 ALWAYS asks if I want to build Pin
dabs14-Feb-05 2:18
dabs14-Feb-05 2:18 
GeneralRe: Hitting F5 ALWAYS asks if I want to build Pin
Michael Dunn14-Feb-05 3:07
sitebuilderMichael Dunn14-Feb-05 3:07 
GeneralRe: Hitting F5 ALWAYS asks if I want to build Pin
dabs14-Feb-05 3:33
dabs14-Feb-05 3:33 
GeneralRe: Hitting F5 ALWAYS asks if I want to build Pin
Ted Ferenc14-Feb-05 4:59
Ted Ferenc14-Feb-05 4:59 
GeneralRe: Hitting F5 ALWAYS asks if I want to build Pin
K. Shaffer14-Feb-05 6:34
K. Shaffer14-Feb-05 6:34 
GeneralServer Service NT/win2k with client Pin
LPKPOKOK14-Feb-05 1:19
sussLPKPOKOK14-Feb-05 1:19 
GeneralCreating Virtual Directories IIS Pin
bmk95914-Feb-05 0:43
bmk95914-Feb-05 0:43 
GeneralRe: Creating Virtual Directories IIS Pin
Blake Miller14-Feb-05 5:33
Blake Miller14-Feb-05 5:33 
GeneralRe: Creating Virtual Directories IIS Pin
bmk95916-Feb-05 5:33
bmk95916-Feb-05 5:33 
Generaldx9 prob Pin
Zizilamoroso14-Feb-05 0:37
Zizilamoroso14-Feb-05 0:37 
GeneralRe: dx9 prob Pin
rocky_pulley14-Feb-05 1:44
rocky_pulley14-Feb-05 1:44 
GeneralRe: dx9 prob Pin
Zizilamoroso14-Feb-05 2:56
Zizilamoroso14-Feb-05 2:56 
GeneralRe: dx9 prob Pin
Bob Ciora14-Feb-05 9:27
Bob Ciora14-Feb-05 9:27 
GeneralRe: dx9 prob Pin
Zizilamoroso14-Feb-05 11:34
Zizilamoroso14-Feb-05 11:34 
GeneralUDP MULTICAST with Winsock2.0 Pin
Anonymous14-Feb-05 0:01
Anonymous14-Feb-05 0:01 

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.