RE: Win32lib menus
- Posted by Derek Parnell <Derek.Parnell at SYD.RABOBANK.COM> Jun 17, 2002
- 449 views
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C2164B.8E89D0B0 charset=iso-8859-1 Wolf, it has been suggested by a few GUI specialists that the "command" type of Menu is poor programming practice. It is in effect a button on the menu bar. The paradigm of a menu is that users can browse their options before selecting. Placing a 'button' that looks like a menu can be confusing for beginners and experienced users alike. Their normal expectation is that by clicking on the 'button' that a list of menu items will dropdown. But by changing this paradigm so that clicking will cause a program action instead, could lead to an inconsistent user interface. The three common solutions to this UI affordance is to either ... a) Add some visual clue as to the menu's true nature, such as a "!" in its text. b) Add a single menuitem to it that actually performs the programmed action when selected. c) Don't use a command menu at all, but use a button. Either on the window's background surface or in a toolbar. In fact I think this is the very reason that toolbars became into use. ------------- Derek. > -----Original Message----- > From: Wolf [mailto:wolfritz at KING.IGS.NET] > Sent: Tuesday, 18 June 2002 3:38 > To: EUforum > Subject: Win32lib menus > > > > 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 >) > > Wolf > > > > ================================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. ================================================================== The information contained in this message may be confidential and is intended to be exclusively for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. ================================================================== ------_=_NextPart_000_01C2164B.8E89D0B0 Content-Type: application/ms-tnef