Is he trying to disable something other than menu items? He calls hes menu
items.
AliR.
You could do it when the user changes control focus, or you could put in a
button to check. Otherwise, if it's just sitting there and you get no
messages in to tell you otherwise, you'd have to set a time to poll or
have a background thread that sent you a message when it determined
something interesting has changed.
Tom
"jc" <jc@discussions.microsoft.com> wrote in message
news:7BD33EFF-11EE-490A-88DE-D2FD5D617279@microsoft.com...
Hello,
I have an SDI Formview application.
I have message handlers for ID_EDIT_CUT,...
I enable/disable the controls in my OnUpdateEditCut(),...
Besides, setting a timer, how can I periodically invoke
my method, that checks the status of the clipboard?
Checking the status of the clipboard determines which
controls should be enabled/disabled.
TIA,
-jc