Click here to Skip to main content
15,916,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help compiling Pin
xLeonx18-Nov-12 9:31
xLeonx18-Nov-12 9:31 
GeneralRe: Need help compiling Pin
xLeonx18-Nov-12 9:33
xLeonx18-Nov-12 9:33 
AnswerRe: Need help compiling Pin
Arun S J18-Nov-12 18:15
Arun S J18-Nov-12 18:15 
GeneralRe: Need help compiling Pin
xLeonx23-Nov-12 8:20
xLeonx23-Nov-12 8:20 
GeneralRe: Need help compiling Pin
Arun S J25-Nov-12 17:37
Arun S J25-Nov-12 17:37 
QuestionVisual Studio 2003 on Windows 8! Pin
Hadi Dayvary15-Nov-12 4:23
professionalHadi Dayvary15-Nov-12 4:23 
Question[RESOLVED] Message Box will not show on top of window Pin
Brandon-X1200015-Nov-12 1:14
Brandon-X1200015-Nov-12 1:14 
AnswerRe: Message Box will not show on top of window Pin
Richard MacCutchan15-Nov-12 3:16
mveRichard 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 Pin
Brandon-X1200015-Nov-12 8:13
Brandon-X1200015-Nov-12 8:13 
GeneralRe: Message Box will not show on top of window Pin
Richard MacCutchan15-Nov-12 23:42
mveRichard MacCutchan15-Nov-12 23:42 
GeneralRe: Message Box will not show on top of window Pin
Brandon-X1200017-Nov-12 4:30
Brandon-X1200017-Nov-12 4:30 
AnswerRe: [RESOLVED] Message Box will not show on top of window Pin
Arun S J18-Nov-12 20:16
Arun S J18-Nov-12 20:16 
QuestionUsing make file Pin
HungryCPPDev15-Nov-12 0:55
HungryCPPDev15-Nov-12 0:55 
AnswerRe: Using make file Pin
Jochen Arndt15-Nov-12 2:20
professionalJochen Arndt15-Nov-12 2:20 
Questionhow to create an Un-sorted map in c++ Pin
narmada Padhy14-Nov-12 18:04
narmada Padhy14-Nov-12 18:04 
AnswerRe: how to create an Un-sorted map in c++ Pin
Richard MacCutchan14-Nov-12 21:01
mveRichard MacCutchan14-Nov-12 21:01 
AnswerRe: how to create an Un-sorted map in c++ Pin
Stephen Hewitt14-Nov-12 22:57
Stephen Hewitt14-Nov-12 22:57 
AnswerRe: how to create an Un-sorted map in c++ Pin
Arun S J18-Nov-12 18:20
Arun S J18-Nov-12 18:20 
NewsSoftware Engineer (C++) needed in Singapore!! Pin
WebMaster14-Nov-12 17:39
WebMaster14-Nov-12 17:39 
GeneralRe: Software Engineer (C++) needed in Singapore!! Pin
Arun S J18-Nov-12 18:27
Arun S J18-Nov-12 18:27 
QuestionError MSB6006: "CL.exe" Pin
john563213-Nov-12 22:41
john563213-Nov-12 22:41 
QuestionRe: Error MSB6006: "CL.exe" Pin
David Crow14-Nov-12 3:23
David Crow14-Nov-12 3:23 
QuestionUDP ports 500 and 4500 are busy? Pin
v_iv13-Nov-12 18:46
v_iv13-Nov-12 18:46 
AnswerRe: UDP ports 500 and 4500 are busy? Pin
Richard MacCutchan13-Nov-12 22:34
mveRichard MacCutchan13-Nov-12 22:34 
QuestionMessage Removed Pin
13-Nov-12 5:47
joe vim13-Nov-12 5:47 

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.