Windows API Guide: GetTempFileName Function


Type HELPWININFO   wStructSize As Long   x As Long   y As Long   dx As Long   dy As Long   wMax As Long   rgchMember As String * 2 End Type

Description & Usage

The HELPWININFO structure holds information about the size and position of a primary or secondary Windows Help window. This information is used to reposition such a window. "Normal" screen coordinates are not used by this structure! Instead, the screen is divided into 1024 units both horizontally and vertically (regardless of the actual resolution). This coordinate system is used by the data members which specify coordinates.

Visual Basic-Specific Issues

None.

Data Members

wStructSize
The size in bytes of the structure.
x
The x-coordinate of the upper-left corner of the window.
y
The y-coordinate of the upper-left corner of the window.
dx
The width of the window.
dy
The height of the window.
wMax
Exactly one of the following flags specifying how to show the window:
SW_HIDE
Hide the window and make a different window the active window.
SW_MINIMIZE
Minimize the window and activate the top window in the z-order.
SW_RESTORE
Same as SW_SHOWNORMAL.
SW_SHOW
Activate the window and display it in its current size and position.
SW_SHOWMAXIMIZED
Activate and maximize the window.
SW_SHOWMINIMIZED
Activate and minimize the window.
SW_SHOWMINNOACTIVE
Minimize the window, leaving whichever window was previously the active window active.
SW_SHOWNA
Display the window in its current size and position, leaving whichever window was previously the active window active.
SW_SHOWNOACTIVATE
Display the window in its most recent size and position, leaving whichever window was previously the active window active.
SW_SHOWNORMAL
Activate and display the window, restoring it to its original size and position.
rgchMember
The name of the window to set the size and position of.

Constant Definitions

Const SW_HIDE = 0 Const SW_MINIMIZE = 6 Const SW_RESTORE = 9 Const SW_SHOW = 5 Const SW_SHOWMAXIMIZED = 3 Const SW_SHOWMINIMIZED = 2 Const SW_SHOWMINNOACTIVE = 7 Const SW_SHOWNA = 8 Const SW_SHOWNOACTIVATE = 4 Const SW_SHOWNORMAL = 1

Used By

WinHelp

Go back to the alphabetical Structure listing.
Go back to the Reference section index.


Last Modified: August 13, 1999
This page is copyright © 1999 Paul Kuliniewicz. Copyright Information Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/h/helpwininfo.html



Windows API Guide
Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
ISBN: B001V0KQIY
EAN: N/A
Year: 1998
Pages: 610

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net