Click here to Skip to main content
15,902,635 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
Your CMenu object is local, so it will delete its HMENU object in its destructor when it goes out of scope, this could mean that your window has an invalid HMENU selected.

CMenu menu;
menu.LoadMenu(IDR_MAINFRAME);
ASSERT(menu);
SetMenu(&menu);
menu.Detach(); // stop menu being destroyed in destructor



Roger Allen
Sonork 100.10016

Death come early, death come late,
It takes us all, there is no reason.
For every purpose under heaven,
To each a turn, to each a season.
A time to weep and a time to sigh,
A time to laugh and a time to cry,
A time to be born and a time to die.
Dust to dust and ashes to ashes,
And so I end my song.

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 
GeneralAnonymous Pin
Anonymous10-Nov-03 5:04
Anonymous10-Nov-03 5:04 
GeneralRe: Anonymous Pin
Roger Allen10-Nov-03 5:07
Roger Allen10-Nov-03 5:07 
GeneralRe: Anonymous Pin
jmkhael10-Nov-03 5:10
jmkhael10-Nov-03 5:10 
GeneralSimple database problem please help me Pin
Scozturk10-Nov-03 4:28
professionalScozturk10-Nov-03 4:28 
GeneralRe: Simple database problem please help me Pin
David Crow10-Nov-03 4:42
David Crow10-Nov-03 4:42 
GeneralRe: Simple database problem please help me Pin
Scozturk11-Nov-03 2:18
professionalScozturk11-Nov-03 2:18 
GeneralRe: Simple database problem please help me Pin
antlers10-Nov-03 6:41
antlers10-Nov-03 6:41 
GeneralRe: Simple database problem please help me Pin
Scozturk11-Nov-03 2:21
professionalScozturk11-Nov-03 2:21 
Generalfunction Pin
Anonymous10-Nov-03 2:27
Anonymous10-Nov-03 2:27 
GeneralRe: function Pin
Alvaro Mendez10-Nov-03 4:23
Alvaro Mendez10-Nov-03 4:23 
GeneralRegEnumKeyEx problem Pin
Anonymous10-Nov-03 2:23
Anonymous10-Nov-03 2:23 
GeneralRe: RegEnumKeyEx problem Pin
Brian Shifrin10-Nov-03 4:12
Brian Shifrin10-Nov-03 4:12 

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.