Click here to Skip to main content
12,446,146 members (25,506 online)

C / C++ / MFC

 
QuestionNeed help compiling Pin
xLeonx15-Nov-12 8:51
memberxLeonx15-Nov-12 8:51 
AnswerRe: Need help compiling Pin
jeron115-Nov-12 9:51
memberjeron115-Nov-12 9:51 
QuestionRe: Need help compiling Pin
DavidCrow15-Nov-12 10:34
memberDavidCrow15-Nov-12 10:34 
QuestionRe: Need help compiling Pin
CPallini15-Nov-12 23:09
mvpCPallini15-Nov-12 23:09 
AnswerRe: Need help compiling Pin
xLeonx18-Nov-12 9:35
memberxLeonx18-Nov-12 9:35 
AnswerRe: Need help compiling Pin
Stephen Hewitt16-Nov-12 22:36
memberStephen Hewitt16-Nov-12 22:36 
GeneralRe: Need help compiling Pin
xLeonx18-Nov-12 9:31
memberxLeonx18-Nov-12 9:31 
GeneralRe: Need help compiling Pin
xLeonx18-Nov-12 9:33
memberxLeonx18-Nov-12 9:33 
AnswerRe: Need help compiling Pin
Arun S J18-Nov-12 18:15
memberArun S J18-Nov-12 18:15 
GeneralRe: Need help compiling Pin
xLeonx23-Nov-12 8:20
memberxLeonx23-Nov-12 8:20 
GeneralRe: Need help compiling Pin
Arun S J25-Nov-12 17:37
memberArun S J25-Nov-12 17:37 
QuestionVisual Studio 2003 on Windows 8! Pin
Hadi Dayvary15-Nov-12 4:23
memberHadi Dayvary15-Nov-12 4:23 
Question[RESOLVED] Message Box will not show on top of window Pin
Brandon T. H.15-Nov-12 1:14
memberBrandon T. H.15-Nov-12 1:14 
AnswerRe: Message Box will not show on top of window Pin
Richard MacCutchan15-Nov-12 3:16
mvpRichard 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 T. H.15-Nov-12 8:13
memberBrandon T. H.15-Nov-12 8:13 
GeneralRe: Message Box will not show on top of window Pin
Richard MacCutchan15-Nov-12 23:42
mvpRichard MacCutchan15-Nov-12 23:42 
GeneralRe: Message Box will not show on top of window Pin
Brandon T. H.17-Nov-12 4:30
memberBrandon T. H.17-Nov-12 4:30 
AnswerRe: [RESOLVED] Message Box will not show on top of window Pin
Arun S J18-Nov-12 20:16
memberArun S J18-Nov-12 20:16 
QuestionUsing make file Pin
HungryCPPDev15-Nov-12 0:55
memberHungryCPPDev15-Nov-12 0:55 
AnswerRe: Using make file Pin
Jochen Arndt15-Nov-12 2:20
memberJochen Arndt15-Nov-12 2:20 
Questionhow to create an Un-sorted map in c++ Pin
narmada Padhy14-Nov-12 18:04
membernarmada Padhy14-Nov-12 18:04 
AnswerRe: how to create an Un-sorted map in c++ Pin
Richard MacCutchan14-Nov-12 21:01
mvpRichard MacCutchan14-Nov-12 21:01 
AnswerRe: how to create an Un-sorted map in c++ Pin
Stephen Hewitt14-Nov-12 22:57
memberStephen Hewitt14-Nov-12 22:57 
AnswerRe: how to create an Un-sorted map in c++ Pin
Arun S J18-Nov-12 18:20
memberArun S J18-Nov-12 18:20 
NewsSoftware Engineer (C++) needed in Singapore!! Pin
darkxfire14-Nov-12 17:39
memberdarkxfire14-Nov-12 17:39 
GeneralRe: Software Engineer (C++) needed in Singapore!! Pin
Arun S J18-Nov-12 18:27
memberArun S J18-Nov-12 18:27 
QuestionError MSB6006: "CL.exe" Pin
john563213-Nov-12 22:41
memberjohn563213-Nov-12 22:41 
QuestionRe: Error MSB6006: "CL.exe" Pin
DavidCrow14-Nov-12 3:23
memberDavidCrow14-Nov-12 3:23 
QuestionUDP ports 500 and 4500 are busy? Pin
v_iv13-Nov-12 18:46
memberv_iv13-Nov-12 18:46 
AnswerRe: UDP ports 500 and 4500 are busy? Pin
Richard MacCutchan13-Nov-12 22:34
mvpRichard MacCutchan13-Nov-12 22:34 
QuestionI am Bemused about std::list<> Pin
yu-jian13-Nov-12 4:17
groupyu-jian13-Nov-12 4:17 
AnswerRe: I am Bemused about std::list<> Pin
Richard MacCutchan13-Nov-12 5:37
mvpRichard MacCutchan13-Nov-12 5:37 
GeneralRe: I am Bemused about std::list<> Pin
Stephen Hewitt13-Nov-12 6:03
memberStephen Hewitt13-Nov-12 6:03 
GeneralRe: I am Bemused about std::list<> Pin
yu-jian13-Nov-12 6:25
groupyu-jian13-Nov-12 6:25 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan13-Nov-12 6:38
mvpRichard MacCutchan13-Nov-12 6:38 
GeneralRe: I am Bemused about std::list<> Pin
Stephen Hewitt13-Nov-12 15:04
memberStephen Hewitt13-Nov-12 15:04 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan13-Nov-12 20:59
mvpRichard MacCutchan13-Nov-12 20:59 
GeneralRe: I am Bemused about std::list<> Pin
Stephen Hewitt13-Nov-12 23:54
memberStephen Hewitt13-Nov-12 23:54 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan13-Nov-12 23:58
mvpRichard MacCutchan13-Nov-12 23:58 
GeneralRe: I am Bemused about std::list<> Pin
Stephen Hewitt14-Nov-12 0:58
memberStephen Hewitt14-Nov-12 0:58 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan14-Nov-12 1:30
mvpRichard MacCutchan14-Nov-12 1:30 
GeneralRe: I am Bemused about std::list<> Pin
Stephen Hewitt14-Nov-12 2:06
memberStephen Hewitt14-Nov-12 2:06 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan14-Nov-12 2:26
mvpRichard MacCutchan14-Nov-12 2:26 
GeneralRe: I am Bemused about std::list<> Pin
Stephen Hewitt14-Nov-12 2:30
memberStephen Hewitt14-Nov-12 2:30 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan14-Nov-12 3:36
mvpRichard MacCutchan14-Nov-12 3:36 
GeneralRe: I am Bemused about std::list<> Pin
DavidCrow14-Nov-12 3:16
memberDavidCrow14-Nov-12 3:16 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan14-Nov-12 3:32
mvpRichard MacCutchan14-Nov-12 3:32 
GeneralRe: I am Bemused about std::list<> Pin
yu-jian13-Nov-12 6:25
groupyu-jian13-Nov-12 6:25 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan13-Nov-12 6:43
mvpRichard MacCutchan13-Nov-12 6:43 
QuestionRe: I am Bemused about std::list<> Pin
DavidCrow13-Nov-12 8:05
memberDavidCrow13-Nov-12 8:05 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160811.3 | Last Updated 23 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid