DisplayPopupMenu

Just starting out? Need help? Post your questions and find answers here.
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

DisplayPopupMenu

Post by User_Russian »

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.
User avatar
TI-994A
Addict
Addict
Posts: 2512
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: DisplayPopupMenu

Post by TI-994A »

User_Russian wrote:How to prevent DisplayPopupMenu function from activating a window whose identifier is specified in the second parameter of the function?
That's probably the purpose of the second parameter; to associate the popup menu with the window to be activated.

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 :D
Post Reply