Click here to Skip to main content
15,916,459 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
transoft18-Nov-09 3:47
transoft18-Nov-09 3:47 
GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
Nemanja Trifunovic18-Nov-09 5:32
Nemanja Trifunovic18-Nov-09 5:32 
GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
CPallini18-Nov-09 5:45
mveCPallini18-Nov-09 5:45 
Nemanja Trifunovic wrote:
Ah, the beauties of MFC

Big Grin | :-D (I would like to know Rajesh's thoughts about...)

Nemanja Trifunovic wrote:
Apparently[^], using a local object is the canonical way to set a menu, but CMenu::Detach()[^] nneds to be called before the temp object goes out of scope.

Of course, the canonical way depends on the documentation author of the moment... [^].
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
Rajesh R Subramanian19-Nov-09 4:45
professionalRajesh R Subramanian19-Nov-09 4:45 
QuestionRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
David Crow18-Nov-09 3:24
David Crow18-Nov-09 3:24 
AnswerRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
transoft18-Nov-09 3:44
transoft18-Nov-09 3:44 
GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
David Crow18-Nov-09 3:48
David Crow18-Nov-09 3:48 
GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
transoft18-Nov-09 4:47
transoft18-Nov-09 4:47 
QuestionRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
David Crow18-Nov-09 4:50
David Crow18-Nov-09 4:50 
AnswerRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
transoft18-Nov-09 4:59
transoft18-Nov-09 4:59 
AnswerRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
Richard MacCutchan18-Nov-09 3:26
mveRichard MacCutchan18-Nov-09 3:26 
GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
David Crow18-Nov-09 3:29
David Crow18-Nov-09 3:29 
GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
Richard MacCutchan18-Nov-09 3:42
mveRichard MacCutchan18-Nov-09 3:42 
JokeRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
CPallini18-Nov-09 5:47
mveCPallini18-Nov-09 5:47 
AnswerRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
Nemanja Trifunovic18-Nov-09 5:30
Nemanja Trifunovic18-Nov-09 5:30 
Questionhow to quickly find the questions or replies I posted in this forum? Pin
jianzhuhuai18-Nov-09 2:44
jianzhuhuai18-Nov-09 2:44 
AnswerRe: how to quickly find the questions or replies I posted in this forum? Pin
Richard MacCutchan18-Nov-09 2:51
mveRichard MacCutchan18-Nov-09 2:51 
QuestionMultiple string table using Resource DLL Pin
ParagPatel18-Nov-09 2:05
ParagPatel18-Nov-09 2:05 
AnswerRe: Multiple string table using Resource DLL Pin
Richard MacCutchan18-Nov-09 2:26
mveRichard MacCutchan18-Nov-09 2:26 
GeneralRe: Multiple string table using Resource DLL Pin
ParagPatel18-Nov-09 3:05
ParagPatel18-Nov-09 3:05 
GeneralRe: Multiple string table using Resource DLL Pin
Richard MacCutchan18-Nov-09 3:30
mveRichard MacCutchan18-Nov-09 3:30 
GeneralRe: Multiple string table using Resource DLL Pin
ParagPatel18-Nov-09 16:26
ParagPatel18-Nov-09 16:26 
GeneralRe: Multiple string table using Resource DLL Pin
Richard MacCutchan18-Nov-09 22:48
mveRichard MacCutchan18-Nov-09 22:48 
QuestionNot sending mail to outlook 2002+ Pin
Game-point18-Nov-09 0:40
Game-point18-Nov-09 0:40 
GeneralRe: Not sending mail to outlook 2002+ Pin
Richard MacCutchan18-Nov-09 0:56
mveRichard MacCutchan18-Nov-09 0:56 

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.