Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMouse down on disabled button Pin
marko20107-Mar-10 6:58
marko20107-Mar-10 6:58 
Answer[Wrong Answer]Re: Mouse down on disabled button [modified] Pin
Avi Berger7-Mar-10 12:42
Avi Berger7-Mar-10 12:42 
GeneralRe: Mouse down on disabled button Pin
LunaticFringe7-Mar-10 22:24
LunaticFringe7-Mar-10 22:24 
GeneralRe: Mouse down on disabled button Pin
Avi Berger8-Mar-10 4:57
Avi Berger8-Mar-10 4:57 
QuestionMessage Removed Pin
7-Mar-10 6:13
MrMcIntyre7-Mar-10 6:13 
AnswerRe: Internet Connection Pin
Emilio Garavaglia7-Mar-10 6:23
Emilio Garavaglia7-Mar-10 6:23 
GeneralRe: Internet Connection Pin
MrMcIntyre7-Mar-10 6:40
MrMcIntyre7-Mar-10 6:40 
AnswerRe: Internet Connection [modified] PinPopular
Avi Berger7-Mar-10 7:59
Avi Berger7-Mar-10 7:59 
To start with:

You are missing a semicolon.

Your call to InterGetConnectedState is not quite right. Please carefully check the helpful link provided to you by emilio_grv. It has all the details you need for this.

Your if statement is an incomplete fragment.

Your if statement is illegally at file scope. It must be contained inside a function.

Since you know how to produce your message box, it should be easy to add that to your relocated and completed if statement.

Might I suggest that a C++ primer might be a good investment for you? Smile | :)

(Edited to fix a glaring grammatical error.)
Please do not read this signature.
modified on Monday, March 8, 2010 11:06 AM

GeneralRe: Internet Connection Pin
Richard MacCutchan7-Mar-10 9:52
mveRichard MacCutchan7-Mar-10 9:52 
GeneralRe: Internet Connection Pin
Luc Pattyn7-Mar-10 10:23
sitebuilderLuc Pattyn7-Mar-10 10:23 
JokeRe: Internet Connection Pin
Richard MacCutchan7-Mar-10 10:35
mveRichard MacCutchan7-Mar-10 10:35 
GeneralRe: Internet Connection Pin
Luc Pattyn7-Mar-10 11:13
sitebuilderLuc Pattyn7-Mar-10 11:13 
GeneralRe: Internet Connection Pin
Avi Berger7-Mar-10 12:01
Avi Berger7-Mar-10 12:01 
GeneralRe: Internet Connection Pin
Tim Craig7-Mar-10 13:23
Tim Craig7-Mar-10 13:23 
GeneralRe: Internet Connection Pin
CPallini8-Mar-10 0:59
mveCPallini8-Mar-10 0:59 
AnswerRe: Internet Connection Pin
Emilio Garavaglia7-Mar-10 9:55
Emilio Garavaglia7-Mar-10 9:55 
QuestionHow to organize MFC project directory structure - main and DLL programs? Pin
Vaclav_7-Mar-10 5:10
Vaclav_7-Mar-10 5:10 
AnswerRe: How to organize MFC project directory structure - main and DLL programs? Pin
Richard MacCutchan7-Mar-10 5:22
mveRichard MacCutchan7-Mar-10 5:22 
GeneralRe: How to organize MFC project directory structure - main and DLL programs? Pin
Vaclav_7-Mar-10 5:46
Vaclav_7-Mar-10 5:46 
AnswerRe: How to organize MFC project directory structure - main and DLL programs? Pin
Vaclav_7-Mar-10 7:15
Vaclav_7-Mar-10 7:15 
AnswerRe: How to organize MFC project directory structure - main and DLL programs? Pin
Avi Berger7-Mar-10 8:34
Avi Berger7-Mar-10 8:34 
GeneralRe: How to organize MFC project directory structure - main and DLL programs? Pin
Vaclav_7-Mar-10 9:05
Vaclav_7-Mar-10 9:05 
AnswerRe: How to organize MFC project directory structure - main and DLL programs? Pin
Joe Woodbury7-Mar-10 9:50
professionalJoe Woodbury7-Mar-10 9:50 
GeneralRe: How to organize MFC project directory structure - main and DLL programs? Pin
Vaclav_7-Mar-10 12:08
Vaclav_7-Mar-10 12:08 
Questionabout *p++ [modified] Pin
HOW WHAT7-Mar-10 0:22
HOW WHAT7-Mar-10 0:22 

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.