External method - TileWindows
Posted: Fri Aug 07, 2009 2:57 pm
by Darrell Duniam >> Fri, 20 Jul 2007 1:48:51 GMT
Has anyone managed to get an external function to successfully call the TileWindows entry point of the user32 library please ? I can get it to tile windows on the Windows DeskTop, but I can't get it to tile windows within an MDI form. Here's the signature of my external function:
cnEcTileWindows(pHwnd:Integer; // If null, the desktop is assumed.
pHow:Integer; // Horizontal or vertical.
pRectangle:Integer; // Can be null.
pKids:Integer; // Can be null.
pKidsArray:Integer // Can be null.
):Integer is TileWindows in user32;
// Return value is the number of windows tiled - 0 means the call failed.
regards,
darrell.
Has anyone managed to get an external function to successfully call the TileWindows entry point of the user32 library please ? I can get it to tile windows on the Windows DeskTop, but I can't get it to tile windows within an MDI form. Here's the signature of my external function:
cnEcTileWindows(pHwnd:Integer; // If null, the desktop is assumed.
pHow:Integer; // Horizontal or vertical.
pRectangle:Integer; // Can be null.
pKids:Integer; // Can be null.
pKidsArray:Integer // Can be null.
):Integer is TileWindows in user32;
// Return value is the number of windows tiled - 0 means the call failed.
regards,
darrell.