Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menus Do Not Appear when _VFP.Visible=.F.
Message
From
14/11/2001 07:46:24
 
 
To
14/11/2001 07:35:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00581403
Message ID:
00581406
Views:
21
Tim

I think I've tried something similar, is this a shortcut menu, because if so, I'm not sure if you can have shortcut menus running from the SysTray, because Fox is the Menu source, and you want the menu from the Taskbar.

But, that's only an asumption.

Kev

>Hi,
>
>I have an application that runs invisible (with _VFP.visible=.f.
>and SCREEN=OFF in config.fpw)
>
>The program uses systray.ocx to show an icon on the task tray.
>When I click on the task tray I want a menu.
>
>SO I call the following code from the click event on the systray
>control:
>
>
>*** ActiveX Control Event ***
>LPARAMETERS button
>SET STEP ON
>IF button=2
>
>	DEFINE POPUP Smenu STYLE 'N'
>	DEFINE BAR 1 OF SMenu PROMPT "Quit"
>	ON SELECTION BAR 1 OF SMenu MESSAGEBOX("OK")
>	ACTIVATE POPUP SMenu
>	
>ENDIF
>
>
>
>So the question is: How can I get only the menu to appear when the application
>is running completely invisible?
>
>
>thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform