DLLSetWindowZOrder()

DLLSetWindowZOrder()
  • SYNOPSIS:
    succ = DLLSetWindowZOrder(hWnd,afterHWnd)
  • DESCRIPTION:
    Sets only the Z-Order of the given window. This command is a simple wrapper for the DLLSetWindowPos() command, it has the same function, except that the window x, y, width and height are kept the same and only the Z-Order is modified.
  • PARAMETERS:
    hWnd A handle to the window you want to change the Z-Order of.
    afterHWnd

    A window handle to a window that you wish to insert your window after. Possible default positioning flags are:

    HWND_BOTTOM - Places the window at the bottom of the Z order. If the hWnd parameter identifies a topmost window, the window loses its topmost status and is placed at the bottom of all other windows.
    HWND_NOTOPMOST - Places the window above all non-topmost windows (that is, behind all topmost windows). This flag has no effect if the window is already a non-topmost window, else it removes the window from being topmost.
    HWND_TOP - Places the window at the top of the Z order.
    HWND_TOPMOST - Places the window above all non-topmost windows. The window maintains its topmost position even when it is deactivated.

  • RETURNS:
    True or False.
  • EXAMPLE:
    See example020.bb
  • BUGS:
    None Known.

Return To Index
Problems with this command or bugs? EMail me at: mailto:loki.sd@blueyonder.co.uk

Section Last Updated: Saturday, February 2, 2002 3:15 PM GMT

All materials used in this help, related sources and binaries are (C)opyright Rob Hutchinson, Joseph Cox and Tarropithium Software 2002. All rights reserved. All software is provided without warranty unless otherwise stated.
Tarropithium Software or the authors will not be held liable for any damage or data loss that may occur during the application of this software. Use it at your own risk!