Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Sql server Database BackUp Pin
Richard MacCutchan15-Nov-12 23:55
mveRichard MacCutchan15-Nov-12 23:55 
AnswerRe: Sql server Database BackUp Pin
André Kraak16-Nov-12 0:48
André Kraak16-Nov-12 0:48 
QuestionNeed help compiling Pin
xLeonx15-Nov-12 8:51
xLeonx15-Nov-12 8:51 
AnswerRe: Need help compiling Pin
jeron115-Nov-12 9:51
jeron115-Nov-12 9:51 
QuestionRe: Need help compiling Pin
David Crow15-Nov-12 10:34
David Crow15-Nov-12 10:34 
QuestionRe: Need help compiling Pin
CPallini15-Nov-12 23:09
mveCPallini15-Nov-12 23:09 
AnswerRe: Need help compiling Pin
xLeonx18-Nov-12 9:35
xLeonx18-Nov-12 9:35 
AnswerRe: Need help compiling Pin
Stephen Hewitt16-Nov-12 22:36
Stephen Hewitt16-Nov-12 22:36 
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 

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.