Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bring to front from DLL
Message
De
14/09/1999 06:20:27
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Bring to front from DLL
Divers
Thread ID:
00264356
Message ID:
00264356
Vues:
56
I've written a replacement for VB's MsgBox, but when called by a DLL it hides behind other windows. I've tried a number of things that should have worked (e.g., SetWindowPos), but nothing seems to. What does work is specifying the foreground window as the parent form when I display my form (i.e., Me.Show vbModal, ParentForm), but I don't always know the parent. With GetForegroundWindow I can get the parent's hWnd, but this doesn't get me the object reference I would need for the Show method.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform