Re: Disable/Enable menu items
- From: "Frank Hickman" <fhickman3_NOSP@xxxxxxxxxxxxxxx>
- Date: Sat, 1 Mar 2008 20:51:29 -0500
"Ron H" <rnharsh@xxxxxxxxxx> wrote in message
news:47c9f48c$0$20345$8d2e0cab@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a MDI app and would like to disable some of the childframe menu
items based upon operator input. Can I do this from the view class?
--
Ron H
--
This outgoing email was scanned by
Norton Antivirus Corp. Edition
and found to be virus free!
-----------------
www.Newsgroup-Binaries.com - *Completion*Retention*Speed*
Access your favorite newsgroups from home or on the road
-----------------
Yes you can however generally this type of function is handled in the
CMDIChildWnd derived class. There are several approaches to implementing
this behavior. Generally, I create a class variable of type bool and handle
the ON_UPDATE_COMMAND_UI message for the control.
--
============
Frank Hickman
NobleSoft, Inc.
============
Replace the _nosp@m_ with @ to reply.
.
- Follow-Ups:
- Re: Disable/Enable menu items
- From: RainMan
- Re: Disable/Enable menu items
- References:
- Disable/Enable menu items
- From: Ron H
- Disable/Enable menu items
- Prev by Date: Re: messabebox(...) v afxmessanebox
- Next by Date: Re: Treads in the new 6 core CPU from Intel
- Previous by thread: Disable/Enable menu items
- Next by thread: Re: Disable/Enable menu items
- Index(es):