How to prevent DisplayPopupMenu function from activating a window whose identifier is specified in the second parameter of the function?
The popup menu is called from the tray icon and window activation is not needed.
DisplayPopupMenu
-
- Addict
- Posts: 1443
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: DisplayPopupMenu
That's probably the purpose of the second parameter; to associate the popup menu with the window to be activated.User_Russian wrote:How to prevent DisplayPopupMenu function from activating a window whose identifier is specified in the second parameter of the function?
Alternatively, create an off-screen, invisible window and associate the popup menu with that window instead.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel