Table of contents
TOC
Collapse the table of content
Expand the table of content

Shell Constants

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

The following constants can be used anywhere in your code in place of the actual values:

ConstantValueDescription
vbHide0Window is hidden and focus is passed to the hidden window.
vbNormalFocus1Window has focus and is restored to its original size and position.
vbMinimizedFocus2Window is displayed as an icon with focus.
vbMaximizedFocus3Window is maximized with focus.
vbNormalNoFocus4Window is restored to its most recent size and position. The currently active window remains active.
vbMinimizedNoFocus6Window 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.

© 2018 Microsoft