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:35:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Menus Do Not Appear when _VFP.Visible=.F.
Miscellaneous
Thread ID:
00581403
Message ID:
00581403
Views:
35
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
Next
Reply
Map
View

Click here to load this message in the networking platform