Click here to Skip to main content
15,911,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A pointer to a closed window Pin
Shay Harel10-Nov-03 9:43
Shay Harel10-Nov-03 9:43 
GeneralRe: A pointer to a closed window Pin
David Crow10-Nov-03 8:58
David Crow10-Nov-03 8:58 
GeneralRe: A pointer to a closed window Pin
Shay Harel10-Nov-03 9:04
Shay Harel10-Nov-03 9:04 
GeneralRe: A pointer to a closed window Pin
Antti Keskinen11-Nov-03 0:43
Antti Keskinen11-Nov-03 0:43 
GeneralRe: A pointer to a closed window Pin
Shay Harel11-Nov-03 3:21
Shay Harel11-Nov-03 3:21 
QuestionHow to use a region Pin
Eugene Pustovoyt10-Nov-03 7:29
Eugene Pustovoyt10-Nov-03 7:29 
AnswerRe: How to use a region Pin
JWood10-Nov-03 16:01
JWood10-Nov-03 16:01 
Generalusing messagebox.... Pin
Member 210374010-Nov-03 7:05
Member 210374010-Nov-03 7:05 
Hi Everyone,

I'm having problems using messagebox

There is a parameter defined with messagebox, called MB_SERVICE_NOTIFICATION.

I use this parameter in my code:

MessageBox(NULL, "some text", "error", MB_SETFOREGROUND + MB_SERVICE_NOTIFICATION);

But i'm getting a compiler error, MB_SERVICE_NOTIFICATION : Undeclared identifier.

I went on the msdn that describes using messagebox, and it says that i should define _WIN32_WINNT.

So i did, and my preprocessor definition looks like: #define _WIN32_WINNT = 0x0400

I'm still getting the undeclared identifier error message, can someone please help me??? i'm looking at this problem for several hours without any luck.

Thank you in advance

Rico

GeneralRe: using messagebox.... Pin
jmkhael10-Nov-03 7:14
jmkhael10-Nov-03 7:14 
GeneralRe: using messagebox.... Pin
ricolee0310-Nov-03 7:18
ricolee0310-Nov-03 7:18 
GeneralRe: using messagebox.... Pin
jmkhael10-Nov-03 7:23
jmkhael10-Nov-03 7:23 
GeneralRe: using messagebox.... Pin
ricolee0010-Nov-03 7:32
ricolee0010-Nov-03 7:32 
GeneralRe: using messagebox.... Pin
jmkhael10-Nov-03 7:34
jmkhael10-Nov-03 7:34 
GeneralRe: using messagebox.... Pin
ricolee0010-Nov-03 7:38
ricolee0010-Nov-03 7:38 
GeneralRe: using messagebox.... Pin
Shay Harel10-Nov-03 8:15
Shay Harel10-Nov-03 8:15 
GeneralRe: using messagebox.... Pin
David Crow10-Nov-03 9:06
David Crow10-Nov-03 9:06 
GeneralRe: using messagebox.... Pin
ricolee0010-Nov-03 10:01
ricolee0010-Nov-03 10:01 
Generalmissing menu on windows 98 Pin
Anonymous10-Nov-03 6:29
Anonymous10-Nov-03 6:29 
GeneralRe: missing menu on windows 98 Pin
David Crow10-Nov-03 6:59
David Crow10-Nov-03 6:59 
GeneralRe: missing menu on windows 98 Pin
Roger Allen11-Nov-03 0:47
Roger Allen11-Nov-03 0:47 
GeneralRe: missing menu on windows 98 Pin
Anonymous12-Nov-03 7:22
Anonymous12-Nov-03 7:22 
GeneralIExtractImage::GetLocation() brings up a "Thumbnail could not be created" message-box Pin
ohadp10-Nov-03 5:31
ohadp10-Nov-03 5:31 
QuestionHelp!!!---ATL COM Full Control can't cooperate with MFC? Pin
Dev-xiang10-Nov-03 5:30
Dev-xiang10-Nov-03 5:30 
Generalproperty page problem Pin
YaronNir10-Nov-03 5:17
YaronNir10-Nov-03 5:17 
GeneralRe: property page problem Pin
Antti Keskinen10-Nov-03 7:54
Antti Keskinen10-Nov-03 7:54 

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.