Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menus Do Not Appear when _VFP.Visible=.F.
Message
De
14/11/2001 07:35:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Menus Do Not Appear when _VFP.Visible=.F.
Divers
Thread ID:
00581403
Message ID:
00581403
Vues:
37
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform