Subj : Re: menu enabling To : borland.public.cpp.borlandcpp From : Jogy Date : Fri Sep 03 2004 11:36 am John Jennings wrote: > 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 .