Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control z-order on VFP com form in MDI window.
Message
From
19/06/2007 00:55:19
 
 
To
18/06/2007 15:06:52
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01234077
Message ID:
01234163
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform