Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement