Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HELP!!! can not read memory... threads Pin
Tim Smith14-Apr-03 13:47
Tim Smith14-Apr-03 13:47 
GeneralRe: HELP!!! can not read memory... threads Pin
(Steven Hicks)n+115-Apr-03 10:17
(Steven Hicks)n+115-Apr-03 10:17 
GeneralRe: HELP!!! can not read memory... threads Pin
valikac14-Apr-03 14:45
valikac14-Apr-03 14:45 
GeneralRe: HELP!!! can not read memory... threads Pin
(Steven Hicks)n+115-Apr-03 10:20
(Steven Hicks)n+115-Apr-03 10:20 
GeneralCheck Menu Pin
Selevercin14-Apr-03 12:47
Selevercin14-Apr-03 12:47 
GeneralRe: Check Menu Pin
Miszou14-Apr-03 13:11
Miszou14-Apr-03 13:11 
GeneralRe: Check Menu Pin
Selevercin14-Apr-03 13:43
Selevercin14-Apr-03 13:43 
GeneralRe: Check Menu Pin
Miszou14-Apr-03 13:53
Miszou14-Apr-03 13:53 
Selevercin wrote:
CheckMenu isn't a member of CWnd

CMenu::CheckMenu is probably what I meant to say... Blush | :O Roll eyes | :rolleyes:

Are you sure your UpdateUI handler is actually being called? If you have a splitter window or something similar, it won't get called if the window is not focused.

You might also need to do something like this:

CMenu *pMenu = GetMenu();<br />
CMenu *pSubMenu = pMenu->GetSubMenu( ... );<br />
pSubMenu->CheckMenuItem( ... );


Look at the help for GetMenu, GetSubMenu and CheckMenuItem


There are 10 kinds of people - those that get binary and those that don't.
GeneralRe: Check Menu Pin
Selevercin15-Apr-03 13:23
Selevercin15-Apr-03 13:23 
GeneralMulti-dimensional Arrays Pin
ed114-Apr-03 11:47
ed114-Apr-03 11:47 
GeneralRe: Multi-dimensional Arrays Pin
Joe Woodbury14-Apr-03 11:57
professionalJoe Woodbury14-Apr-03 11:57 
GeneralRe: Multi-dimensional Arrays Pin
Dave Bryant14-Apr-03 12:01
Dave Bryant14-Apr-03 12:01 
GeneralRe: Multi-dimensional Arrays Pin
(Steven Hicks)n+114-Apr-03 12:52
(Steven Hicks)n+114-Apr-03 12:52 
GeneralImage recording Pin
alex.barylski14-Apr-03 11:04
alex.barylski14-Apr-03 11:04 
GeneralRe: Image recording Pin
Jack Handy14-Apr-03 11:26
Jack Handy14-Apr-03 11:26 
GeneralRe: Image recording Pin
alex.barylski14-Apr-03 11:49
alex.barylski14-Apr-03 11:49 
GeneralRe: Image recording Pin
J. Dunlap14-Apr-03 11:40
J. Dunlap14-Apr-03 11:40 
GeneralUsing a CAB file within VC Pin
OBRon14-Apr-03 11:02
OBRon14-Apr-03 11:02 
GeneralSony LCD monitor (french) Pin
jancsi14-Apr-03 10:57
jancsi14-Apr-03 10:57 
GeneralRe: Sony LCD monitor (french) Pin
Michael Dunn14-Apr-03 11:09
sitebuilderMichael Dunn14-Apr-03 11:09 
GeneralRe: Sony LCD monitor (french) Pin
jeremysay14-Apr-03 23:44
jeremysay14-Apr-03 23:44 
QuestionHow to delete a file in MFC Pin
Anonymous14-Apr-03 10:34
Anonymous14-Apr-03 10:34 
AnswerRe: How to delete a file in MFC Pin
Chris Losinger14-Apr-03 10:37
professionalChris Losinger14-Apr-03 10:37 
AnswerRe: How to delete a file in MFC Pin
Joe Woodbury14-Apr-03 10:37
professionalJoe Woodbury14-Apr-03 10:37 
GeneralRe: How to delete a file in MFC Pin
gmlnd14-Apr-03 10:41
gmlnd14-Apr-03 10:41 

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.