To disable a Button , which is already using ON_UPDATE_COMMAND_UI [modified]
-
How to disable a button , which is already using ON_UPDATE_COMMAND_UI ?I mean other than handling inside the function,As for example one condition check should disable a set of seven buttons ,Instead of doing it individually, can we use any other way .
modified on Thursday, July 17, 2008 7:04 AM
-
How to disable a button , which is already using ON_UPDATE_COMMAND_UI ?I mean other than handling inside the function,As for example one condition check should disable a set of seven buttons ,Instead of doing it individually, can we use any other way .
modified on Thursday, July 17, 2008 7:04 AM
kDevloper wrote:
How to disable a button , which is already using ON_UPDATE_COMMAND_UI ?
Use
CCmdUI::Enable()
."Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
kDevloper wrote:
How to disable a button , which is already using ON_UPDATE_COMMAND_UI ?
Use
CCmdUI::Enable()
."Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
I'm not really sure what you are asking? Since I don't know what your post looked like before you modified it, I don't know what you changed. :confused: Are you wanting to know how to disable more than one button via a single function call?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne