Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form losing focus on start
Message
De
05/09/2001 06:47:30
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00552392
Message ID:
00552400
Vues:
14
Got the right message this time.

Thanks
Kev
>Hi!
>
>Try to use SetForegroundWindow() API function. To get HWND of the window (Windows API window handle), use FindWindow() API function. FindWindow() require to use window caption, if you afraid that window caption cold be in another window too, set caption to something unique(based on sys(3) function, for example), use FindWindow(), then set correct window caption back. Check also API section here at UT.
>
>HTH.
>
>>Hi
>>
>>I have a form that loses focus when loaded, it is run AS TOP LEVEL and is ALWAYSONTOP, but when I load it with SCREEN = OFF it loses the focus.
>>
>>Any ideas?
>>
>>Thanks
>>Kev
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform