Click here to Skip to main content
       

C / C++ / MFC

 
GeneralRe: Need help compiling PinmemberxLeonx18-Nov-12 9:31 
GeneralRe: Need help compiling PinmemberxLeonx18-Nov-12 9:33 
AnswerRe: Need help compiling PinmemberArun S J18-Nov-12 18:15 
GeneralRe: Need help compiling PinmemberxLeonx23-Nov-12 8:20 
GeneralRe: Need help compiling PinmemberArun S J25-Nov-12 17:37 
QuestionVisual Studio 2003 on Windows 8! PinmemberHadi Dayvary15-Nov-12 4:23 
Question[RESOLVED] Message Box will not show on top of window PinmemberBrandon T. H.15-Nov-12 1:14 
AnswerRe: Message Box will not show on top of window PinmvpRichard MacCutchan15-Nov-12 3:16 
1. You should follow the call to ShowWindow() with a call to UpdateWindow(), to get your controls drawn straight away.
 
2. Your WindowProcedure() has a case for handling the WM_PAINT message, so Windows thinks you are handling it even though you are not. If you remove that case* then your MessageBox will show up on its own. As a general rule you should not add case statements for messages that you ignore. As a simple test before changing your code, press the close button on your window and then press the Alt key on your keyboard.
 
*I have come across this before but have not tried to figure out exactly why it happens. There is probably someone who works or worked for Microsoft who knows the answer.
One of these days I'm going to think of a really clever signature.

GeneralRe: Message Box will not show on top of window PinmemberBrandon T. H.15-Nov-12 8:13 
GeneralRe: Message Box will not show on top of window PinmvpRichard MacCutchan15-Nov-12 23:42 
GeneralRe: Message Box will not show on top of window PinmemberBrandon T. H.17-Nov-12 4:30 
AnswerRe: [RESOLVED] Message Box will not show on top of window PinmemberArun S J18-Nov-12 20:16 
QuestionUsing make file PinmemberHungryCPPDev15-Nov-12 0:55 
AnswerRe: Using make file PinmemberJochen Arndt15-Nov-12 2:20 
Questionhow to create an Un-sorted map in c++ Pinmembernarmada Padhy14-Nov-12 18:04 
AnswerRe: how to create an Un-sorted map in c++ PinmvpRichard MacCutchan14-Nov-12 21:01 
AnswerRe: how to create an Un-sorted map in c++ PinmemberStephen Hewitt14-Nov-12 22:57 
AnswerRe: how to create an Un-sorted map in c++ PinmemberArun S J18-Nov-12 18:20 
NewsSoftware Engineer (C++) needed in Singapore!! Pinmemberdarkxfire14-Nov-12 17:39 
GeneralRe: Software Engineer (C++) needed in Singapore!! PinmemberArun S J18-Nov-12 18:27 
QuestionError MSB6006: "CL.exe" Pinmemberjohn563213-Nov-12 22:41 
QuestionRe: Error MSB6006: "CL.exe" PinmemberDavidCrow14-Nov-12 3:23 
QuestionUDP ports 500 and 4500 are busy? Pinmemberv_iv13-Nov-12 18:46 
AnswerRe: UDP ports 500 and 4500 are busy? PinmvpRichard MacCutchan13-Nov-12 22:34 
QuestionI am Bemused about std::list<> Pingroupyu-jian13-Nov-12 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140926.1 | Last Updated 1 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid