Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: puzzled about this: STL vector Pin
nss12-Feb-03 11:00
nss12-Feb-03 11:00 
GeneralProblem with sub menus Pin
Anonymous12-Feb-03 9:09
Anonymous12-Feb-03 9:09 
GeneralRe: Problem with sub menus Pin
KaЯl13-Feb-03 2:34
KaЯl13-Feb-03 2:34 
GeneralRe: Problem with sub menus Pin
Anonymous13-Feb-03 3:10
Anonymous13-Feb-03 3:10 
GeneralRe: Problem with sub menus Pin
KaЯl13-Feb-03 3:31
KaЯl13-Feb-03 3:31 
GeneralRe: Problem with sub menus Pin
Scorp1us13-Feb-03 9:18
Scorp1us13-Feb-03 9:18 
GeneralRe: Problem with sub menus Pin
KaЯl13-Feb-03 10:15
KaЯl13-Feb-03 10:15 
GeneralRe: Problem with sub menus Pin
tim63520-Mar-05 21:56
tim63520-Mar-05 21:56 
hi,
i get this same error.
And i have done
ON_UPDATE_COMMAND_UI(ID_MYMENUCOMMAND, OnUpdateMyMenu)<br />
(and)<br />
void CMainFrame::OnUpdateMyMenu(CCmdUI* pCmdUI)<br />
{<br />
pCmdUI->Enable(FALSE); // disable the menu item<br />
}<br />
for one of my submenu's (with handler for the commands of all menuitems) which gets executed.

However, i still get this error.

ps: when doing e.g. GetMenuItemCount() it works; but after doing myMenu.Detach(); it doesn't work anymore (like in the assert error on GetMenuItemCount as stated by Anonymous)
GeneralRe: Problem with sub menus Pin
KaЯl20-Mar-05 23:11
KaЯl20-Mar-05 23:11 
GeneralRe: Problem with sub menus Pin
tim63521-Mar-05 2:59
tim63521-Mar-05 2:59 
GeneralShareable objects... Pin
BlackSmith12-Feb-03 9:05
BlackSmith12-Feb-03 9:05 
GeneralRe: Shareable objects... Pin
palbano12-Feb-03 9:26
palbano12-Feb-03 9:26 
GeneralRe: Shareable objects... Pin
BlackSmith12-Feb-03 9:48
BlackSmith12-Feb-03 9:48 
GeneralRe: Shareable objects... Pin
palbano12-Feb-03 11:58
palbano12-Feb-03 11:58 
GeneralRe: Shareable objects... Pin
Chris Richardson12-Feb-03 11:58
Chris Richardson12-Feb-03 11:58 
QuestionCan I add a menu to a dialog based application? Pin
work_to_live12-Feb-03 8:48
work_to_live12-Feb-03 8:48 
AnswerRe: Can I add a menu to a dialog based application? Pin
Chris Losinger12-Feb-03 8:52
professionalChris Losinger12-Feb-03 8:52 
GeneralRe: Can I add a menu to a dialog based application? Pin
work_to_live12-Feb-03 9:05
work_to_live12-Feb-03 9:05 
GeneralCImage & Transparency Pin
loading12-Feb-03 8:01
loading12-Feb-03 8:01 
QuestionReliable way to convert float to a double? Pin
Member 9612-Feb-03 7:40
Member 9612-Feb-03 7:40 
AnswerRe: Reliable way to convert float to a double? Pin
Chris Losinger12-Feb-03 7:51
professionalChris Losinger12-Feb-03 7:51 
GeneralRe: Reliable way to convert float to a double? Pin
Member 9612-Feb-03 8:10
Member 9612-Feb-03 8:10 
GeneralRe: Reliable way to convert float to a double? Pin
Chris Losinger12-Feb-03 8:20
professionalChris Losinger12-Feb-03 8:20 
GeneralRe: Reliable way to convert float to a double? Pin
Member 9612-Feb-03 8:30
Member 9612-Feb-03 8:30 
GeneralRe: Reliable way to convert float to a double? Pin
Alvaro Mendez12-Feb-03 9:01
Alvaro Mendez12-Feb-03 9:01 

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.