Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control z-order on VFP com form in MDI window.
Message
De
19/06/2007 00:55:19
 
 
À
18/06/2007 15:06:52
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01234077
Message ID:
01234163
Vues:
11
>I have a VFP Form that I am displaying inside of a Winform MDI Parent.
>Any ideas on how I would go about adjusting it's z-order comapared to
>the other children of the MDI Parent? Right now it is always on top.

BTW... Even tho this returns true it does not seem to do it:
bool b = Win32.SetWindowPos((int)winform.Handle,
           VFPForm.HWnd,
           0, 0, 0, 0,
           Win32.SWP_NOMOVE | Win32.SWP_NOSIZE |
           Win32.SWP_SHOWWINDOW);
...

public static extern bool SetWindowPos(
   int hWnd,               // window handle
   int hWndInsertAfter,    // placement-order handle
   int X,                  // horizontal position
   int Y,                  // vertical position
   int cx,                 // width
   int cy,                 // height
   uint uFlags);           // window positioning flags
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform