VBnet Constants Reference
Constants - G
G
GENERIC_ALL = &H10000000 SetErrorMode: Determine if a Floppy Drive is Ready
GENERIC_EXECUTE = &H20000000 SetErrorMode: Determine if a Floppy Drive is Ready
GENERIC_READ = &H80000000 CreateFile: Test if a File is Open by Another Application
DeviceIoControl: Determine Media Type for CD/DVD Drives
DeviceIoControl: Get a SMART Drive Serial Number
DeviceIoControl: Lock/Unlock Removable Media Devices
FtpFindFirstFile: Download Files via FTP with a Download Progress Callback
MapDebugInformation: Obtain Debugging Info for an Image
SetEndOfFile: Delete Records from the End of a Random Access File
SetErrorMode: Determine if a Floppy Drive is Ready
SetFileTime: Modify the Date/Time of Folders and Files
GENERIC_WRITE = &H40000000 DeviceIoControl: Determine Media Type for CD/DVD Drives
DeviceIoControl: Get a SMART Drive Serial Number
MapDebugInformation: Obtain Debugging Info for an Image
SetEndOfFile: Delete Records from the End of a Random Access File
SetErrorMode: Determine if a Floppy Drive is Ready
SetFileTime: Modify the Date/Time of Folders and Files
WriteFile: Broadcasting System Messages using Mailslots
GEO_FRIENDLYNAME = &H8 GetGeoInfo: Determine Geographic Country Info by GeoID
GetGeoInfo: Obtaining Country List by Enumerating GeoIDs
GEO_ISO2 = &H4 GetGeoInfo: Determine Geographic Country Info by GeoID
GEO_ISO3 = &H5 GetGeoInfo: Determine Geographic Country Info by GeoID
GEO_LATITUDE = &H2 GetGeoInfo: Determine Geographic Country Info by GeoID
GEO_LCID = &H7 GetGeoInfo: Determine Geographic Country Info by GeoID
GEO_LONGITUDE = &H3 GetGeoInfo: Determine Geographic Country Info by GeoID
GEO_NATION = &H1 GetGeoInfo: Determine Geographic Country Info by GeoID
GEO_OFFICIALLANGUAGES = &HB GetGeoInfo: Determine Geographic Country Info by GeoID
GEO_OFFICIALNAME = &H9 GetGeoInfo: Determine Geographic Country Info by GeoID
GEO_RFC1766 = &H6 GetGeoInfo: Determine Geographic Country Info by GeoID
GEO_TIMEZONES = &HA GetGeoInfo: Determine Geographic Country Info by GeoID
GEOCLASS_NATION = 16 GetGeoInfo: Determine Geographic Country Info by GeoID
GetGeoInfo: Obtaining Country List by Enumerating GeoIDs
GEOCLASS_REGION = 14 GetGeoInfo: Determine Geographic Country Info by GeoID
GEOID_NOT_AVAILABLE = -1 GetGeoInfo: Determine Geographic Country Info by GeoID
GMEM_FIXED = &H0 IPRenewAddress: Release and Renew a DHCP IP Address
GRADIENT_COLOR1 = &HFF0000 GradientFill: Gradient Form Backgrounds
GRADIENT_COLOR2 = &H0 GradientFill: Gradient Form Backgrounds
GRADIENT_FILL_RECT_H = &H0 GradientFill: Gradient Form Backgrounds
GRADIENT_FILL_RECT_V = &H1 GradientFill: Gradient Form Backgrounds
TransparentBlt: Simulating Microsoft's 'Windows Messenger' Notifications - Step 3: The Notification Form
GRADIENT_FILL_TRIANGLE = &H2 GradientFill: Gradient Form Backgrounds
GradientFill: Triangular Gradient Form Backgrounds
GUI_16BITTASK = &H20 GetGuiThreadInfo: Active Application GUI Information
GUI_CARETBLINKING = &H1 GetGuiThreadInfo: Active Application GUI Information
GUI_INMENUMODE = &H4 GetGuiThreadInfo: Active Application GUI Information
GUI_INMOVESIZE = &H2 GetGuiThreadInfo: Active Application GUI Information
GUI_POPUPMENUMODE = &H10 GetGuiThreadInfo: Active Application GUI Information
GUI_SYSTEMMENUMODE = &H8 GetGuiThreadInfo: Active Application GUI Information
GW_CHILD = 5 FindWindow: Window Title and Class Name Demo
GetWindow: Find Applications of a Specific Class or Window Title
GetWindowThreadProcessId: Obtain the hWnd of an App Started with Shell()
GW_HWNDFIRST = 0 GetWindow: Find Applications of a Specific Class or Window Title
GetWindowThreadProcessId: Obtain the hWnd of an App Started with Shell()
GW_HWNDLAST = 1 GetWindow: Find Applications of a Specific Class or Window Title
GW_HWNDNEXT = 2 FindWindow: Window Title and Class Name Demo
GetWindow: Find Applications of a Specific Class or Window Title
GetWindowThreadProcessId: Obtain the hWnd of an App Started with Shell()
GW_HWNDPREV = 3 GetWindow: Find Applications of a Specific Class or Window Title
GW_OWNER = 4 GetWindow: Find Applications of a Specific Class or Window Title
GWL_EXSTYLE = (-20) SetLayeredWindowAttributes: Fading a Form In/Out
SetWindowLong: Right-Align List Box Data and/or the Scrollbar
SetWindowLong: Right-Align List Contents in a Combo
Shell_NotifyIcon: Add Icon to Windows System Tray
Shell_NotifyIcon: Animate the System Tray Icon
Shell_NotifyIcon: Respond to Systray Balloon Tip Clicks
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction in a MDI App
Shell_NotifyIcon: Use SetTimer to Define Balloon Tip Life
GWL_HINSTANCE = (-6) SetWindowsHookEx: 'Self-Closing' Message Box using a VB Timer
SetWindowsHookEx: 'Self-Closing' Message Box using SetTimer
SetWindowsHookEx: Centre the API Message Box
SetWindowsHookEx: Customize the API Message Box
GWL_HWNDPARENT = (-8) SetWindowLong: Create a Floating Window
Shell_NotifyIcon: Add Icon to Windows System Tray
Shell_NotifyIcon: Animate the System Tray Icon
Shell_NotifyIcon: Respond to Systray Balloon Tip Clicks
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction in a MDI App
Shell_NotifyIcon: Use SetTimer to Define Balloon Tip Life
GWL_ID = (-12) Shell_NotifyIcon: Add Icon to Windows System Tray
Shell_NotifyIcon: Animate the System Tray Icon
Shell_NotifyIcon: Respond to Systray Balloon Tip Clicks
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction in a MDI App
Shell_NotifyIcon: Use SetTimer to Define Balloon Tip Life
GWL_STYLE = (-16) CreateWindowEx: Create the Common Control ProgressBar
SendMessage: Set ListView Flat Header Style
SendMessage: Toggling TreeView Check Box Visibility
SetWindowLong: Add TreeView Check Boxes via API
SetWindowLong: Apply TreeView Special Effects
SetWindowLong: Changing Button Caption Alignment (non-graphical only)
SetWindowLong: Special Text Box Styles and Messages
SetWindowLong: Turn a Text Box into a Resizable Control
Shell_NotifyIcon: Add Icon to Windows System Tray
Shell_NotifyIcon: Animate the System Tray Icon
Shell_NotifyIcon: Respond to Systray Balloon Tip Clicks
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction in a MDI App
Shell_NotifyIcon: Use SetTimer to Define Balloon Tip Life
WM_NOTIFY: Detect Sizing Notifications from a ListView ColumnHeader
WM_NOTIFY: Track Highlighted ListView Column Width Changes via Subclassing
GWL_USERDATA = (-21) Shell_NotifyIcon: Add Icon to Windows System Tray
Shell_NotifyIcon: Animate the System Tray Icon
Shell_NotifyIcon: Respond to Systray Balloon Tip Clicks
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction in a MDI App
Shell_NotifyIcon: Use SetTimer to Define Balloon Tip Life
GWL_WNDPROC = (-4) SHChangeNotifyRegister: Receive Shell Change Notifications
Shell_NotifyIcon: Add Icon to Windows System Tray
Shell_NotifyIcon: Animate the System Tray Icon
Shell_NotifyIcon: Respond to Systray Balloon Tip Clicks
Shell_NotifyIcon: Respond to Systray Icon/Menu Interaction in a MDI App
Shell_NotifyIcon: Use SetTimer to Define Balloon Tip Life
WM_ACTIVATEAPP: Detect Application Activation State
WM_CONTEXTMENU: Kill the Default Text Box Context Menu
WM_CTLCOLORSTATIC: Change the Backcolour of a Slider
WM_DRAWITEM: Set Command Button ForeColor
WM_GETMINMAXINFO: Restrict Form Resizing
WM_HOTKEY: System-Wide Keyboard Trapping
WM_LBUTTONDOWN: Using a Combo in a MSFlexGrid to Select Data
WM_NCHITTEST: Simulating a Non-Client Action to Move a Form
WM_NOTIFY: Detect Sizing Notifications from a ListView ColumnHeader
WM_NOTIFY: Track Highlighted ListView Column Width Changes via Subclassing
WM_PAINT: Subclassing to Create a Flat Combo Box
WM_SIZING: Maintain Form Aspect Ratio During Resizing
WM_SYSCOMMAND: Change and Respond to a Customized System Menu
WM_TIMECHANGE: Detect System Changes to the Date/Time
WM_VSCROLL: Subclassing Listview Scrollbar Messages
GWL_WNDPROC = -4 WM_CONTEXTMENU: Kill the Default Combo Box Context Menu
WM_LBUTTONDOWN: Substitute a ListView for a Combo's Dropdown List
WM_LBUTTONDOWN: Substitute a Tabbed List for a Combo's Dropdown List
GWW_ID = (-12) FindWindow: Window Title and Class Name Demo

 
 

PayPal Link
Make payments with PayPal - it's fast, free and secure!

 
 
 
 

Copyright ©1996-2011 VBnet and Randy Birch. All Rights Reserved.
Terms of Use  |  Your Privacy