Discussion:
Where to put code to sync controls in toolbars and the document
(too old to reply)
Maximus
2005-12-27 21:43:50 UTC
Permalink
Hi all,

I am developing a MDI application. The application has a lot of special
controls in the various tool bars. These controls have to be synchronized
with the document - when docuemnt loads, changes, or removes, these control
has to change as well. I wonder what is the best place to put the sync code
in?
AliR
2005-12-28 16:00:55 UTC
Permalink
You can do that by using ON_UPDATE_COMMAND_UI for each toolbar control you
want to change in the document class.

AliR.
Post by Maximus
Hi all,
I am developing a MDI application. The application has a lot of special
controls in the various tool bars. These controls have to be synchronized
with the document - when docuemnt loads, changes, or removes, these control
has to change as well. I wonder what is the best place to put the sync code
in?
Loading...