Re: Win32lib menus
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Jun 17, 2002
- 414 views
Matt, Yes, you can trap a click on a MenuItem, but that's not what Wolf was asking about. He (& as it turns out, me too), wants to be able to click on a *top level* menu display, and have a programmable action occur; he's not talking, I think, about clicking on an *menu item* that's *under* a top level menu display. If you have a top level menu display "File", and an item under it, "Open", you can trap a click on the MenuItem "Open", but not on the top level Menu "File". I don't know what Wolf's wants to do, but I have some alternative selection option windows (windows with a series of selection options in them) that I would want to open by clicking on a top level Menu, instead of having it open a regular menu items selection display. So does anyone have a way to allow for that?? Dan Moyer ----- Original Message ----- From: "Matthew Lewis" <matthewwalkerlewis at YAHOO.COM> To: "EUforum" <EUforum at topica.com> Sent: Monday, June 17, 2002 11:05 AM Subject: RE: Win32lib menus > > > > -----Original Message----- > > From: Wolf [mailto:wolfritz at KING.IGS.NET] > > > Has anyone ever figured out if / how ... a 'command' menu > > type can be added to win32lib code. > > This is an item in the top menu bar that will trigger an > > event if clicked. There is no associated 'popup', ( or dropdown > >) > > I thought you could simply trap the onClick event for the MenuItem (really a > WM_COMMAND message:). > > Matt Lewis > > > >