Click here to Skip to main content
15,889,315 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What am I doing wrong? Pin
FISH7864-Jul-09 4:58
FISH7864-Jul-09 4:58 
GeneralRe: What am I doing wrong? Pin
molesworth4-Jul-09 5:05
molesworth4-Jul-09 5:05 
GeneralRe: What am I doing wrong? Pin
FISH7864-Jul-09 5:06
FISH7864-Jul-09 5:06 
GeneralRe: What am I doing wrong? Pin
Stuart Dootson4-Jul-09 5:15
professionalStuart Dootson4-Jul-09 5:15 
GeneralRe: What am I doing wrong? Pin
FISH7864-Jul-09 5:16
FISH7864-Jul-09 5:16 
GeneralRe: What am I doing wrong? Pin
Stuart Dootson4-Jul-09 5:21
professionalStuart Dootson4-Jul-09 5:21 
GeneralRe: What am I doing wrong? Pin
FISH7864-Jul-09 12:33
FISH7864-Jul-09 12:33 
GeneralRe: What am I doing wrong? Pin
Stuart Dootson4-Jul-09 12:36
professionalStuart Dootson4-Jul-09 12:36 
FISH786 wrote:
if (nResponse == IDOK)
{
MessageBox();
}
else if (nResponse == IDCANCEL)
{
}
It's jumping this whole block.


I'm surprised that it doesn't execute the messagebox - VC++ will (even in Debug mode) optimise away a completely empty if...else... statement

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: What am I doing wrong? Pin
FISH7864-Jul-09 12:43
FISH7864-Jul-09 12:43 
GeneralRe: What am I doing wrong? Pin
Stuart Dootson4-Jul-09 12:53
professionalStuart Dootson4-Jul-09 12:53 
GeneralRe: What am I doing wrong? Pin
FISH7864-Jul-09 13:01
FISH7864-Jul-09 13:01 
GeneralRe: What am I doing wrong? Pin
Stuart Dootson4-Jul-09 13:06
professionalStuart Dootson4-Jul-09 13:06 
GeneralRe: What am I doing wrong? Pin
FISH7864-Jul-09 13:09
FISH7864-Jul-09 13:09 
GeneralRe: What am I doing wrong? Pin
Stuart Dootson4-Jul-09 13:10
professionalStuart Dootson4-Jul-09 13:10 
GeneralRe: What am I doing wrong? Pin
FISH7864-Jul-09 15:33
FISH7864-Jul-09 15:33 
GeneralRe: What am I doing wrong? Pin
Stuart Dootson4-Jul-09 22:40
professionalStuart Dootson4-Jul-09 22:40 
GeneralRe: What am I doing wrong? Pin
FISH7865-Jul-09 0:56
FISH7865-Jul-09 0:56 
GeneralRe: What am I doing wrong? Pin
Eytukan4-Jul-09 6:16
Eytukan4-Jul-09 6:16 
QuestionSmsSendMessage fails. Pin
Le@rner4-Jul-09 1:30
Le@rner4-Jul-09 1:30 
AnswerRe: SmsSendMessage fails. Pin
«_Superman_»4-Jul-09 2:14
professional«_Superman_»4-Jul-09 2:14 
GeneralRe: SmsSendMessage fails. Pin
Le@rner4-Jul-09 2:16
Le@rner4-Jul-09 2:16 
AnswerRe: SmsSendMessage fails. Pin
Hamid_RT4-Jul-09 3:00
Hamid_RT4-Jul-09 3:00 
GeneralRe: SmsSendMessage fails. Pin
Le@rner4-Jul-09 3:02
Le@rner4-Jul-09 3:02 
QuestionPower configuration settings on Win2K3 and Win2K using "powercfg.exe" Pin
sandy.pune4-Jul-09 1:29
sandy.pune4-Jul-09 1:29 
QuestionAny similar option to PROVIDER_SPECIFIC_MESSAGE_CLASS in CEMAPI. Pin
Le@rner4-Jul-09 1:28
Le@rner4-Jul-09 1:28 

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.