# Insert After Flags

    Const HWND_BOTTOM = 1
    Const HWND_NOTOPMOST = -2
    Const HWND_TOP = 0
    Const HWND_TOPMOST = -1

The insert after flags are used to determine the window's position in the Z-order. These flags specify what position to put the window in. They cannot be combined.

HWND_BOTTOM
  Put the window at the button of the Z-order.
HWND_NOTOPMOST
  Put the window below all topmost windows and above all nontopmost windows.
HWND_TOP
  Put the window at the top of the Z-order.
HWND_TOPMOST
  Make the window topmost (above all other windows) permanently.

Used by: SetWindowPos
Back to the index.