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:46:24
 
 
À
14/11/2001 07:35:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00581403
Message ID:
00581406
Vues:
22
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform