Board index » cppbuilder » menu enabling

menu enabling


2004-09-03 03:48:23 AM
cppbuilder42
Hi,
Does someone know how OWL determines which menu items are to be
enabled/disabled for a window with the focus? Is that code somewhere in
windows.cpp? I'm
having trouble finding it.
Thanks,
John
 
 

Re:menu enabling

John Jennings wrote:
Quote
Hi,
Does someone know how OWL determines which menu items are to be
enabled/disabled for a window with the focus? Is that code somewhere in
windows.cpp? I'm
having trouble finding it.
Thanks,
John


Hello,
I think you should have EV_COMMAND and EV_COMMAND_ENABLE handlers
for the menu items in either the application, main frame,
or active child window, to control the enabling and disabling.
Jogy