Re: Disable/Enable menu items



"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.


.