|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
The following constants can be used anywhere in your code in place of the actual values:
Window is hidden and focus is passed to the hidden window.
Window has focus and is restored to its original size and position.
Window is displayed as an icon with focus.
Window is maximized with focus.
Window is restored to its most recent size and position. The currently active window remains active.
Window is displayed as an icon. The currently active window remains active.
On the Macintosh, vbNormalFocus, vbMinimizedFocus, and vbMaximizedFocus all place the application in the foreground; vbHide, vbNoFocus, vbMinimizedFocus all place the application in the background.