Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>Hi all,
>>
>>I've tried to design a form to come out as Top-Level Form (ShowWindow property/SDI). When I run my program, everything is OK except the window is not focus. If I have Explorer on, the window will be behind Explorer. Please help.
>>
>>Thanks,
>>Farouk Yew Abdullah
>
>Try setting the .AlwaysOnTop property of the form to .T.
i've had this same problem and i got around it using the FindWindow api call to get a handle to the window
and then using the BringWindowToTop api call. seems to work pretty good.
Précédent
Suivant
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