.head 0 + Application Description: Windows' SDK Constants BM - ButtonMessage BN - Button Noffications BS - ButtonStyle CB - ComboBoxMessage CBN - Combo Box Notifications CBS - ComboBoxStyle EM - EditMessage EN -Edit Notifications ES - EditStyle FM - FileManager LB - ListBoxMessage LBN - ListBox Notifications LBS - ListBoxStyle MB - MessageButton (Typen) PS - PenStyle SB - ScrollBarMessage SBS - ScrollBarStyle SM - SystemMetrics SPI - SystemParametersInfo WM - WindowMessage WS - WindowStyle .head 1 - Outline Version - 4.0.31 .head 1 + Design-time Settings .data VIEWINFO 0000: 6F00000001000000 FFFF01000D004347 5458566965775374 6174650400010000 0020: 0000000000B30000 002C000000020000 0003000000FFFFFF FFFFFFFFFFFCFFFF 0040: FFE9FFFFFF160000 0016000000420300 005E020000010000 0001000000010000 0060: 000F4170706C6963 6174696F6E497465 6D00000000 .enddata .head 2 - Outline Window State: Normal .head 2 + Outline Window Location and Size .data VIEWINFO 0000: 6600010000001B00 0200000000000000 00005E18690C0500 1D00FFFF4D61696E 0020: 00 .enddata .data VIEWSIZE 0000: 2100 .enddata .head 3 - Left: 1.025" .head 3 - Top: 0.771" .head 3 - Width: 7.988" .head 3 - Height: 5.063" .head 2 + Options Box Location .head 3 - Visible? Yes .head 3 - Left: 8.15" .head 3 - Top: 2.198" .head 3 - Width: 3.713" .head 3 - Height: 4.26" .head 2 + Class Editor Location .head 3 - Visible? No .head 3 - Left: Default .head 3 - Top: Default .head 3 - Width: Default .head 3 - Height: Default .head 2 + Tool Palette Location .head 3 - Visible? No .head 3 - Left: 10.6" .head 3 - Top: 0.667" .head 2 - Fully Qualified External References? No .head 2 - Reject Multiple Window Instances? No .head 2 - Enable Runtime Checks Of External References? No .head 2 - Use Release 4.0 Scope Rules? Yes .head 2 + ! Outline Browser Location .head 3 - Visible? No .head 3 - Left: Default .head 3 - Top: Default .head 3 - Width: Default .head 3 - Height: Default .head 1 - Libraries .head 1 + Global Declarations .head 2 + Window Defaults .head 3 + Tool Bar .head 4 - Display Style? Standard .head 4 - Font Name: System Default .head 4 - Font Size: System Default .head 4 - Font Enhancement: System Default .head 4 - Text Color: System Default .head 4 - Background Color: System Default .head 3 + Form Window .head 4 - Display Style? Standard .head 4 - Font Name: System Default .head 4 - Font Size: System Default .head 4 - Font Enhancement: System Default .head 4 - Text Color: System Default .head 4 - Background Color: System Default .head 3 + Dialog Box .head 4 - Display Style? Standard .head 4 - Font Name: System Default .head 4 - Font Size: System Default .head 4 - Font Enhancement: System Default .head 4 - Text Color: System Default .head 4 - Background Color: System Default .head 3 + Top Level Table Window .head 4 - Font Name: System Default .head 4 - Font Size: System Default .head 4 - Font Enhancement: System Default .head 4 - Text Color: System Default .head 4 - Background Color: System Default .head 3 + Data Field .head 4 - Font Name: Use Parent .head 4 - Font Size: Use Parent .head 4 - Font Enhancement: Use Parent .head 4 - Text Color: Use Parent .head 4 - Background Color: Use Parent .head 3 + Multiline Field .head 4 - Font Name: Use Parent .head 4 - Font Size: Use Parent .head 4 - Font Enhancement: Use Parent .head 4 - Text Color: Use Parent .head 4 - Background Color: Use Parent .head 3 + Spin Field .head 4 - Font Name: Use Parent .head 4 - Font Size: Use Parent .head 4 - Font Enhancement: Use Parent .head 4 - Text Color: Use Parent .head 4 - Background Color: Use Parent .head 3 + Background Text .head 4 - Font Name: Use Parent .head 4 - Font Size: Use Parent .head 4 - Font Enhancement: Use Parent .head 4 - Text Color: Use Parent .head 4 - Background Color: Use Parent .head 3 + Pushbutton .head 4 - Font Name: Use Parent .head 4 - Font Size: Use Parent .head 4 - Font Enhancement: Use Parent .head 3 + Radio Button .head 4 - Font Name: Use Parent .head 4 - Font Size: Use Parent .head 4 - Font Enhancement: Use Parent .head 4 - Text Color: Use Parent .head 4 - Background Color: Use Parent .head 3 + Check Box .head 4 - Font Name: Use Parent .head 4 - Font Size: Use Parent .head 4 - Font Enhancement: Use Parent .head 4 - Text Color: Use Parent .head 4 - Background Color: Use Parent .head 3 + Option Button .head 4 - Font Name: Use Parent .head 4 - Font Size: Use Parent .head 4 - Font Enhancement: Use Parent .head 3 + Group Box .head 4 - Font Name: Use Parent .head 4 - Font Size: Use Parent .head 4 - Font Enhancement: Use Parent .head 4 - Text Color: Use Parent .head 4 - Background Color: Use Parent .head 3 + Child Table Window .head 4 - Font Name: Use Parent .head 4 - Font Size: Use Parent .head 4 - Font Enhancement: Use Parent .head 4 - Text Color: Use Parent .head 4 - Background Color: Use Parent .head 3 + List Box .head 4 - Font Name: Use Parent .head 4 - Font Size: Use Parent .head 4 - Font Enhancement: Use Parent .head 4 - Text Color: Use Parent .head 4 - Background Color: Use Parent .head 3 + Combo Box .head 4 - Font Name: Use Parent .head 4 - Font Size: Use Parent .head 4 - Font Enhancement: Use Parent .head 4 - Text Color: Use Parent .head 4 - Background Color: Use Parent .head 3 + Line .head 4 - Line Color: Use Parent .head 3 + Frame .head 4 - Border Color: Use Parent .head 4 - Background Color: Use Parent .head 3 + Picture .head 4 - Border Color: Use Parent .head 4 - Background Color: Use Parent .head 2 + Formats .head 3 - Number: 0% .head 3 - Number: #0 .head 3 - Number: # .head 3 - Number: '$'# .head 3 - Date/Time: hh:mm:ss AMPM .head 3 - Date/Time: M/d/yy .head 3 - Date/Time: MM-dd-yy .head 3 - Date/Time: dd-MMM-yyyy .head 3 - Date/Time: MMM d, yyyy .head 3 - Date/Time: MMM d, yyyy hh:mm AMPM .head 3 - Date/Time: MMMM d, yyyy hh:mm AMPM .head 2 - External Functions .head 2 + Constants .data CCDATA 0000: 3000000000000000 0000000000000000 00000000 .enddata .data CCSIZE 0000: 1400 .enddata .head 3 + System .head 4 - ! ! .head 4 - ! Windows' messages .head 4 - Number: WM_NULL = 0x0000 .head 4 + Number: WM_CREATE = 0x0001 .head 5 - ! Description: Sent to a window as soon as it is created Return -1 to destroy the window lParam: A pointer to a CREATESTRUCT data structure .head 4 + Number: WM_DESTROY = 0x0002 .head 5 - ! Description: Sent to a window before it is destroyed but after it has been hidden .head 4 + Number: WM_MOVE = 0x0003 .head 5 - ! Description: Sent to a window when it has benn moved lParam: Low word: The X co-ordinate ot the top-left corner of the window High word: The Y co-ordinate ot the top-left corner of the window These values are in window client co-ordinates for child windows, and screen co-ordinates for popup and top-level windows .head 4 + Number: WM_SIZE = 0x0005 .head 5 - ! Description: Sent to a window when its size has been changed wParam: SIZE_MAXIMIZED/SIZE_MINIMIZED/SIZE_RESTORED/SIZE_MAXHIDE/SIZE_MAXSHOW lParam: Low word: The new width of the window in window client coordinates for child windows, or screen coordinates for popup and top level windows High word: The new height of the window in window client coordinates for child windows, or screen coordinates for popup and top level windows .head 4 + Number: WM_ACTIVATE = 0x0006 .head 5 - ! Description: Sent to a window when it is activated or deactivated wParam: Low word is WA_INACTIVE/WA_ACTIVE/WA_CLICKACTIVE lParam: Handle of the window or may be zero .head 4 + Number: WM_SETFOCUS = 0x0007 .head 5 - ! Description: Sent to a window after it receives input focus wParam: The handle of the window losing the focus.May be zero lParam: Not used .head 4 + Number: WM_KILLFOCUS = 0x0008 .head 5 - ! Description: Sent to a window before it loses the input focus wParam: The handle of the window gaining focus. May be zero lParam: Unused .head 4 + Number: WM_ENABLE = 0x000A .head 5 - ! Description: Sent to a window when it becomes enabled/disabled ( after the WS_DISABLED style bit for a window has been set ) wParam: TRUE (nonzero) if the window is enabled .head 4 + Number: WM_SETREDRAW = 0x000B .head 5 - ! Description: Controls the redraw operation of a control wParam: TRUE( nonzero ) to turn redraw on, zero to turn it off lParam: Not used Call InvalidateRect to update the display .head 4 + Number: WM_SETTEXT = 0x000C .head 5 - ! Description: Sent to a window to set the window text ( as per SetWindowText ) lParam: The string to set into the control. .head 4 + Number: WM_GETTEXT = 0x000D .head 5 - ! Description: Sent to a window to retrieve the window text wParam: The size of the buffer lParam: An address of the buffer to load with the window text .head 4 + Number: WM_GETTEXTLENGTH = 0x000E .head 5 - ! Description: Sent to a window to retrieve the length of the window text. wParam: Not used lParam: Not used .head 4 + Number: WM_PAINT = 0x000F .head 5 - ! Description: Sent to a window when it is time for the window to update its client area Use GetUpdateRect to determine which portion of the window needs to be drawn .head 4 + Number: WM_CLOSE = 0x0010 .head 5 - ! Description: Indicates a request has been made to close a window or application .head 4 - Number: WM_QUIT = 0x0012 .head 4 + Number: WM_QUERYOPEN = 0x0013 .head 5 - ! Description: Sent to a minimised window when the user has requested that the window be restored to its previous position and size .head 4 + Number: WM_ERASEBKGND = 0x0014 .head 5 - ! Description: Sent to a window to inform it that it should erase its background wParam: A device context for the window lParam: Not used .head 4 + Number: WM_SYSCOLORCHANGE = 0x0015 .head 5 - ! Description: Sent to applications to inform them that a system color has changed. .head 4 + Number: WM_ENDSESSION = 0x0016 .head 5 - ! Description: Sent to the main window of an application before a Windows session ends wParam: TRUE (nonzero ) if the session is ending lParam: TRUE if logging off FALSE if shutting down the system .head 4 + Number: WM_SHOWWINDOW = 0x0018 .head 5 - ! Description: Sent to a window when it is hidden/displayed wParam: TRUE( nonzero ) if the window is being shown, zero if it is being hidden lParam: SW_OTHERRUNZOOM/SW_OTHERZOOM/SW_PARENTCLOSING/SW_PARENTOPENING .head 4 + Number: WM_CTLCOLOR = 0x0019 .head 5 - ! Description: Sent by a standard windows control to its parent window before the control is drawn Return a handle to a brush to use for background fill or zero to use default brush wParam: A device context for the control lParam: Low word: The control window handle High word: The type of control ( see CTLCOLOR_... contstants ) .head 4 + Number: WM_SETTINGCHANGE = 0x001A .head 5 - ! Description: Sent to all top level windows when a systemwide change is made using SystemParametersInfo wParam: The systemwide paarameter that has changed lParam: Address of a buffer of the string containing WindowsMetrics, if wParam is SPI_SETANIMATION/SPI_SETNONCLIENTMETRICS/SPI_SETICONMETRICS/SPI_SETMINIMIZEDMETRICS .head 4 + Number: WM_WININICHANGE = 0x001A .head 5 - ! Description: Sent to all top level windows when a change is made to WIN.INI Platform: Superceded by WM_SETTINGCHANGE in Windows 95/ NT 4.0 .head 4 + Number: WM_DEVMODECHANGE = 0x001B .head 5 - ! Description: Sent to all top level windows when the default configuration of a device has been changed lParam: A string address with the name of the device which has been reconfigured .head 4 + Number: WM_ACTIVATEAPP = 0x001C .head 5 - ! Description: Sent to the active window of an application being activated or deactivated wParam: TRUE ( nonzero ) if appication is being activated lParam: A thread identifier .head 4 + Number: WM_FONTCHANGE = 0x001D .head 5 - ! Description: Sent to all top level windows when the available fonts change wParam: Not used lParam: Not used .head 4 + Number: WM_TIMECHANGE = 0x001E .head 5 - ! Description: Sent to all top windows in the system when the system time has been changed .head 4 + Number: WM_CANCELMODE = 0x001F .head 5 - ! Description: Informs a window that a dialog box/message box is about to be displayed Don't use .head 4 + Number: WM_SETCURSOR = 0x0020 .head 5 - ! Description: Sent to a window when the mouse is over the window and no other window has the mouse captured wParam: The handle of the window that contains the cursor lParam: Low word: A hit test code ( see returns in WM_NCHITTEST ) .head 4 + Number: WM_MOUSEACTIVATE = 0x0021 .head 5 - ! Description: Sent to an inactive window when the user clicks a mouse button over the window wParam: A handle to the top level window for the application being activated lParam: Low word: A hit test code ( see WM_NCHITTEST ) High word: The value of the mouse message that caused this message Return: MA_ACTIVATE/MA_NOACTIVATE/MA_ACTIVATEANDEAT/MA_NOACTIVATEANDEAT .head 4 + Number: WM_CHILDACTIVATE = 0x0022 .head 5 - ! Description: Sent to the MDI controls when they are activated .head 4 + Number: WM_GETMINMAXINFO = 0x0024 .head 5 - ! Description: Sent to a window when Windows needs to determine the minimum and maximum sizes for windows wParam: Not used lParam: A pointer to a MINMAXINFO data structure .head 4 + Number: WM_ICONERASEBKGND = 0x0027 .head 5 - ! Description: Sent to a minimised window before drawing the icon for the window wParam: The device context for where the icon will be drawn lParam: Not used .head 4 - Number: WM_NEXTDLGCTL = 0x0028 .head 4 + Number: WM_SPOOLERSTATUS = 0x002A .head 5 - ! Description: Sent to applications to inform them that a print job has been added or removed to the print queue wParam: The PR_JOBSTATUS flag lParam: Low word: The number of jobs remaining in the queue .head 4 + Number: WM_DRAWITEM = 0x002B .head 5 - ! Description: Sent to owner draw control to indicate all/part of it should be redrawn .head 4 + Number: WM_MEASUREITEM = 0x002C .head 5 - ! Description: Used to determine the dimensions of owner draw controls .head 4 + Number: WM_DELETEITEM = 0x002D .head 5 - ! Description: Used to delete items form owner draw listboxes/combo boxes .head 4 + Number: WM_CHARTOITEM = 0x002F .head 5 - ! Description: Listbox with the LBS_WANTKEYBOARDINPUT style sends this to the parent in response to a WM_CHAR message. wParam: Low word: The virtual key number of the character High word: The current caret position lParam: The window handle of the listbox .head 4 + Number: WM_SETFONT = 0x0030 .head 5 - ! Description: Sets a logical font as the font to be used in a control. wParam: A handle to the logical font to use in his control. Zero to use default system font lParam: Low word: TRUE( nonzero ) to redraw the control when a font is changed .head 4 + Number: WM_GETFONT = 0x0031 .head 5 - ! Description: Retrieves the handle to the logical font used by a control .head 4 - Number: WM_SETHOTKEY = 0x0032 .head 4 - Number: WM_GETHOTKEY = 0x0033 .head 4 + Number: WM_QUERYDRAGICON = 0x0037 .head 5 - ! Description: Sent to windows that do not have a class icon defined in order to display an icon .head 4 + Number: WM_COMPAREITEM = 0x0039 .head 5 - ! Description: Sent by Windows to request the application perform a comparison on two entries in a owner draw listbox/combo box .head 4 + Number: WM_COMPACTING = 0x0041 .head 5 - ! Description: Sent to all top level windows when Windows is short on memory wParam: Hexidecimal number detailing the percentage of time spent compacting memory .head 4 + Number: WM_WINDOWPOSCHANGING = 0x0046 .head 5 - ! Description: Sent to a window whose size or position is about to be changed after a call to the SetWindowPos function lParam: The address of a WINDOWPOS structure .head 4 + Number: WM_POWER = 0x0048 .head 5 - ! Description: Sent to all top level windows that the system is entering or leaving a power conservation state. wParam: PWR_SUSPENDREQUEST/PWR_FAIL/PWR_SUSPENDRESUME/PWR_CRITICALRESUME/PWR_SUSPENDREQUEST Platform: Windows NT Superceded by WM_POWERBROADCASE in Win 95/NT 4.0 .head 4 + Number: WM_WINDOWPOSCHANGED = 0x0047 .head 5 - ! Description: Sent to a window whose size or position is changed after a call to the SetWindowPos function lParam: The address of a WINDOWPOS structure .head 4 + Number: WM_COPYDATA = 0x004A .head 5 - ! Description: Sent when an application passes data to another application by reference wParam: Window handle of window passing the data lParam: Pointer to a COPYDATASTRUCT containing the data .head 4 + Number: WM_CANCELJOURNAL = 0x004B .head 5 - ! Description: Posted to an application when a user cancels the application's journaling Don't use .head 4 + Number: WM_NOTIFY = 0x004E .head 5 - ! Description: Sent by a child control to the parent when an event has occured in the control or when the control requires some kind of information wParam: ID of the control sending the message lParam: Address of a buffer with a NMHDR structure Platform: Windows NT .head 4 - Number: WM_HELP = 0x0053 .head 4 - Number: WM_CONTEXTMENU = 0x007b .head 4 - Number: WM_STYLECHANGING = 0x007c .head 4 - Number: WM_STYLECHANGED = 0x007d .head 4 - Number: WM_DISPLAYCHANGE = 0x007e .head 4 + Number: WM_GETICON = 0x007f .head 5 - ! Description: Sent this message to a window to retrieve the handle of the big or small icon associated with a window. wParam Specifies the type of icon being retrieved. The following table shows the possible values. This parameter can be one of these values. Value Description ICON_BIG Retrieves the large icon for the window. ICON_SMALL Retrieves the small icon for the window. .head 4 + Number: WM_SETICON = 0x0080 .head 5 - ! Description: Sent this message to a window to associate a new big or small icon. wParam Specifies the type of icon being set. The following table shows the possible values. This parameter can be one of these values. Value Description ICON_BIG Sets the large icon for the window. ICON_SMALL Sets the small icon for the window. lParam Handle to the new large or small icon. If this parameter is NULL, the icon indicated by fType is removed. .head 4 + Number: WM_NCCREATE = 0x0081 .head 5 - ! Description: First message sent to a window and the only time a change of style for a window is guaranteed to work properly wParam: Not used lParam: The address of the CREATESTRUCT structure for this window .head 4 + Number: WM_NCDESTROY = 0x0082 .head 5 - ! Description: Sent to a window after WM_DESTROY. Notifies a window that its non-client area is being destroyed wParam: Not used lParam: Low word: The horizontal position of the cursor in screen co-ordinates High word: The vertical position of the cursor in screen co-ordinates .head 4 + Number: WM_NCCALCSIZE = 0x0083 .head 5 - ! Description: Sent to a window when the size and position of a windows client area must be calculated wParam: TRUE to specify that the application should indicate which part of the client area contains valid information FALSE to specify that the application should not indicate which part of the client area contains valid information lParam: If wParam is TRUE points to NCCALCSIZE_PARAMS structure. If wParam is FALSE points to a RECT structure containing the coordinates of the window that was moved/resized .head 4 + Number: WM_NCHITTEST = 0x0084 .head 5 - ! Description: Used to determine what part of the nonclient area of a window contains the mouse cursor wParam: Not used lParam: Low word: The horizontal position of the cursor in screen co-ordinates High word: The vertical position of the cursor in screen co-ordinates Return HT_... .head 4 + Number: WM_NCPAINT = 0x0085 .head 5 - ! Description: Sent to a window when the windows frame has to be painted wParam: Handle containing the update region of the window lParam: Not used .head 4 + Number: WM_NCACTIVATE = 0x0086 .head 5 - ! Description: Sent to a window when its caption or icon needs to be changed to indicate active/non-active state wParam: Nonzero to indicate an active state, Zero to indicate active state lParam: Not used .head 4 - Number: WM_GETDLGCODE = 0x0087 .head 4 + Number: WM_NCMOUSEMOVE = 0x00A0 .head 5 - ! Description: Posted to a window when the mouse moves over the nonclient area of the window. Not posted if a window has captured the mouse. wParam: Hit test value ( HT... ) lParam: Low word: The X co-ordinate of the cursor in window client co-ordinates High word: The Y co-ordinate of the cursor in window client co-ordinates .head 4 + Number: WM_NCLBUTTONDOWN = 0x00A1 .head 5 - ! Description: Posted to a window when the left mouse button is pressed in the nonclient area of the window. Not posted if a window has captured the mouse. wParam: Hit test value ( HT... ) lParam: Low word: The X co-ordinate of the cursor in window client co-ordinates High word: The Y co-ordinate of the cursor in window client co-ordinates .head 4 + Number: WM_NCLBUTTONUP = 0x00A2 .head 5 - ! Description: Posted to a window when the left mouse button is released in the nonclient area of the window. Not posted if a window has captured the mouse. wParam: Hit test value ( HT... ) lParam: Low word: The X co-ordinate of the cursor in window client co-ordinates High word: The Y co-ordinate of the cursor in window client co-ordinates .head 4 + Number: WM_NCLBUTTONDBLCLK = 0x00A3 .head 5 - ! Description: Posted to a window when the left mouse button is double-clicked in the nonclient area of the window. Window of class with style CS_DBLCLKS. Not posted if a window has captured the mouse. wParam: Hit test value ( HT... ) lParam: Low word: The X co-ordinate of the cursor in window client co-ordinates High word: The Y co-ordinate of the cursor in window client co-ordinates .head 4 + Number: WM_NCRBUTTONDOWN = 0x00A4 .head 5 - ! Description: Posted to a window when the right mouse button is pressed in the nonclient area of the window. Not posted if a window has captured the mouse. wParam: Hit test value ( HT... ) lParam: Low word: The X co-ordinate of the cursor in window client co-ordinates High word: The Y co-ordinate of the cursor in window client co-ordinates .head 4 + Number: WM_NCRBUTTONUP = 0x00A5 .head 5 - ! Description: Posted to a window when the right mouse button is released in the nonclient area of the window. Not posted if a window has captured the mouse. wParam: Hit test value ( HT... ) lParam: Low word: The X co-ordinate of the cursor in window client co-ordinates High word: The Y co-ordinate of the cursor in window client co-ordinates .head 4 + Number: WM_NCRBUTTONDBLCLK = 0x00A6 .head 5 - ! Description: Posted to a window when the right mouse button is double-clicked in the nonclient area of the window. Window of class with style CS_DBLCLKS. Not posted if a window has captured the mouse. wParam: Hit test value ( HT... ) lParam: Low word: The X co-ordinate of the cursor in window client co-ordinates High word: The Y co-ordinate of the cursor in window client co-ordinates .head 4 + Number: WM_NCMBUTTONDOWN = 0x00A7 .head 5 - ! Description: Posted to a window when the middle mouse button is pressed in the nonclient area of the window. Not posted if a window has captured the mouse. wParam: Hit test value ( HT... ) lParam: Low word: The X co-ordinate of the cursor in window client co-ordinates High word: The Y co-ordinate of the cursor in window client co-ordinates .head 4 + Number: WM_NCMBUTTONUP = 0x00A8 .head 5 - ! Description: Posted to a window when the middle mouse button is released in the nonclient area of the window. Not posted if a window has captured the mouse. wParam: Hit test value ( HT... ) lParam: Low word: The X co-ordinate of the cursor in window client co-ordinates High word: The Y co-ordinate of the cursor in window client co-ordinates .head 4 + Number: WM_NCMBUTTONDBLCLK = 0x00A9 .head 5 - ! Description: Posted to a window when the middle mouse button is double-clicked in the nonclient area of the window. Window of class with style CS_DBLCLKS. Not posted if a window has captured the mouse. wParam: Hit test value ( HT... ) lParam: Low word: The X co-ordinate of the cursor in window client co-ordinates High word: The Y co-ordinate of the cursor in window client co-ordinates .head 4 + Number: WM_KEYDOWN = 0x0100 .head 5 - ! Description: Posted to a window when a key is pressed that is not a system character. Occurs when a window has input focus and ALT is not pressed wParam: The virtual key number of the character lParam: As WM_CHAR but bits 29 and 31 are always zero .head 4 + Number: WM_KEYUP = 0x0101 .head 5 - ! Description: Posted to a window when a key is released that is not a system character. Occurs when a window has input focus and ALT is not pressed wParam: The virtual key number of the character lParam: As WM_CHAR but bits 29 and 31 are always one .head 4 + Number: WM_CHAR = 0x0102 .head 5 - ! Description: Sent to a window when a character is received wParam: The virtual key number of the character lParam: Bits 0-15: Number of repetitions of the character received ( during auto-repeat ) Bits 16-23: The device scan code of the key pressed Bit 24: 1 if it is an extended key such as a function key or numeric keypad entry Bit 29: 1 if the Alt key was held down when the key was pressed Bit 30: 1 if the key was down before the message was added to the queue ( likely to be because of auto-repeat) Bit 31: 0 if the key is being pressed 1 if the key is being released .head 4 + Number: WM_DEADCHAR = 0x0103 .head 5 - ! Description: Similar to WM_CHAR. Indicates character being combined with another e.g accent mark .head 4 + Number: WM_SYSKEYDOWN = 0x0104 .head 5 - ! Description: Sent to a window when a key is pressed that is a system character. Only occurs when no window has input focus or if the Alt key is pressed wParam: The virtual key number of the character lParam: As WM_CHAR except but 31 always zero If bit 29 is zero, no window has the focus and this message is being received by the active window .head 4 + Number: WM_SYSKEYUP = 0x0105 .head 5 - ! Description: Sent to a window when a key is released that is a system character. Only occurs when no window has input focus or if the Alt key is pressed wParam: The virtual key number of the character lParam: As WM_CHAR except but 31 always zero If bit 29 is zero, no window has the focus and this message is being received by the active window .head 4 + Number: WM_SYSCHAR = 0x0106 .head 5 - ! Description: Similar to WM_CHAR except that it detects Alt Key combinations and characters entered when no window has the focus ( in the later case message sent to the active window ) .head 4 + Number: WM_SYSDEADCHAR = 0x0107 .head 5 - ! Description: Similar to WM_CHAR except it indicates a character is to be combined with another character ( e.g accent ) .head 4 - Number: WM_KEYLAST = 0x0108 .head 4 + Number: WM_INITDIALOG = 0x0110 .head 5 - ! Description: Sent to a dialog box procedure before the dialog box is displayed wParam: Handle to window receiving the keyboard focus. lParam: Additional initialisation information .head 4 + Number: WM_COMMAND = 0x0111 .head 5 - ! Description: Sent to a window when a message command is invoked/ a control sends a notification message to a window wParam: Low word: Menu command ID if this a menu command / Control identifier if this a notification message High word: Message number if the notification message lParam: The window handle of a control if this is a notification message .head 4 + Number: WM_SYSCOMMAND = 0x0112 .head 5 - ! Description: Sent to an application when a system menu command has been selected by the user wParam: The system command posted lParam: Low word: The X coordinate if the mouse was used to trigger this message High word: The Y coordinate if the mouse was used to trigger this message .head 4 - Number: WM_TIMER = 0x0113 .head 4 + Number: WM_HSCROLL = 0x0114 .head 5 - ! Description: Sent to a window when the user clicks on the windows horizontal scroll bar wParam: Low word: SB_ENDSCROLL/SB_TOP/SB_LINELEFT/SB_LINERIGHT/SBPAGELEFT/SBPAGERIGHT/SB_BOTTOM/SB_THUMBTRACK High word: SB_THUMBPOSITION/SB_THUMBTRACK/ lParam: Handle of the control if scrollbar is a control. Zero otherwise. .head 4 + Number: WM_VSCROLL = 0x0115 .head 5 - ! Description: Sent to a window when a user clicks on the windows vertical scrollbar wParam: Low word: SB_ENDSCROLL/SB_TOP/SB_LINELEFT/SB_LINERIGHT/SBPAGELEFT/SBPAGERIGHT/SB_BOTTOM/SB_THUMBTRACK High word: SB_THUMBPOSITION/SB_THUMBTRACK/ lParam: Handle of the control if scrollbar is a control. Zero otherwise. .head 4 + Number: WM_INITMENU = 0x0116 .head 5 - ! Description: Sent to a window before its menu is displayed wParam: Handle of the menu .head 4 + Number: WM_INITMENUPOPUP = 0x0117 .head 5 - ! Description: Sent to a window before a popup menu is displayed wParam: Handle of the popup menu lParam: Low word: The index(position) of the popup menu in the top level menu High word TRUE( nonzero) if this is the system popup menu .head 4 + Number: WM_MENUSELECT = 0x011F .head 5 - ! Description: Sent to a window when the user selects a menu entry wParam: Low word: Command identifier ot the menu entry or menu index of a popup menu in the main menu if the entry is a popup menu. Use GetSubMenu in the later case. High word: A menu entry flag MF_... lParam: If the MF_SYSMENU flag is specified in wParam, this is the handle ot the system menu. .head 4 + Number: WM_MENUCHAR = 0x0120 .head 5 - ! Description: Sent to a window when a character is entered while a menu is displayed, which doesn't match a mnemonic on the menu. .head 4 + Number: WM_ENTERIDLE = 0x0121 .head 5 - ! Description: Sent to a window when a dialog box/menu is waiting for user input. .head 4 + Number: WM_CTRCOLORMSGBOX = 0x0132 .head 5 - ! Description: Sent by a Windows message box to its parent window before it is drawn Return a handle to a brush to use for background fill or zero to use default brush wParam: Handle to a device context for the control lParam: The control window handle .head 4 + Number: WM_CTRCOLOREDIT = 0x0133 .head 5 - ! Description: Sent by an edit control to its parent window before it is drawn Return a handle to a brush to use for background fill or zero to use default brush wParam: Handle to a device context for the control lParam: The control window handle .head 4 + Number: WM_CTRCOLORLISTBOX = 0x0134 .head 5 - ! Description: Sent by a Windows listbox control to its parent window before it is drawn Return a handle to a brush to use for background fill or zero to use default brush wParam: Handle to a device context for the control lParam: The control window handle .head 4 + Number: WM_CTRCOLORBTN = 0x0135 .head 5 - ! Description: Sent by a Windows button control to its parent window before it is drawn Return a handle to a brush to use for background fill or zero to use default brush wParam: Handle to a device context for the control lParam: The control window handle .head 4 + Number: WM_CTRCOLORDLG = 0x0136 .head 5 - ! Description: Sent by a Windows dialog box to its parent window before it is drawn Return a handle to a brush to use for background fill or zero to use default brush wParam: Handle to a device context for the control lParam: The control window handle .head 4 + Number: WM_CTRCOLORSCROLLBAR = 0x0137 .head 5 - ! Description: Sent by a scrollbar control to its parent window before it is drawn Return a handle to a brush to use for background fill or zero to use default brush wParam: Handle to a device context for the control lParam: The control window handle .head 4 + Number: WM_CTRCOLORSTATIC = 0x0138 .head 5 - ! Description: Sent by a static control to its parent window before it is drawn Return a handle to a brush to use for background fill or zero to use default brush wParam: Handle to a device context for the control lParam: The control window handle .head 4 + Number: WM_MOUSEMOVE = 0x0200 .head 5 - ! Description: This message is posted to a window when the mouse moves over the window or when the window has set the capture for the mouse cursor. wParam: A combination of MK_CONTROL/MK_LBUTTON/MK_MBUTTON/MK_RBUTTON/MK_SHIFT lParam: Low word: The X co-ordinate ot the cursor in window client co-ordinates High word: The Y co-ordinate ot the cursor in window client co-ordinates .head 4 + Number: WM_LBUTTONDOWN = 0x0201 .head 5 - ! Description: Sent to a window when a left mouse button is pressed within the window. wParam: A combination of MK_CONTROL/MK_LBUTTON/MK_MBUTTON/MK_RBUTTON/MK_SHIFT lParam: Low word: The X co-ordinate ot the cursor in window client co-ordinates High word: The Y co-ordinate ot the cursor in window client co-ordinates .head 4 + Number: WM_LBUTTONUP = 0x0202 .head 5 - ! Description: Sent to a window when a left mouse button is released within the window. wParam: A combination of MK_CONTROL/MK_LBUTTON/MK_MBUTTON/MK_RBUTTON/MK_SHIFT lParam: Low word: The X co-ordinate ot the cursor in window client co-ordinates High word: The Y co-ordinate ot the cursor in window client co-ordinates .head 4 + Number: WM_LBUTTONDBLCLK = 0x0203 .head 5 - ! Description: Sent to a window when a left mouse button is double clicking within the window. Window of class with CS_DBLCLKS style set. wParam: A combination of MK_CONTROL/MK_LBUTTON/MK_MBUTTON/MK_RBUTTON/MK_SHIFT lParam: Low word: The X co-ordinate ot the cursor in window client co-ordinates High word: The Y co-ordinate ot the cursor in window client co-ordinates .head 4 + Number: WM_RBUTTONDOWN = 0x0204 .head 5 - ! Description: Sent to a window when a right mouse button is pressed within the window. wParam: A combination of MK_CONTROL/MK_LBUTTON/MK_MBUTTON/MK_RBUTTON/MK_SHIFT lParam: Low word: The X co-ordinate ot the cursor in window client co-ordinates High word: The Y co-ordinate ot the cursor in window client co-ordinates .head 4 + Number: WM_RBUTTONUP = 0x0205 .head 5 - ! Description: Sent to a window when a right mouse button is released within the window. wParam: A combination of MK_CONTROL/MK_LBUTTON/MK_MBUTTON/MK_RBUTTON/MK_SHIFT lParam: Low word: The X co-ordinate ot the cursor in window client co-ordinates High word: The Y co-ordinate ot the cursor in window client co-ordinates .head 4 + Number: WM_RBUTTONDBLCLK = 0x0206 .head 5 - ! Description: Sent to a window when a right mouse button is double clicking within the window. Window of class with CS_DBLCLKS style set. wParam: A combination of MK_CONTROL/MK_LBUTTON/MK_MBUTTON/MK_RBUTTON/MK_SHIFT lParam: Low word: The X co-ordinate ot the cursor in window client co-ordinates High word: The Y co-ordinate ot the cursor in window client co-ordinates .head 4 + Number: WM_MBUTTONDOWN = 0x0207 .head 5 - ! Description: Sent to a window when a middle mouse button is pressed within the window. wParam: A combination of MK_CONTROL/MK_LBUTTON/MK_MBUTTON/MK_RBUTTON/MK_SHIFT lParam: Low word: The X co-ordinate ot the cursor in window client co-ordinates High word: The Y co-ordinate ot the cursor in window client co-ordinates .head 4 + Number: WM_MBUTTONUP = 0x0208 .head 5 - ! Description: Sent to a window when a middle mouse button is released within the window. wParam: A combination of MK_CONTROL/MK_LBUTTON/MK_MBUTTON/MK_RBUTTON/MK_SHIFT lParam: Low word: The X co-ordinate ot the cursor in window client co-ordinates High word: The Y co-ordinate ot the cursor in window client co-ordinates .head 4 + Number: WM_MBUTTONDBLCLK = 0x0209 .head 5 - ! Description: Sent to a window when a middle mouse button is double clicking within the window. Window of class with CS_DBLCLKS style set. wParam: A combination of MK_CONTROL/MK_LBUTTON/MK_MBUTTON/MK_RBUTTON/MK_SHIFT lParam: Low word: The X co-ordinate ot the cursor in window client co-ordinates High word: The Y co-ordinate ot the cursor in window client co-ordinates .head 4 + Number: WM_MOUSEWHEEL = 0x020A .head 5 - ! Description: Sent to a window when a the scroll wheel is used wParam: Low word: the keys ( MK_CONTROL... ) High word: the Delta .head 4 + Number: WM_PARENTNOTIFY = 0x0210 .head 5 - ! Description: Notifies a parent when certain events take place in the child window unless WS_EX_NOPARENTNOTIFY flag is set in windows extended style wParam: Low word: Message no of received by the child window: WM_CREATE/WM_DESTROY/WM_LBUTTONDOWN/WM_MBUTTONDOWN/WM_RBUTTONDOWN High word: ID number of the child window if wParam is WM_CREATE/WM_DESTROY lParam: Low word: Handle of the child window if wParam is WM_CREATE/WM_DESTROY or X co-ordinate of the cursor High word Blank or Y co-ordinate of the cursor as per low word .head 4 - Number: WM_SIZING = 0x0214 .head 4 + Number: WM_CAPTURECHANGED = 0x0215 .head 5 - ! Description: Informs a window when it loses the mouse capture Don't use .head 4 - Number: WM_MOVING = 0x0216 .head 4 + Number: WM_POWERBROADCAST = 0x0218 .head 5 - ! Description: Sent to all top level windows that the system is entering or leaving a power conservation state. wParam: PB_APMPOWERSTATUSCHANGED/PB_APMQUERYSTANDBY/PB_APMQUERYSTANDBYFAILED/PB_APMQUERYSUSPEND/ PB_APMQUERYSUSPENDFAILED/PB_APMRESUMECRITICAL/PB_APMRESUMESTANDBY/PB_APMRESUMECRITICAL/ PB_APMRESUMESTANDBY/PB_APMRESUMESUSPEND/PB_APMSTANDBY/PB_APMSUSPEND Platform: Windows 95, Windows NT .head 4 + Number: WM_MDICREATE = 0x0220 .head 5 - ! Description: Used to create new MDI child windows on an MDI form wParam: Not used lParam: Pointer to the MDICREATESTRUCT structure describing the new window .head 4 + Number: WM_MDIDESTROY = 0x0221 .head 5 - ! Description: Used to close a MDI child window on an MDI form. wParam: The window handle of the MDI child window being closed lParam: Not used .head 4 + Number: WM_MDIACTIVATE = 0x0222 .head 5 - ! Description: Sent to MDI child windows when they are activated/de-activated The active MDI window is brought to the top and given focus if the application is active. wParam: The handle of the window to activate lParam: Not used .head 4 + Number: WM_MDIRESTORE = 0x0223 .head 5 - ! Description: Used to restore minimized/maximized MDI child windows to their previous state. Sent to the MDIClient window not the MDI form wParam: Window handle of the MDI child window to restore lParam: Not used .head 4 + Number: WM_MDINEXT = 0x0224 .head 5 - ! Description: Used to activate the next or previous MDI child windows on an MDI form. Sent to the MDIClient window not the MDI form wParam: Zero to indicate to use the active MDI window or a window handle for which to activate next/previous lParam: Zero if the next MDI child window should be activated or nonzero if the previous child window should be activated .head 4 + Number: WM_MDIMAXIMIZE = 0x0225 .head 5 - ! Description: Used to maximize an MDI child windows on an MDI form. Sent to the MDIClient window not the MDI form wParam: Window handle of the MDI child window to maximise lParam: Not used .head 4 + Number: WM_MDITILE = 0x0226 .head 5 - ! Description: Used to tile MDI child windows within an MDI form. Sent to the MDIClient window not the MDI form wParam: If nonzero has the new menu handle for the MDI form lParam: If nonzero has the new menu for the Window sub menu of the MDI form .head 4 + Number: WM_MDICASCADE = 0x0227 .head 5 - ! Description: Sent to MDI child windows when they cascaded wParam: The constant MDITILE_SKIPDISABLED can be used to prevent the cascade of disabled MDI child windows lParam: Not used .head 4 + Number: WM_MDIICONARRANGE = 0x0228 .head 5 - ! Description: Used to arrange the icons of the MDI child windows of an MDI form. Sent to the MDIClient window not the MDI form wParam: Not used lParam: Not used .head 4 + Number: WM_MDIGETACTIVE = 0x0229 .head 5 - ! Description: Used to retrieve the window handle of the currently active MDI child window. Sent to the MDIClient window not the MDI form wParam: Not used lParam: A Pointer to a long variable. Non zero if the active MDI child window is maximised. Otherwise zero. Returns: The window handle of the active MDI child window ( long ) .head 4 + Number: WM_MDISETMENU = 0x0230 .head 5 - ! Description: Used to replace the menu of an MDI form. Sent to the MDIClient window not the MDI form wParam: If nonzero has the new menu handle for the MDI form lParam: If nonzero has the new menu for the Window sub menu of the MDI form .head 4 - Number: WM_ENTERSIZEMOVE = 0x0231 .head 4 - Number: WM_EXITSIZEMOVE = 0x0232 .head 4 + Number: WM_DROPFILES = 0x0233 .head 5 - ! Description: Sent to when left button released with cursor over a window which is able to receive dropped files wParam: Handle of an internal structure describing the dropped files lParam: Not used .head 4 + Number: WM_MDIREFRESHMENU = 0x0234 .head 5 - ! Description: Used to refresh the window menu on an MDI form. Sent to the child window not the MDI form wParam: Not used lParam: Not used .head 4 - Number: WM_MOUSEHOVER = 0x02A1 .head 4 - Number: WM_MOUSELEAVE = 0x02A3 .head 4 + Number: WM_CUT = 0x0300 .head 5 - ! Description: Sent to a datafield/combo box to cut the selected text into the clipboard .head 4 + Number: WM_COPY = 0x0301 .head 5 - ! Description: Sent to a datafield/combo box to copy the selected text into the clipboard .head 4 + Number: WM_PASTE = 0x0302 .head 5 - ! Description: Sent to a text box or combo box to paste the clipboard text into the control .head 4 + Number: WM_CLEAR = 0x0303 .head 5 - ! Description: Sent to a datafield/combo box to clear the selected text .head 4 - Number: WM_UNDO = 0x0304 .head 4 + Number: WM_DRAWCLIPBOARD = 0x0308 .head 5 - ! Description: Sent to the first window in the clipboard viewer chain when the clipboard contents change. .head 4 + Number: WM_ASKCBFORMATNAME = 0x030C .head 5 - ! Description: Sent to the clipboard owner when the clipboard has data in the CF_OWNERDISPLAY format. wParam: maximum number of bytes to copy lParam: Address of a buffer to load the name of the buffer .head 4 + Number: WM_CHANGECBCHAIN = 0x030D .head 5 - ! Description: Sent to the first window in the clipboard viewer chain when a window is being removed from the chain Don't use .head 4 + Number: WM_HSCROLLCLIPBOARD = 0x030E .head 5 - ! Description: Similar to WM_HSCROLL message. Sent to the clipboard owner by a clipboard viewer when data in clipboard of CF_OWNERDISPLAY format and user clicks horizontal scroll bar wParam: Handle to the clipboard viewer window lParam: Low word: SB_ENDSCROLL/SB_TOP/SB_LINELEFT/SB_LINERIGHT/SBPAGELEFT/SBPAGERIGHT/SB_BOTTOM/SB_THUMBTRACK High word: SB_THUMBPOSITION/ .head 4 - Number: WM_QUERYNEWPALETTE = 0x030F .head 4 - Number: WM_PALETTEISCHANGING = 0x0310 .head 4 - Number: WM_PALETTECHANGED = 0x0311 .head 4 - Number: WM_HOTKEY = 0x0312 .head 4 - Number: WM_PRINTCLIENT = 0x0318 .head 4 - Number: WM_HANDHELDFIRST = 0x0358 .head 4 - Number: WM_HANDHELDLAST = 0x035F .head 4 - Number: WM_AFXFIRST = 0x0360 .head 4 - Number: WM_AFXLAST = 0x037F .head 4 - Number: WM_PENWINFIRST = 0x0380 .head 4 - Number: WM_PENWINLAST = 0x038F .head 4 - Number: WM_USER = 0x0400 .head 4 - ! .head 4 - ! //-- Hotkey mode --// .head 4 - Number: MOD_ALT = 1 .head 4 - Number: MOD_CONTROL = 2 .head 4 - Number: MOD_SHIFT = 4 .head 4 - ! .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Windows style bits : use SetWindowLong( hWnd, GWL_STYLE, value ) .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: WS_BORDER = 0x800000 .head 5 - ! Description: Window has a border .head 4 + Number: WS_CAPTION = 0xC00000 .head 5 - ! Description: Window has a caption .head 4 + Number: WS_CHILD = 0x40000000 .head 5 - ! Description: Window is a child window .head 4 + Number: WS_CLIPCHILDREN = 0x2000000 .head 5 - ! Description: Prevent drawing to a parent window from drawing on a child window .head 4 + Number: WS_CLIPSIBLINGS = 0x4000000 .head 5 - ! Description: Prevent drawing into one child window from drawing on another child window .head 4 + Number: WS_DISABLED = 0x8000000 .head 5 - ! Description: Window is disabled .head 4 + Number: WS_DLGFRAME = 0x400000 .head 5 - ! Description: Window has a double border and no title bar .head 4 + Number: WS_GROUP = 0x20000 .head 5 - ! Description: Window is the beginning of a group of controls in a dialog box .head 4 + Number: WS_HSCROLL = 0x100000 .head 5 - ! Description: Window has a horizontal scroll bar .head 4 + Number: WS_MAXIMIZE = 0x1000000 .head 5 - ! Description: Window is maximized .head 4 + Number: WS_MAXIMIZEBOX = 0x10000 .head 5 - ! Description: Window has a maximize box to the right of its title bar .head 4 + Number: WS_MINIMIZE = 0x20000000 .head 5 - ! Description: Window is minimized .head 4 + Number: WS_MINIMIZEBOX = 0x20000 .head 5 - ! Description: Window has a minimize box to the right of its title bar .head 4 + Number: WS_OVERLAPPED = 0x0 .head 5 - ! Description: Default : no style bits set. An overlapped top level window with a caption and border .head 4 + Number: WS_POPUP = 0x80000000 .head 5 - ! Description: Window is a pop-up window .head 4 + Number: WS_SYSMENU = 0x80000 .head 5 - ! Description: Window has a system menu box at the left of its title bar .head 4 + Number: WS_TABSTOP = 0x10000 .head 5 - ! Description: Window has a tab stop. .head 4 + Number: WS_THICKFRAME = 0x40000 .head 5 - ! Description: Window has a thickframe ( or border ) that can be used to size the window .head 4 + Number: WS_VISIBLE = 0x10000000 .head 5 - ! Description: Window is visible .head 4 + Number: WS_VSCROLL = 0x200000 .head 5 - ! Description: Window has a vertical scroll bar .head 4 - Number: WS_OVERLAPPEDWINDOW = (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX) .head 4 - Number: WS_POPUPWINDOW = (WS_POPUP | WS_BORDER | WS_SYSMENU) .head 4 - Number: WS_CHILDWINDOW = (WS_CHILD) .head 4 - ! .head 4 - Number: WS_NO_MAXIMIZEBOX = 0xFFFFFFFF - WS_MAXIMIZEBOX .head 4 - Number: WS_NO_MINIMIZEBOX = 0xFFFFFFFF - WS_MINIMIZEBOX .head 4 - Number: WS_NO_THICKFRAME = 0xFFFFFFFF - WS_THICKFRAME .head 4 - Number: WS_NO_CAPTION = 0xFFFFFFFF - WS_CAPTION .head 4 - Number: WS_NO_BORDER = 0xFF7FFFFF .head 4 - Number: WS_NO_SYSMENU = 0xFFF7FFFF .head 4 - ! .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Windows extended style bits use SetWindowLong( hWnd, GWL_EXSTYLE, value ) .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: WS_EX_ACCEPTFILES = 0x10 .head 5 - ! Description: Window accepts drag-drop files from file manager .head 4 + Number: WS_EX_DLGMODALFRAME = 0x1 .head 5 - ! Description: Window has a double border. If WS_CAPTION is also specified it will have a title bar .head 4 + Number: WS_EX_NOPARENTNOTIFY = 0x4 .head 5 - ! Description: Window will not sent a WM_PARENTNOTIFY message to its parent when destroyed .head 4 + Number: WS_EX_TOPMOST = 0x8 .head 5 - ! Description: Window is placed above all other windows (except those with same bit set ) Use SetWindowPos to change this attribute .head 4 + Number: WS_EX_TRANSPARENT = 0x20 .head 5 - ! Description: Creates a transparent window that does not obscure windows below it .head 4 + Number: WS_EX_MDICHILD = 0x40 .head 5 - ! Description: Creates a button that holds a bitmap instead of text .head 4 + Number: WS_EX_TOOLWINDOW = 0x80 .head 5 - ! Description: Gives a window a smaller caption and prevents it from appearing in the task bar .head 4 + Number: WS_EX_WINDOWEDGE = 0x100 .head 5 - ! Description: Gives a window a raised edge border .head 4 + Number: WS_EX_CLIENTEDGE = 0x200 .head 5 - ! Description: Window has a sunken edge .head 4 + Number: WS_EX_CONTEXTHELP = 0x400 .head 5 - ! Description: Adds a question mark to window caption whcih when clicked changes cursor to question mark. A WM_HELP message is sent to the next window that is clicked .head 4 + Number: WS_EX_RIGHT = 0x1000 .head 5 - ! Description: If WS_EX_RTLREADING is set, sets right text alignment .head 4 + Number: WS_EX_RTLREADING = 0x2000 .head 5 - ! Description: For Hebrew and Arabic, sets text to display right to left .head 4 + Number: WS_EX_LEFTSCROLLBAR = 0x4000 .head 5 - ! Description: If WS_EX_RTLREADING is set, moves scrollbar to the left .head 4 + Number: WS_EX_CONTROLPARENT = 0x10000 .head 5 - ! Description: Causes tab key to switch between child windows on this window .head 4 + Number: WS_EX_STATICEDGE = 0x20000 .head 5 - ! Description: Sets a 3D style common to static controls .head 4 + Number: WS_EX_APPWINDOW = 0x40000 .head 5 - ! Description: Forces minimized application into the taskbar .head 4 - Number: WS_EX_OVERLAPPEDWINDOW = (WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE) .head 4 - Number: WS_EX_PALETTEWINDOW = (WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST) .head 4 - ! .head 4 - ! //-- Button Control Styles --// .head 4 - Number: BS_PUSHBUTTON = 0x00000000 .head 4 - Number: BS_DEFPUSHBUTTON = 0x00000001 .head 4 - Number: BS_CHECKBOX = 0x00000002 .head 4 - Number: BS_AUTOCHECKBOX = 0x00000003 .head 4 - Number: BS_RADIOBUTTON = 0x00000004 .head 4 - Number: BS_3STATE = 0x00000005 .head 4 - Number: BS_AUTO3STATE = 0x00000006 .head 4 - Number: BS_GROUPBOX = 0x00000007 .head 4 - Number: BS_USERBUTTON = 0x00000008 .head 4 - Number: BS_AUTORADIOBUTTON = 0x00000009 .head 4 - Number: BS_OWNERDRAW = 0x0000000B .head 4 - Number: BS_LEFTTEXT = 0x00000020 .head 4 - Number: BS_TEXT = 0x00000000 .head 4 - Number: BS_ICON = 0x00000040 .head 4 - Number: BS_BITMAP = 0x00000080 .head 4 - Number: BS_LEFT = 0x00000100 .head 4 - Number: BS_RIGHT = 0x00000200 .head 4 - Number: BS_CENTER = 0x00000300 .head 4 - Number: BS_TOP = 0x00000400 .head 4 - Number: BS_BOTTOM = 0x00000800 .head 4 - Number: BS_PUSHLIKE = 0x00001000 .head 4 - Number: BS_MULTILINE = 0x00002000 .head 4 - Number: BS_NOTIFY = 0x00004000 .head 4 - Number: BS_FLAT = 0x00008000 .head 4 - Number: BS_RIGHTBUTTON = BS_LEFTTEXT .head 4 - Number: BS_VCENTER = 0x00000C00 .head 4 - ! //-- User Button Notification Codes --// ( via WM_COMMAND to parent) .head 4 - Number: BN_CLICKED = 0 .head 4 - Number: BN_PAINT = 1 .head 4 - Number: BN_HILITE = 2 .head 4 - Number: BN_UNHILITE = 3 .head 4 - Number: BN_DISABLE = 4 .head 4 - Number: BN_DOUBLECLICKED = 5 .head 4 - Number: BN_PUSHED = BN_HILITE .head 4 - Number: BN_UNPUSHED = BN_UNHILITE .head 4 - Number: BN_DBLCLK = BN_DOUBLECLICKED .head 4 - Number: BN_SETFOCUS = 6 .head 4 - Number: BN_KILLFOCUS = 7 .head 4 - ! //-- Button Control Messages --// .head 4 - Number: BM_GETCHECK = 0x00F0 .head 4 - Number: BM_SETCHECK = 0x00F1 .head 4 - Number: BM_GETSTATE = 0x00F2 .head 4 - Number: BM_SETSTATE = 0x00F3 .head 4 - Number: BM_SETSTYLE = 0x00F4 .head 4 - Number: BM_CLICK = 0x00F5 .head 4 - Number: BM_GETIMAGE = 0x00F6 .head 4 - Number: BM_SETIMAGE = 0x00F7 .head 4 - Number: BST_UNCHECKED = 0x0000 .head 4 - Number: BST_CHECKED = 0x0001 .head 4 - Number: BST_INDETERMINATE = 0x0002 .head 4 - Number: BST_PUSHED = 0x0004 .head 4 - Number: BST_FOCUS = 0x0008 .head 4 - ! .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Specifies how Windows 95 arranges minimized windows ( See SM_ARRANGE ) .head 4 - ! ! These constants specify the start location .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: ARW_BOTTOMLEFT = 0 !From bottom left .head 4 - Number: ARW_BOTTOMRIGHT= 1 ! From bottom right .head 4 - Number: ARW_TOPLEFT = 2 ! From top left .head 4 - Number: ARW_TOPRIGHT = 3 ! From top right .head 4 - Number: ARW_STARTMASK = 3 .head 4 - Number: ARW_STARTRIGHT = 1 .head 4 - Number: ARW_STARTTOP = 2 .head 4 - ! ! These constants specify the direction to continue in .head 4 - Number: ARW_LEFT = 0 .head 4 - Number: ARW_RIGHT = 0 .head 4 - Number: ARW_UP = 4 .head 4 - Number: ARW_DOWN = 4 .head 4 - Number: ARW_HIDE = 8 ! Hides minimized windows (moves them off screen) .head 4 - Number: ARW_VALID = 0x0F ! Mask of valid arrows .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! ! Combo Box notification messages ( via WM_COMMAND to parent) .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: CBN_CLOSEUP = 8 .head 5 - ! Description: Sent when the list box portion of a combo box is closed. CBN_SELCHANGE may be sent before/after this if a change occures when a list box is closed .head 4 + Number: CBN_DBLCLK = 2 .head 5 - ! Description: Sent when the user double clicks on an entry in the list box part of a combo box. ( Only for simple combo controls ) .head 4 + Number: CBN_DROPDOWN = 7 .head 5 - ! Description: Sent when the list box portion of a drop down combo box is about to be made visible .head 4 + Number: CBN_EDITCHANGE = 5 .head 5 - ! Description: Sent any time the controls of the edit control part of a combo control change. .head 4 + Number: CBN_EDITUPDATE = 6 .head 5 - ! Description: Sent before the edit control part of a combo control displays text that has been changed. Similar to CBN_EDITCHANGE except it occurs befor text is displayed .head 4 + Number: CBN_ERRSPACE = -1 .head 5 - ! Description: Sent any time an operation fails because there is insufficient memory to perform the operation .head 4 + Number: CBN_KILLFOCUS = 4 .head 5 - ! Description: Sent when the control loses the input focus .head 4 + Number: CBN_SELCHANGE = 1 .head 5 - ! Description: Sent any time the selection in the list control of a combo control changes ( SAM_Click event for a combo ) .head 4 + Number: CBN_SELENDCANCEL = 10 .head 5 - ! Description: Sent before the CBN_CLOSEUP notification that the list box part of a combo control is about to be hidden due to the user selecting or clicking outside the combo control. Used to indicate that the user's selection should be ignored. .head 4 + Number: CBN_SELENDOK = 9 .head 5 - ! Description: Sent before the CBN_CLOSEUP notification that the list box part of a combo control is about to be hidden due to the user clicking Enter or clicking inside the combo control. Used to indicate that the user's selection is valid.. .head 4 + Number: CBN_SETFOCUS = 3 .head 5 - ! Description: Sent when the control receives the input focus .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! ! Combo Box control messages .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: CB_ADDSTRING = 0x0143 .head 5 - ! Description: Used to add a string to a listbox. If the list box is sorted it is placed accordingly, otherwise it is put at the end of the list. wParam: Not used lParam: Address of a NULL terminated string to add to the list. Return: The index of the new string. -1 on error .head 4 + Number: CB_DELETESTRING = 0x0144 .head 5 - ! Description: Used to delete a string from a combo ! wParam: The index of the entry to delete. ( Numbered zero upwards ) lParam: Not used Return: The number of strings remaining in the control -1 on error .head 4 + Number: CB_DIR = 0x0145 .head 5 - ! Description: Fills a list control with a list of file names wParam: One or more of the following masks can be used 0x0001 - Read only files 0x0002 - Hidden files 0x0004 - System files 0x0010 - lParam specifies a directory name 0x0020 - Files with the archive bit set 0x4000 - All files matching the lParam specification are loaded 0x8000 - Only files that match all the attributes are loaded lParam: The address of a NULL terminated string specifyng a DOS file specification. Wildcards "?" and "*" are allowed Return: The entry value of the last entry added -1 on error .head 4 + Number: CB_FINDSTRING = 0x014C .head 5 - ! Description: Finds an entry in a list that matches the specified prefix. This search is not case-sensitive wParam: Low word: The entry number from which to be the search. -1 to start from the beginning lParam: Address of a NULL terminated string containing a prefix to search for. Return: The entry number of the new string ( Numbered zero upwards ) -1 on error .head 4 + Number: CB_FINDSTRINGEXACT = 0x0158 .head 5 - ! Description: Finds an entry in a list that matches the entire specified string. This search is not case-sensitive wParam: Low word: The entry number from which to be the search. -1 to start from th beginning lParam: Address of a NULL terminated string containing a prefix to search for. Return: The entry number of the new string ( Numbered zero upwards ) -1 on error .head 4 + Number: CB_GETCOUNT = 0x0146 .head 5 - ! Description: Finds the number of entries .head 4 + Number: CB_GETCURSEL = 0x0147 .head 5 - ! Description: Determines the index of the first selected string Return: The index of the current/first selection -1 if no selection exists .head 4 + Number: CB_GETDROPPEDCONTROLRECT = 0x0152 .head 5 - ! Description: Determines the dimensions of the drop-down listbox.Specified in pixel screen co-ordinates. wParam: Not used lParam: The address of the RECT structure to load with the list box dimensions .head 4 + Number: CB_GETDROPPEDSTATE = 0x0157 .head 5 - ! Description: Determines if the listbox part of a combo box is visible Return: Long: TRUE( nonzero ) if the listbox is visible, zero otherwise .head 4 + Number: CB_GETDROPPEDWIDTH = 0x015F .head 5 - ! Description: Retrieves the minimum width of the drop-down list box portion of a combo box Return: Long: The minimum width of the drop-down box. .head 4 + Number: CB_GETEDITSEL = 0x0140 .head 5 - ! Description: Retrieves the current selection state of the edit control portion of the combo box. Equivalent to the EM_GETSEL message. Easier to use SelStart and SelLength wParam: Address of long value to load with the character offset of the start of the selection. May be zero lParam: Address of a long value to load with the character offset of the character after the last selected character. May be zero. Return: Long: Low word: Character offset of the start of the selection High word: Character offset of the character after the last selected character .head 4 + Number: CB_GETEXTENDEDUI = 0x0156 .head 5 - ! Description: Determines if the combo control has the extended user interface enabled. Return: Long: TRUE ( Non-zero ) if the extended user interface is enabled. .head 4 + Number: CB_GETHORIZONTALEXTENT = 0x015D .head 5 - ! Description: Determines the current horizontal extent of the list control. ( Greater than the width of the listbox if a horizontal scroll bar exists ) Return: The horizontal extent of the listbox in pixels .head 4 + Number: CB_GETITEMDATA = 0x0150 .head 5 - ! Description: Determines the user-defines 32 bit value associated with an entry in the list control. wParam: Low word: The number of the entry for which to retrieve user defined data. lParam: Not used Return: The data for the specified entry -1 on error .head 4 + Number: CB_GETITEMHEIGHT = 0x0154 .head 5 - ! Description: Determines the height of each entry in the list control in pixels wParam: Usually zero as unused For owner draw lists specifies entry number as entries can be different heights. lParam: Not used Return: The height of each entry in the list box in pixels .head 4 + Number: CB_GETLBTEXT = 0x0148 .head 5 - ! Description: Retrieves the string for the specified entry wParam: Low word: The number of the entry to retrieve. lParam: The address of a string buffer to load with the entry text.Buffer size must be preset. CB_GETTEXTLEN can be used to determine the correct buffer size. Return: The length of the string loaded .head 4 + Number: CB_GETLBTEXTLEN = 0x0149 .head 5 - ! Description: Retrieves the length of the string for the specified entry wParam: Low word: The number of the entry to check. lParam: Not used Return: The length of the string for the specified entry. .head 4 + Number: CB_GETLOCALE = 0x015A .head 5 - ! Description: Get the current locale for the control Return: High word: Country code Low word: Language identifier .head 4 + Number: CB_GETTOPINDEX = 0x015B .head 5 - ! Description: Determines which entry appears ( is visible ) at the top of the list control display. .head 4 + Number: CB_INSERTSTRING = 0x014A .head 5 - ! Description: Used to insert a string into a listbox at a specified location. Even if the listbox is sorted it will still go where indicated. wParam: The index where it is to go. -1 to add to the end of the list lParam: Address of a NULL terminated string to insert into the listbox. Return: Entry number of the new string CB_ERR on error CB_ERRSPACE if insufficient memory for insert .head 4 + Number: CB_LIMITTEXT = 0x0141 .head 5 - ! Description: Specify the maximum number of characters in the edit portion of the control wParam: Maximum length. lParam: Not used .head 4 + Number: CB_RESETCONTENT = 0x014B .head 5 - ! Description: Clear the contents of the list .head 4 + Number: CB_SELECTSTRING = 0x014D .head 5 - ! Description: Finds an entry in a list that matches the specified prefix and selects it. wParam: Low word: The entry number from which to be the search. -1 to start from the beginning lParam: Address of a NULL terminated string containing a prefix to search for. Return: The entry number of the new string ( Numbered zero upwards ) -1 on error .head 4 + Number: CB_SETCURSEL = 0x014E .head 5 - ! Description: Select an entry in a single selection list. wParam: Low word: The index to select -1 to clear the current selection lParam: Not used .head 4 + Number: CB_SETDROPPEDWIDTH = 0x0160 .head 5 - ! Description: Set the minimum width of the drop-down wParam: The width of the drop-down in pixels lParam: Not used Return: Long: The new minimum width of the drop-down CB_ERR on error. .head 4 + Number: CB_SETEDITSEL = 0x0142 .head 5 - ! Description: Sets the current selection for the edit control part of the combo box wParam: The character offset of the first character in the selection -1 to deselect the current selection lParam: The character offset of the first character after the selection If wParam id 0 and this is -1 then the entire text is selected Return: Long: TRUE ( nonzero ) on success CB_ERR on error .head 4 + Number: CB_SETEXTENDEDUI = 0x0155 .head 5 - ! Description: Enables/Disables the extended user interface wParam: TRUE ( Non-zero ) to enable the interface Zero to Disable the interface lParam: Not used .head 4 + Number: CB_SETHORIZONTALEXTENT = 0x015E .head 5 - ! Description: Sets the current horizontal extent of the list control. ( If Greater than the width of the listbox a horizontal scroll bar appears ) wParam: The horizontal extent of the listbox in pixels lParam: Not used .head 4 + Number: CB_SETITEMDATA = 0x0151 .head 5 - ! Description: Sets the user-defines 32 bit value associated with an entry in the list control. wParam: Low word: The index of the entry for which to set user defined data. lParam: The value to associate the entry with Return: -1 on error .head 4 + Number: CB_SETITEMHEIGHT = 0x0153 .head 5 - ! Description: Sets the height of each entry in the list control in pixels wParam: Not used For owner draw lists specifies entry number as entries can be different heights. lParam: Low word: Height of each listbox in pixels Return: -1 if the height is invalid .head 4 + Number: CB_SETLOCALE = 0x0159 .head 5 - ! Description: Sets the current locale for the control wParam: Locale ID to set it to lParam: Not used Return: Previous locale ID on success .head 4 + Number: CB_SETTOPINDEX = 0x015C .head 5 - ! Description: Scolls the control so that the specified entry appears at the top of the list control or as close as possibleif the maximum scroll range has been reached. wParam: Low word: The index of the entry to scroll to the top. lParam: Not used Return: -1 on error .head 4 + Number: CB_SHOWDROPDOWN = 0x014F .head 5 - ! Description: Show/Hide the listbox part of a combo box wParam: TRUE ( nonzero ) to show. Zero to hide. lParam: Not used .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Combo Box return Values .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: CB_OKAY = 0 .head 4 - Number: CB_ERR = (-1) .head 4 - Number: CB_ERRSPACE = (-2) .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Combo box class style bits .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: CBS_AUTOHSCROLL = 0x40 .head 5 - ! Description: Control automatically scrolls horizontally when typing at the end of a line. .head 4 + Number: CBS_DISABLENOSCROLL = 0x800 .head 5 - ! Description: Vertical scroll bar is always shown .head 4 + Number: CBS_DROPDOWN = 0x2 .head 5 - ! Description: List box only displayed when user selects the dropdown icon .head 4 + Number: CBS_DROPDOWNLIST = 0x3 .head 5 - ! Description: List box only displayed when user selects the dropdown icon Static control reflects the selected list box entry .head 4 + Number: CBS_LOWERCASE = 0x4000 .head 5 - ! Description: All text in combo box is lowercase .head 4 + Number: CBS_NOINTEGRALHEIGHT = 0x400 .head 5 - ! Description: Combo box can be any size .head 4 + Number: CBS_OEMCONVERT = 0x80 .head 5 - ! Description: Text in the control is converted to the OEM character set .head 4 + Number: CBS_OWNERDRAWFIXED = 0x10 .head 5 - ! Description: Style for combo boxes drawn under application control .head 4 + Number: CBS_OWNERDRAWVARIABLE = 0x20 .head 5 - ! Description: Style for combo boxes drawn under application control .head 4 + Number: CBS_HASSTRINGS = 0x200 .head 5 - ! Description: Style for combo boxes drawn under application control .head 4 + Number: CBS_SIMPLE = 0x1 .head 5 - ! Description: List box is displayed at all times .head 4 + Number: CBS_SORT = 0x100 .head 5 - ! Description: List box entries are sorted .head 4 + Number: CBS_UPPERCASE = 0x2000 .head 5 - ! Description: All text in combo box is uppercase .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Constants for Clipboard .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: CF_TEXT = 1 .head 4 - Number: CF_BITMAP = 2 .head 4 - Number: CF_METAFILEPICT = 3 .head 4 - Number: CF_SYLK = 4 .head 4 - Number: CF_DIF = 5 .head 4 - Number: CF_TIFF = 6 .head 4 - Number: CF_OEMTEXT = 7 .head 4 - Number: CF_DIB = 8 .head 4 - Number: CF_PALETTE = 9 .head 4 - Number: CF_PENDATATA = 0x10 .head 4 - Number: CF_RIFF = 11 .head 4 - Number: CF_WAVE = 12 .head 4 - Number: CF_OWNERDISPLAY = 0x0080 .head 4 - Number: CF_DSPTEXT = 0x0081 .head 4 - Number: CF_DSPBITMAP = 0x0082 .head 4 - Number: CF_DSPMETAFILEPICT = 0x0083 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Constants for GetSysColor/SetSysColor .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: COLOR_ACTIVEBORDER = 10 .head 5 - ! Description: Border of the active window .head 4 + Number: COLOR_ACTIVECAPTION = 2 .head 5 - ! Description: Caption of the active window .head 4 + Number: COLOR_APPWORKSPACE = 12 .head 5 - ! Description: Background of the MDI desktop .head 4 + Number: COLOR_BACKGROUND = 1 .head 5 - ! Description: Windows desktop .head 4 + Number: COLOR_BTNFACE = 15 .head 5 - ! Description: Button .head 4 + Number: COLOR_BTNHIGHLIGHT = 20 .head 5 - ! Description: 3D highlight of the Button .head 4 + Number: COLOR_BTNSHADOW = 16 .head 5 - ! Description: 3D shading of the Button .head 4 + Number: COLOR_BTNTEXT = 18 .head 5 - ! Description: Button text .head 4 + Number: COLOR_CAPTIONTEXT = 9 .head 5 - ! Description: Text in window caption .head 4 + Number: COLOR_GRAYTEXT = 17 .head 5 - ! Description: Gray text, or zero if dithering is used .head 4 + Number: COLOR_HIGHLIGHT = 13 .head 5 - ! Description: Selected item background .head 4 + Number: COLOR_HIGHLIGHTTEXT = 14 .head 5 - ! Description: Selected item text .head 4 + Number: COLOR_INACTIVEBORDER = 11 .head 5 - ! Description: Border of the inactive window .head 4 + Number: COLOR_INACTIVECAPTION = 3 .head 5 - ! Description: Caption of the inactive window .head 4 + Number: COLOR_INACTIVECAPTIONTEXT = 19 .head 5 - ! Description: Text of the inactive window .head 4 + Number: COLOR_MENU = 4 .head 5 - ! Description: Menu .head 4 + Number: COLOR_MENUTEXT = 7 .head 5 - ! Description: Menu text .head 4 + Number: COLOR_SCROLLBAR = 0 .head 5 - ! Description: Scrollbar .head 4 + Number: COLOR_WINDOW = 5 .head 5 - ! Description: Window background .head 4 + Number: COLOR_WINDOWFRAME = 6 .head 5 - ! Description: Window frame .head 4 + Number: COLOR_WINDOWTEXT = 8 .head 5 - ! Description: Window text .head 4 + Number: COLOR_3DFACE = COLOR_BTNFACE .head 5 - ! Description: Face color for 3D shade objects .head 4 + Number: COLOR_3DHIGHLIGHT = COLOR_BTNHIGHLIGHT .head 5 - ! Description: Highlight color for 3D shade objects .head 4 + Number: COLOR_3DHILIGHT = COLOR_BTNHIGHLIGHT .head 5 - ! Description: Highlight color for 3D shade objects .head 4 + Number: COLOR_3DLIGHT = 22 .head 5 - ! Description: Light color for 3D shade objects .head 4 - Number: COLOR_3DSHADOW = COLOR_BTNSHADOW .head 4 - Number: COLOR_BTNHILIGHT = COLOR_BTNHIGHLIGHT .head 4 + Number: COLOR_DESKTOP = COLOR_BACKGROUND .head 5 - ! Description: Desktop color .head 4 + Number: COLOR_INFOBK = 24 .head 5 - ! Description: Tooltip background color .head 4 + Number: COLOR_INFOTEXT = 23 .head 5 - ! Description: Tooltip text color .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Dialog styles .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: DS_ABSALIGN = 0x1 .head 4 - Number: DS_SYSMODAL = 0x2 .head 4 - Number: DS_LOCALEDIT = 0x20 .head 4 - Number: DS_SETFONT = 0x40 .head 4 - Number: DS_MODALFRAME = 0x80 .head 4 - Number: DS_NOIDLEMSG = 0x100 .head 4 - Number: DS_SETFOREGROUND = 0x200 .head 4 - Number: DS_3DLOOK = 0x04 .head 4 - Number: DS_FIXEDSYS = 0x08 .head 4 - Number: DS_NOFAILCREATE = 0x10 .head 4 - Number: DS_CONTROL =0x0400 .head 4 - Number: DS_CENTER = 0x0800 .head 4 - Number: DS_CENTERMOUSE = 0x1000 .head 4 - Number: DS_CONTEXTHELP = 0x2000 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Dialog Codes .head 4 - ! Dialog return codes for message WM_GETDLGCTRL .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: DLGC_WANTARROWS = 0x1 .head 5 - ! Description: Control wants arrow keys .head 4 + Number: DLGC_WANTTAB = 0x2 .head 5 - ! Description: Control wants tab keys .head 4 + Number: DLGC_WANTALLKEYS = 0x4 .head 5 - ! Description: Control wants all keys .head 4 + Number: DLGC_WANTMESSAGE = 0x4 .head 5 - ! Description: Pass message to control .head 4 + Number: DLGC_HASSETSEL = 0x8 .head 5 - ! Description: Understands EM_SETSEL message .head 4 + Number: DLGC_DEFPUSHBUTTON = 0x10 .head 5 - ! Description: Default pushbutton .head 4 + Number: DLGC_UNDEFPUSHBUTTON = 0x20 .head 5 - ! Description: Non-default pushbutton .head 4 + Number: DLGC_BUTTON = 0x2000 .head 5 - ! Description: Button item: can be checked .head 4 + Number: DLGC_RADIOBUTTON = 0x40 .head 5 - ! Description: Radio button .head 4 + Number: DLGC_STATIC = 0x100 .head 5 - ! Description: Static item: don't include .head 4 + Number: DLGC_WANTCHARS = 0x80 .head 5 - ! Description: Want WM_CHAR messages .head 4 - ! ! --------------------------------------------------- .head 4 - ! ! Dialog style bits ( used in GetWindowLongA ) .head 4 - ! ! --------------------------------------------------- .head 4 + Number: DWL_DLGPROC = 4 .head 5 - ! Description: Address of the dialog function for the window .head 4 + Number: DWL_MSGRESULT = 0 .head 5 - ! Description: Value returned by a message processed within the dialog function .head 4 + Number: DWL_USER = 8 .head 5 - ! Description: Defined by the application .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: DRIVE_UNKNOWN = 0 .head 4 - Number: DRIVE_REMOVABLE = 2 .head 4 - Number: DRIVE_FIXED = 3 .head 4 - Number: DRIVE_REMOTE = 4 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! !edit messages (Datafield/Multi-linetext) .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: EM_CANUNDO = 0x00C6 .head 5 - ! Description: Determines if the undo buffer contains information that can be used to reverse the previous editing operation Return: Long: TRUE ( nonzero ) on success, zero otherwise .head 4 + Number: EM_CHARFROMPOS = 0x00D7 .head 5 - ! Description: Retrieves the character index and line index if the character nearest to a specified point in an edit control wParam: Not used lParam: Low word: x co-ordinate of a point High word: y co-ordinate of a point Return: Long: Low word: character index High word: line index ( -1 if outside the client area, last character if just beyond last character ) .head 4 + Number: EM_EMPTYUNDOBUFFER = 0x00CD .head 5 - ! Description: Clear the undo buffer for an edit control. Thereafter undo not possible. .head 4 + Number: EM_FMTLINES = 0x00C8 .head 5 - ! Description: Determines if soft breaks are returned when the edit control string is read using WM_GETTEXT. ( ie CR-CR-LF ) wParam: TRUE (nonzero ) to return soft line breaks. FALSE to return to normal operation lParam: Not used .head 4 + Number: EM_GETFIRSTVISIBLELINE = 0x00CE .head 5 - ! Description: Retrieves the number of the first line that is visible in the edit control. ( Lines Numbered zero upwards ) Retireves the first visible character for single line edit controls Return: Long: See above .head 4 + Number: EM_GETHANDLE =0x00BD .head 5 - ! Description: Retrieves a memory handle allocated for a multiline edit control's text Return: Long: Memory handle on success or zero .head 4 + Number: EM_GETLIMITTEXT = 0x00D5 .head 5 - ! Description: Retrieves the current text limit in characters for an edit control Return: Long: see above .head 4 + Number: EM_GETLINE = 0x00C4 .head 5 - ! Description: Retrieves a line from the edit control. ( Lines Numbered zero upwards ) wParam: The number of the line to retrieve lParam: The address of a string buffer to load with the line. First two bytes contain an integer detailing maximum number of characters allowed in buffer Return: Long: the number of characters loaded into the buffer Note: Excludes terminating NULL .head 4 + Number: EM_GETLINECOUNT = 0x00BA .head 5 - ! Description: Retrieves the number of lines in an edit control. Return: Long: the number of lines in the edit control. Returns 1 even if no text in the control .head 4 + Number: EM_GETMARGINS = 0x00D4 .head 5 - ! Description: Retrieves the widths of the left and right margins of an edit control Return: Long: Low word: Width of left margin High word: Width of right margin .head 4 + Number: EM_GETMODIFY = 0x00B8 .head 5 - ! Description: Retrieves the internal modify flag Return: Long: TRUE( nonzero ) if modify flag has beedn set .head 4 + Number: EM_GETPASSWORDCHAR = 0x00D2 .head 5 - ! Description: Retrieves the current password character for an edit control. Return: ASCII value for the password character. Zero if no password character is set. .head 4 + Number: EM_GETRECT = 0x00B2 .head 5 - ! Description: Retrieves the formatting rectangle for an edit control. wParam: Not used lParam: An address of the RECT structure to load with the formatting rectangle .head 4 + Number: EM_GETSEL = 0x00B0 .head 5 - ! Description: Retrieves the current selection state of the edit control wParam: Address of the long value to the character offset of the start of the selection. May be zero. lParam: Address of long value to hold the character offset of the character after the last selected character. May be zero. Return: Long: Low word: contains the character offset of the start of the selection High word: contains the character offset of the last selected character Comments: SelStart and SelLength may be easier to use .head 4 + Number: EM_GETTHUMB = 0x00BE .head 5 - ! Description: Retrieves the position of the scroll box ( thumb ) in a multiline edit control. .head 4 + Number: EM_LIMITTEXT = 0x00C5 .head 5 - ! Description: Used to specify the maximum number of characters that can be contained in an edit control wParam: The maximum length of the text that can be contained in an edit control lParam: Not used .head 4 + Number: EM_LINEFROMCHAR = 0x00C9 .head 5 - ! Description: Determines the line number of the line containing the character specified wParam: The offset of the character in the edit control text string to check. -1 to retrieve the offset of the start of the current line, or current selection if it exists. lParam: Not used Return: The number of the line containing the specified character. Lines are numbered from zero. .head 4 + Number: EM_LINEINDEX = 0x00BB .head 5 - ! Description: Determines the character offset of the first character in the specified line wParam: The number of a line in an edit control. -1 specifies the number of the line containing the caret lParam: Not used Return: The character offset of the first character in the line specified. -1 on error. .head 4 + Number: EM_LINELENGTH = 0x00C1 .head 5 - ! Description: Determines the length of the line containing the character specified wParam: An offset of a character in the edit control text string. Or -1 lParam: Not used Return: The length of the line containing the specified character. If wParam was -1 : Unselected characters in all of the lines containing selected text .head 4 + Number: EM_LINESCROLL = 0x00B6 .head 5 - ! Description: Scrolls the contents of an edit control wParam: An offset of a character in the edit control text string. Or -1 lParam: Not used Return: The length of the line containing the specified character. If wParam was -1 : Unselected characters in all of the lines containing selected text .head 4 + Number: EM_POSFROMCHAR = 0x00D6 .head 5 - ! Description: Retrieves the coordinates of the specified character in the edit control wParam: Character index. ( Numbered from zero upwards ) lParam: Not used Return: Long: Returns the upper-left corner of the specified character. If beyond the last character, returns the position for the last character. Coordinates are relative to the upper-left corner of the client area of the control. Negative if the character is outside the client area. .head 4 + Number: EM_REPLACESEL = 0x00C2 .head 5 - ! Description: Replaces the selected text in an edit control with the string specified If no text is selected. the specified string is inserted at the location of the caret wParam: TRUE if the replacement operation can be undone. FALSE if it can't be undone. lParam: A pointer to a NULL terminated string. .head 4 + Number: EM_SCROLL = 0x00B5 .head 5 - ! Description: Scrolls the text vertically in a multiline edit control. ( equivalent to WM_VSSCROLL ) wParam: SB_LINEDOWN/SB_LINEUP/SB_PAGEDOWN/SB_PAGEUP lParam: Not used .head 4 + Number: EM_SCROLLCARET = 0x00B7 .head 5 - ! Description: Scrolls the caret into view in an edit control wParam: Not used lParam: Not used .head 4 + Number: EM_SETHANDLE = 0x00BC .head 5 - ! Description: Sets the memory handle that will be used by a multiline edit control wParam: Memory handle the edit control uses to store the text instead of allocating its own memory. lParam: Not used .head 4 + Number: EM_SETLIMITTEXT = 0x00C5 .head 5 - ! Description: Specify the maximum number of character the number of characters that can be contained in an edit control wParam: The maximum length of the text that can be contained in an edit control ( 0-32766 characters for a single line edit control , 65,535 characters for a multi-line edit control. ) lParam: Not used Comments: Supercedes EM_LIMITTEXT .head 4 + Number: EM_SETMARGINS = 0x00D3 .head 5 - ! Description: Used to set the widths of the margins for an edit control. Causes the control to redraw itself to reflect the new margins wParam: EC_LEFTMARGIN/EC_RIGHTMARGIN/EC_USEFONTINFO lParam: Low word: width of the left margin in pixels ( for EC_LEFTMARGIN ) High word: width of the right margin in pixels ( for EC_RIGHTMARGIN ) .head 4 + Number: EM_SETMODIFY = 0x00B9 .head 5 - ! Description: Set the modify flag wParam: TRUE ( to set modify flag bit to 1 ), 0 to clear flag lParam: Non used .head 4 + Number: EM_SETPASSWORDCHAR = 0x00CC .head 5 - ! Description: Sets the current password character for an edit control. This is the character displayed in the control when the user enters text. wParam: ASCII value of the new password character. Zero to display the text normally. lParam: Not used .head 4 + Number: EM_SETREADONLY = 0x00CF .head 5 - ! Description: Allows you to change an edit control's read only attribute. wParam: TRUE ( nonzero ) to make the control read only. FALSE ( zero ) to clear the read only state. lParam: Not used Return: Long: TRUE ( nonzero ) on success. .head 4 + Number: EM_SETRECT = 0x00B3 .head 5 - ! Description: Set the formatting rectangle for an edit control. wParam: Not used lParam: An address of a RECT structure to set as the new formatting rectangle. .head 4 + Number: EM_SETRECTNP = 0x00B4 .head 5 - ! Description: Set the formatting rectangle for an edit control. Same as EM_SETRECT except that the control is not redrawn wParam: Not used lParam: An address of a RECT structure to set as the new formatting rectangle. .head 4 + Number: EM_SETSEL = 0x00B1 .head 5 - ! Description: Sets the current selection state of the edit control wParam: The character offset of the first character in the selection. -1 to remove the current selection lParam: The character offset of the first character after the selection. If wParam is 0 and this parameter is -1, all the text in the edit control is selected Comments: The new caret location will be set to the wParam or lParam offset depending on which is greater. .head 4 + Number: EM_SETTABSTOPS = 0x00CB .head 5 - ! Description: Used to specify tab stops in an edit control. Tabs can be placed in a text string using the tab character chr$(9). Tab stops are specified in dialog base units ( 1 dialog base unit = 1/4 of the average character width ) wParam: The number of tab stops to set. Zero to set the default of one tab stop every 32 dialog units. One to set tab stops every N dialog units where N is the first entry in an integer in an integer array specified by lParam. Otherwise, this specifies the number of tab stops to set based on the long array specified by lParam. lParam: The address of the first entry in a long array containing tab stops to set. If wParam is 0 and this parameter is -1, all the text in the edit control is selected Comments: Use InvalidateRect to redraw the control afterwards. .head 4 + Number: EM_UNDO = 0x00C7 .head 5 - ! Description: Reverses the most recent editing operation. Same effect as WM_UNDO Return: Always TRUE for single line controls. TRUE on success. FALSE on error for multi-line edit controls. .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Edit control style bits .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: ES_AUTOHSCROLL = 0x80 .head 5 - ! Description: Control automatically scrolls horizontally when typing at the end of a line. .head 4 + Number: ES_AUTOVSCROLL = 0x40 .head 5 - ! Description: Control automatically scrolls up a page when the Enter key is pressed on the last line. .head 4 + Number: ES_CENTER = 0x1 .head 5 - ! Description: Text is centered .head 4 + Number: ES_LEFT = 0x0 .head 5 - ! Description: Text is left-justified .head 4 + Number: ES_LOWERCASE = 0x0 .head 5 - ! Description: Characters are converted to lowercase as they are typed in .head 4 + Number: ES_MULTILINE = 0x4 .head 5 - ! Description: Multiline edit control .head 4 + Number: ES_NOHIDESEL = 0x100 .head 5 - ! Description: Even when a control loses focus continue to show selected text .head 4 + Number: ES_NUMBER = 0x2000 .head 5 - ! Description: Only allows numbes in this edit control .head 4 + Number: ES_OEMCONVERT = 0x400 .head 5 - ! Description: Text in this control is converted to the OEM character set. .head 4 + Number: ES_PASSWORD = 0x20 .head 5 - ! Description: Asterix character displayed as characters are typed in .head 4 + Number: ES_READONLY = 0x800 .head 5 - ! Description: Text is uneditable in the control .head 4 + Number: ES_RIGHT = 0x2 .head 5 - ! Description: Text is right-justified .head 4 + Number: ES_UPPERCASE = 0x8 .head 5 - ! Description: Characters are converted to uppercase as they are typed in .head 4 + Number: ES_WANTRETURN = 0x1000 .head 5 - ! Description: Pressing the Enter key inserts a carriage return into the text on multiline edit controls .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Edit control notification codes ( via WM_COMMAND to parent) .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: EN_SETFOCUS =0x0100 .head 4 - Number: EN_KILLFOCUS =0x0200 .head 4 - Number: EN_CHANGE =0x0300 .head 4 - Number: EN_UPDATE =0x0400 .head 4 - Number: EN_ERRSPACE =0x0500 .head 4 - Number: EN_MAXTEXT =0x0501 .head 4 - Number: EN_HSCROLL =0x0601 .head 4 - Number: EN_VSCROLL =0x0602 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: FEDMDI_IDCLIENT = 0X7FF0 .head 4 - ! ! ----------------------------------------------------------------- .head 4 - ! ! Constants for GlobalAlloc .head 4 - ! ! ----------------------------------------------------------------- .head 4 - Number: GMEM_DDSHARE = 0x2000 .head 4 - Number: GMEM_DISCARDABLE = 0x0100 .head 4 - Number: GMEM_FIXED = 0x0000 .head 4 - Number: GMEM_LOWER = 0x0100 .head 4 - Number: GMEM_MOVEABLE = 0x0002 .head 4 - Number: GMEM_NOCOMPACT = 0x0010 .head 4 - Number: GMEM_NODISCARD = 0x0020 .head 4 - Number: GMEM_NOT_BANKED = 0x1000 .head 4 - Number: GMEM_NOTIFY = 0x4000 .head 4 - Number: GMEM_SHARE = 0x2000 .head 4 - Number: GMEM_ZEROINIT = 0x0040 .head 4 - Number: GHND = (GMEM_MOVEABLE | GMEM_ZEROINIT) .head 4 - Number: GPTR = (GMEM_FIXED | GMEM_ZEROINIT) .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! ! GetWindowLongA constants .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: GWL_STYLE = -16 .head 5 - ! Description: The window style .head 4 + Number: GWL_EXSTYLE = -20 .head 5 - ! Description: The extended window style .head 4 + Number: GWL_WNDPROC = (-4) .head 5 - ! Description: The address of the window function of this window .head 4 + Number: GWL_HINSTANCE = -6 .head 5 - ! Description: The handle of the instance that owns the window .head 4 + Number: GWL_HWNDPARENT = -8 .head 5 - ! Description: The handle of the parent that owns the window. Do not set SetWindowWord to change this value .head 4 + Number: GWL_ID = -12 .head 5 - ! Description: The identifier of a child window within a dialog box .head 4 + Number: GWL_USERDATA = (-21) .head 5 - ! Description: Defined by the application .head 4 - ! ! Number: NO_WS_CAPTION = 0xFF3FFFFF .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! ! GetWindow constants .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: GW_HWNDFIRST = 0 .head 4 - Number: GW_HWNDLAST = 1 .head 4 - Number: GW_HWNDNEXT = 2 .head 4 - Number: GW_HWNDPREV = 3 .head 4 - Number: GW_OWNER = 4 .head 4 - Number: GW_CHILD = 5 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Windows Help Constants: .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: HELP_PartialKey = 0x0105 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: ITEM_CannotExpand = 0x11011111 .head 4 - Number: ITEM_HasChildren = 0x00000003 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! GetKeyboardLayoutName .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: KL_NAMELENGTH = 9 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: KKS_METER_INIT = WM_USER + 0xBC8 .head 4 - Number: KKS_METER_SET = WM_USER + 3018 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! ! List Box notification messages ( via WM_COMMAND to parent) .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: LBN_DBLCLK = 2 .head 5 - ! Description: Sent when the user double clicks on an entry in the list box .head 4 + Number: LBN_ERRSPACE = -2 .head 5 - ! Description: Sent any time an operation fails because there is insufficient memory to perform the operation .head 4 + Number: LBN_KILLFOCUS = 5 .head 5 - ! Description: Sent when the control loses the input focus .head 4 + Number: LBN_SELCANCEL = 3 .head 5 - ! Description: Sent when the user's selection is canceled. Typically due to the user selecting or clicking outside the control. .head 4 + Number: LBN_SELCHANGE = 1 .head 5 - ! Description: Sent any time the selection in the list control changes ( except when the LB_SETCURSEL message changes the selection ) .head 4 + Number: LBN_SETFOCUS = 4 .head 5 - ! Description: Sent when the control receives the input focus .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! ! List box control messages .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: LB_ADDFILE = 0x0196 .head 5 - ! Description: Used to add the specified filename to the directory list box. wParam: Not used lParam: Address of a NULL terminated string to add to the list. Return: The index of the new file name. -1 on error .head 4 + Number: LB_ADDSTRING = 0x0180 .head 5 - ! Description: Used to add a string to a listbox. If the list box is sorted it is placed accordingly, otherwise it is put at the end of the list. wParam: Not used lParam: Address of a NULL terminated string to add to the list. Return: The index of the new string -1 on error .head 4 + Number: LB_DELETESTRING = 0x0182 .head 5 - ! Description: Used to delete a string from a listbox. wParam: The index of the entry to delete. ( Numbered zero upwards ) lParam: Not used Return: The number of strings remaining in the control -1 on error .head 4 + Number: LB_DIR = 0x018D .head 5 - ! Description: Fills a list control with a list of file names wParam: One or more of the following masks can be used 0x0001 - Read only files 0x0002 - Hidden files 0x0004 - System files 0x0010 - lParam specifies a directory name 0x0020 - Files with the archive bit set 0x4000 - All files matching the lParam specification are loaded 0x8000 - Only files that match all the attributes are loaded lParam: The address of a NULL terminated string specifyng a DOS file specification. Wildcards "?" and "*" are allowed Return: The entry value of the last entry added -1 on error .head 4 + Number: LB_FINDSTRING = 0x018F .head 5 - ! Description: Finds an entry in a list that matches the specified prefix. This search is not case-sensitive wParam: Low word: The entry number from which to be the search. -1 to start from the beginning lParam: Address of a NULL terminated string containing a prefix to search for. Return: The entry number of the new string ( Numbered zero upwards ) -1 on error .head 4 + Number: LB_FINDSTRINGEXACT = 0x01A2 .head 5 - ! Description: Finds an entry in a list that matches the entire specified string. This search is not case-sensitive wParam: Low word: The entry number from which to be the search. -1 to start from th beginning lParam: Address of a NULL terminated string containing a prefix to search for. Return: The entry number of the new string ( Numbered zero upwards ) -1 on error .head 4 + Number: LB_GETANCHORINDEX = 0x019D .head 5 - ! Description: Retrieves the anchor entry number ( the number for which a multiple selection starts ) Return: The entry number of the anchor .head 4 + Number: LB_GETCARETINDEX = 0x019F .head 5 - ! Description: Determines the index for the focus rectangle in a multi-selection list box Return: The entry number with focus Entry number selected in a single select listbox .head 4 + Number: LB_GETCOUNT = 0x018B .head 5 - ! Description: Finds the number of entries .head 4 + Number: LB_GETCURSEL = 0x0188 .head 5 - ! Description: Determines the index of the first selected string Return: The index of the current/first selection -1 if no selection exists .head 4 + Number: LB_GETHORIZONTALEXTENT = 0x0193 .head 5 - ! Description: Determines the current horizontal extent of the list control. ( Greater than the width of the listbox if a horizontal scroll bar exists ) Return: The horizontal extent of the listbox in pixels .head 4 + Number: LB_GETITEMDATA = 0x0199 .head 5 - ! Description: Determines the user-defines 32 bit value associated with an entry in the list control. wParam: Low word: The number of the entry for which to retrieve user defined data. lParam: Not used Return: The data for the specified entry -1 on error .head 4 + Number: LB_GETITEMHEIGHT = 0x01A1 .head 5 - ! Description: Determines the height of each entry in the list control in pixels wParam: Usually zero as unused For owner draw lists specifies entry number as entries can be different heights. lParam: Not used Return: The height of each entry in the list box in pixels .head 4 + Number: LB_GETITEMRECT = 0x0198 .head 5 - ! Description: Determines the dimensions of an entry in the list control in pixel coordinates wParam: Low word: The number of the entry lParam: The address of the RECT structure to lad with the entry dimensions Return: -1 on error .head 4 + Number: LB_GETLOCALE = 0x01A6 .head 5 - ! Description: Get the current locale for the control Return: High word: Country code Low word: Language identifier .head 4 + Number: LB_GETSEL = 0x0187 .head 5 - ! Description: Determines the selection state of an entry in a multiple select list box wParam: Low word: The index of the entry to check lParam: Not used Return: TRUE ( non-zero ) if the entry is selected Zero if it is not -1 on error .head 4 + Number: LB_GETSELCOUNT = 0x0190 .head 5 - ! Description: Determines the total selected entries in a multiple select listbox Return: The number of selected entries -1 on error or if it is a single selection listbox .head 4 + Number: LB_GETSELITEMS = 0x0191 .head 5 - ! Description: Fills a long array with the numbers of all selected entries in a multiple select listbox wParam: Low word: The maximum number of entries to load into the array specified in lParam. lParam: .head 4 + Number: LB_GETTEXT = 0x0189 .head 5 - ! Description: Retrieves the string for the specified entry wParam: Low word: The number of the entry to retrieve. lParam: The address of a string buffer to load with the entry text.Buffer size must be preset. LB_GETTEXTLEN can be used to determine the correct buffer size. Return: The length of the string loaded .head 4 + Number: LB_GETTEXTLEN = 0x018A .head 5 - ! Description: Retrieves the length of the string for the specified entry wParam: Low word: The number of the entry to check. lParam: Not used Return: The length of the string for the specified entry. .head 4 + Number: LB_GETTOPINDEX = 0x018E .head 5 - ! Description: Determines which entry appears ( is visible ) at the top of the list control display. .head 4 + Number: LB_INSERTSTRING = 0x0181 .head 5 - ! Description: Used to insert a string into a listbox at a specified location. Even if the listbox is sorted it will still go where indicated. wParam: The index where it is to go. -1 to add to the end of the list lParam: Address of a NULL terminated string to insert into the listbox. Return: Entry number of the new string LB_ERR on error LB_ERRSPACE if insufficient memory for insert .head 4 + ! Number: LB_ITEMFROMPOINT = 0x01A9 .head 5 - ! Description: Retrieves the index of the entry in the listbox that is closest to the specified point wParam: Not used lParam: Low word: X pixel co-ordinate High word: Y pixel co-ordinate Return: Low word: The entry number closest to the point. High word: Zero if the entry is visible .head 4 + Number: LB_RESETCONTENT = 0x0184 .head 5 - ! Description: Clear the contents of the list .head 4 + Number: LB_SELECTSTRING = 0x018C .head 5 - ! Description: Finds an entry in a list that matches the specified prefix and selects it. wParam: Low word: The entry number from which to be the search. -1 to start from the beginning lParam: Address of a NULL terminated string containing a prefix to search for. Return: The entry number of the new string ( Numbered zero upwards ) -1 on error .head 4 + Number: LB_SELITEMRANGE = 0x019B .head 5 - ! Description: Used to select or deselect a range of entries in a multiple select list box. wParam: TRUE ( nonzero ) to select the specified entries. FALSE ( zero ) to clear the selection lParam: Low word: Specifies the first entry to select/deselect. High word: Specifies the last entry to select/deselect. Return: -1 on error .head 4 + Number: LB_SELITEMRANGEEX = 0x0183 .head 5 - ! Description: Used to select or deselect a range of entries in a multiple select list box. Similar to LB_SELITEMRANGE but greater than 32K limit under Windows NT wParam: Low word: Specifies the first entry to select/deselect. If less than entry number in lParam, then the entries are deselected lParam: Specifies the last entry to select/deselect. Return: -1 on error .head 4 + Number: LB_SETANCHORINDEX = 0x019C .head 5 - ! Description: Sets the anchor entry number ( the number for which a multiple selection starts ) wParam: Low word: The entry number of the anchor lParam: Not used .head 4 + Number: LB_SETCARETINDEX = 0x019E .head 5 - ! Description: Set the focus rectangle to a particular entry wParam: The entry number to have focus Entry number to select in a single select listbox lParam: Low word: FALSE - to show entire entry after this operation Return: -1 on error .head 4 + Number: LB_SETCOLUMNWIDTH = 0x0195 .head 5 - ! Description: Set the width of each column in a multiple column list control wParam: The width of the column in pixels lParam: Not used .head 4 + Number: LB_SETCOUNT = 0x01A7 .head 5 - ! Description: Sets the number of items in an owner draw list box when LBS_NODATA style is set. wParam: The number of items in the listbox lParam: Not used Return: LB_ERR on error .head 4 + Number: LB_SETCURSEL = 0x0186 .head 5 - ! Description: Select an entry in a single selection list. wParam: Low word: The index to select -1 to clear the current selection lParam: Not used .head 4 + Number: LB_SETHORIZONTALEXTENT = 0x0194 .head 5 - ! Description: Sets the current horizontal extent of the list control. ( If Greater than the width of the listbox a horizontal scroll bar appears ) wParam: The horizontal extent of the listbox in pixels lParam: Not used .head 4 + Number: LB_SETITEMDATA = 0x019A .head 5 - ! Description: Sets the user-defines 32 bit value associated with an entry in the list control. wParam: Low word: The index of the entry for which to set user defined data. lParam: The value to associate the entry with Return: -1 on error .head 4 + Number: LB_SETITEMHEIGHT = 0x01A0 .head 5 - ! Description: Sets the height of each entry in the list control in pixels wParam: Not used For owner draw lists specifies entry number as entries can be different heights. lParam: Low word: Height of each listbox in pixels Return: -1 if the height is invalid .head 4 + Number: LB_SETLOCALE = 0x01A5 .head 5 - ! Description: Sets the current locale for the control wParam: Locale ID to set it to lParam: Not used Return: Previous locale ID on success .head 4 + Number: LB_SETSEL = 0x0185 .head 5 - ! Description: Sets the selection state of an entry in a multiple selection listbox wParam: TRUE(nonzero) to select the entry, FALSE to clear the entry lParam: The index to select -1 to apply to all entries Return value: -1 on error .head 4 + Number: LB_SETTABSTOPS = 0x0192 .head 5 - ! Description: Specify tab stops in a list control wParam: The number of tab stopse to set. Zero to set the default of one tab stop every two dialog units. One to set tab stops every N dialog units where N is the first entry in a long array in lParam. Otherwise the number of tab stops to set based on the long array specified in lParam. lParam: The address of the first entry in a long array containing tab stops to srt The tab stops should be given in order Note: Use InvalidateRect afterwards to redraw the list control with the new tab stops .head 4 + Number: LB_SETTOPINDEX = 0x0197 .head 5 - ! Description: Scolls the control so that the specified entry appears at the top of the list control or as close as possibleif the maximum scroll range has been reached. wParam: Low word: The index of the entry to scroll to the top. lParam: Not used Return: -1 on error .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! List box control style bits .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: LBS_DISABLENOSCROLL = 0x1000 .head 5 - ! Description: Vertical scroll bar is always shown .head 4 + Number: LBS_EXTENDEDSEL = 0x800 .head 5 - ! Description: Shift and control combinations can be used to select multiple entries .head 4 + Number: LBS_MULTICOLUMN = 0x200 .head 5 - ! Description: List box supports multiple columns .head 4 + Number: LBS_MULTIPLESEL = 0x8 .head 5 - ! Description: List box supports multiple selection .head 4 + Number: LBS_NODATA = 0x2000 .head 5 - ! Description: List box does not contain any data ( owner draw list boxes ) .head 4 + Number: LBS_NOINTEGRALHEIGHT = 0x100 .head 5 - ! Description: List box can be any size .head 4 + Number: LBS_NOREDRAW = 0x4 .head 5 - ! Description: Prevents the update of the list box while changes are made. .head 4 + Number: LBS_NOSEL = 0x4000 .head 5 - ! Description: Items cannot be selected .head 4 + Number: LBS_NOTIFY = 0x1 .head 5 - ! Description: Parent control receives event notification for this control .head 4 + Number: LBS_OWNERDRAWFIXED = 0x10 .head 5 - ! Description: Used for list boxes drawn under program control .head 4 + Number: LBS_OWNERDRAWVARIABLE = 0x20 .head 5 - ! Description: Used for list boxes drawn under program control .head 4 + Number: LBS_HASSTRINGS = 0x40 .head 5 - ! Description: Used for list boxes drawn under program control .head 4 + Number: LBS_SORT = 0x2 .head 5 - ! Description: List box is sorted .head 4 + Number: LBS_USETABSTOPS = 0x80 .head 5 - ! Description: Allows alignment by tab stops .head 4 + Number: LBS_WANTKEYBOARDINPUT = 0x400 .head 5 - ! Description: List box receives all keyboard input allowing special processing for keyboard input .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! ' Listbox Return Values .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: LB_OKAY = 0 .head 4 - Number: LB_ERR = (-1) .head 4 - Number: LB_ERRSPACE = (-2) .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! List View constants .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: LVS_EX_GRIDLINES = 0x00000001 .head 4 - Number: LVS_EX_SUBITEMIMAGES = 0x00000002 .head 4 - Number: LVS_EX_CHECKBOXES = 0x00000004 .head 4 - Number: LVS_EX_TRACKSELECT = 0x00000008 .head 4 - Number: LVS_EX_HEADERDRAGDROP = 0x00000010 .head 4 - Number: LVS_EX_FULLROWSELECT = 0x00000020 .head 4 - Number: LVS_EX_ONECLICKACTIVATE = 0x00000040 .head 4 - Number: LVS_EX_TWOCLICKACTIVATE = 0x00000080 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! GetComputerName .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: MAX_COMPUTERNAME_LENGTH = 15 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! WM_MENUSELECT etc .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: MF_INSERT = 0x0000 .head 4 - Number: MF_CHANGE = 0x0080 .head 4 - Number: MF_APPEND = 0x0100 .head 4 - Number: MF_DELETE = 0x0200 .head 4 - Number: MF_REMOVE = 0x1000 .head 4 - Number: MF_BYCOMMAND = 0x0000 .head 4 - Number: MF_BYPOSITION = 0x0400 .head 4 - Number: MF_SEPARATOR = 0x0800 .head 4 - Number: MF_ENABLED = 0x0000 .head 4 - Number: MF_GRAYED = 0x0001 .head 4 - Number: MF_DISABLED = 0x0002 .head 4 - Number: MF_UNCHECKED = 0x0000 .head 4 - Number: MF_CHECKED = 0x0008 .head 4 - Number: MF_USECHECKBITMAPS = 0x0200 .head 4 - Number: MF_STRING = 0x0000 .head 4 - Number: MF_BITMAP = 0x0004 .head 4 - Number: MF_OWNERDRAW = 0x0100 .head 4 - Number: MF_POPUP = 0x0010 .head 4 - Number: MF_MENUBARBREAK = 0x0020 .head 4 - Number: MF_MENUBREAK = 0x0040 .head 4 - Number: MF_UNHILITE = 0x0000 .head 4 - Number: MF_HILITE = 0x0080 .head 4 - Number: MF_SYSMENU = 0x2000 .head 4 - Number: MF_HELP = 0x4000 .head 4 - Number: MF_MOUSESELECT = 0x8000 .head 4 - Number: MF_END = 0x0080 .head 4 - Number: MF_DEFAULT = 0x00001000 .head 4 - Number: MFS_GRAYED = 0x00000003 .head 4 - Number: MFS_DISABLED = MFS_GRAYED .head 4 - Number: MFS_CHECKED = MF_CHECKED .head 4 - Number: MFS_HILITE = MF_HILITE .head 4 - Number: MFS_ENABLED = MF_ENABLED .head 4 - Number: MFS_UNCHECKED = MF_UNCHECKED .head 4 - Number: MFS_UNHILITE = MF_UNHILITE .head 4 - Number: MFS_DEFAULT = MF_DEFAULT .head 4 - Number: MFS_MASK = 0x0000108B .head 4 - Number: MFS_HOTTRACKDRAWN = 0x10000000 .head 4 - Number: MFS_CACHEDBMP = 0x20000000 .head 4 - Number: MFS_BOTTOMGAPDROP = 0x40000000 .head 4 - Number: MFS_TOPGAPDROP = 0x80000000 .head 4 - Number: MFS_GAPDROP = 0xC0000000 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: MM_TEXT = 1 .head 4 - Number: MM_LOMETRIC = 2 .head 4 - Number: MM_HIHMETRIC = 0x3 .head 4 - Number: MM_LOENGLISH = 4 .head 4 - Number: MM_HIENGLISH = 5 .head 4 - Number: MM_TWIPS = 6 .head 4 - Number: MM_ISOTROPIC = 7 .head 4 - Number: MM_ANISOTROPIC = 8 .head 4 - ! ! --------------------------------------------------- .head 4 - ! ! GetCurrencyFormat etc .head 4 - ! ! --------------------------------------------------- .head 4 + ! ! NUMBER: LOCALE_NOUSEROVERRIDE = 0x80000000 .head 5 - ! do not use user overrides .head 4 - ! ! --------------------------------------------------- .head 4 - ! ! Constants for Pens .head 4 - ! ! --------------------------------------------------- .head 4 - Number: PS_SOLID = 0 .head 4 - Number: PS_DASH = 1 .head 4 - Number: PS_DOT = 2 .head 4 - Number: PS_DASHDOT = 3 .head 4 - Number: PS_DASHDOTDOT = 4 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: RESOURCETYPE_DISK = 1 .head 4 - Number: RESOURCETYPE_PRINTER = 2 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Scroll bar class style bits .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: SBS_HORZ = 0x0 .head 5 - ! Description: Default: horizontal scrollbar .head 4 + Number: SBS_SIZEBOX = 0x8 .head 5 - ! Description: Creates a size box ( maximize or minimize button ) .head 4 + Number: SBS_TOPALIGN = 0x2 .head 5 - ! Description: Align the scrollbar to the top of a rectangle .head 4 + Number: SBS_LEFTALIGN = 0x2 .head 5 - ! Description: Align the scrollbar to the left of a rectangle .head 4 + Number: SBS_BOTTOMALIGN = 0x4 .head 5 - ! Description: Align the scrollbar to the bottom of a rectangle .head 4 + Number: SBS_RIGHTALIGN = 0x4 .head 5 - ! Description: Align the scrollbar to the right of a rectangle .head 4 + Number: SBS_VERT = 0x1 .head 5 - ! Description: Vertical scrollbar .head 4 + Number: SBS_SIZEBOXTOPLEFT_ALIGN = 0x2 .head 5 - ! Description: Align size boxes to the top left of a rectangle .head 4 + Number: SBS_SIZEBOXBOTTOM_RIGHTALIGN = 0x4 .head 5 - ! Description: Align size boxes to the bottom right of a rectangle .head 4 + Number: SBS_SIZEGRIP = 0x10 .head 5 - ! Description: Creates a size box ( windows 95 style ) .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! GetSystemMetrics() codes .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: SM_CXSCREEN = 0 .head 5 - ! Description: X dimension of screen .head 4 + Number: SM_CYSCREEN = 1 .head 5 - ! Description: Y dimension of screen .head 4 + Number: SM_CXVSCROLL = 2 .head 5 - ! Description: X dimension of arrow in vertical scroll bar .head 4 + Number: SM_CYHSCROLL = 3 .head 5 - ! Description: Y dimension of arrow in horizontal scroll bar .head 4 + Number: SM_CYCAPTION = 4 .head 5 - ! Description: Y dimension of window caption .head 4 + Number: SM_CXBORDER = 5 .head 5 - ! Description: X dimension of non-sizeable borders .head 4 + Number: SM_CYBORDER = 6 .head 5 - ! Description: Y dimension of non-sizeable borders .head 4 + Number: SM_CXDLGFRAME = 7 .head 5 - ! Description: X dimension of dialog box borders .head 4 + Number: SM_CYDLGFRAME = 8 .head 5 - ! Description: Y dimension of dialog box borders .head 4 + Number: SM_CYVTHUMB = 9 .head 5 - ! Description: X dimension of scroll box on vertical scroll bar .head 4 + Number: SM_CXHTHUMB = 10 .head 5 - ! Description: X dimension of scroll box on horizontal scroll bar .head 4 + Number: SM_CXICON = 11 .head 5 - ! Description: X dimension of standard icon .head 4 + Number: SM_CYICON = 12 .head 5 - ! Description: Y dimension of standard icon .head 4 + Number: SM_CXCURSOR = 13 .head 5 - ! Description: Standard X dimension of cursor .head 4 + Number: SM_CYCURSOR = 14 .head 5 - ! Description: Standard Y dimension of cursor .head 4 + Number: SM_CYMENU = 15 .head 5 - ! Description: Y dimension of menu .head 4 + Number: SM_CXFULLSCREEN = 16 .head 5 - ! Description: X dimension of client area of maximized window .head 4 + Number: SM_CYFULLSCREEN = 17 .head 5 - ! Description: Y dimension of client area of maximized window .head 4 + Number: SM_CYKANJIWINDOW = 18 .head 5 - ! Description: Y dimension of Kanji window .head 4 + Number: SM_MOUSEPRESENT = 19 .head 5 - ! Description: TRUE if a mouse is present .head 4 + Number: SM_CYVSCROLL = 20 .head 5 - ! Description: Y dimension of arrow on horizontal scroll bar .head 4 + Number: SM_CXHSCROLL = 21 .head 5 - ! Description: X dimension of arrow on horizontal scroll bar .head 4 + Number: SM_DEBUG = 22 .head 5 - ! Description: TRUE if debugging version of windows is running .head 4 + Number: SM_SWAPBUTTON = 23 .head 5 - ! Description: TRUE if left and right mouse buttons are swapped .head 4 - Number: SM_RESERVED1 = 24 .head 4 - Number: SM_RESERVED2 = 25 .head 4 - Number: SM_RESERVED3 = 26 .head 4 - Number: SM_RESERVED4 = 27 .head 4 + Number: SM_CXMIN = 28 .head 5 - ! Description: Minimum X dimension of a window .head 4 + Number: SM_CYMIN = 29 .head 5 - ! Description: Minimum Y dimension of a window .head 4 + Number: SM_CXSIZE = 30 .head 5 - ! Description: X dimension of title bar bitmaps .head 4 + Number: SM_CYSIZE = 31 .head 5 - ! Description: Y dimension of title bar bitmaps .head 4 + Number: SM_CXFRAME = 32 .head 5 - ! Description: X dimension of sizeable border .head 4 + Number: SM_CYFRAME = 33 .head 5 - ! Description: Y dimension of sizeable border .head 4 + Number: SM_CXMINTRACK = 34 .head 5 - ! Description: Minimum X dimension of tracking .head 4 + Number: SM_CYMINTRACK = 35 .head 5 - ! Description: Minimum Y dimension of tracking .head 4 + Number: SM_CXDOUBLECLK = 36 .head 5 - ! Description: X dimension of double click area .head 4 + Number: SM_CYDOUBLECLK = 37 .head 5 - ! Description: Y dimension of double click area .head 4 + Number: SM_CXICONSPACING = 38 .head 5 - ! Description: X dimension of space between desktop icons .head 4 + Number: SM_CYICONSPACING = 39 .head 5 - ! Description: Y dimension of space between desktop icons .head 4 + Number: SM_MENUDROPALIGNMENT = 40 .head 5 - ! Description: Zero if pop-up menus are aligned to the left of the menu bar item. TRUE if the pop-up menu is aligned to the right of the menu bar item .head 4 + Number: SM_PENWINDOWS = 41 .head 5 - ! Description: The handle of the pen windows support DLL if loaded .head 4 + Number: SM_DBCSENABLED = 42 .head 5 - ! Description: TRUE if double byte characters are supported .head 4 + Number: SM_CMOUSEBUTTONS = 43 .head 5 - ! Description: Number of mouse buttons. Zero if no mouse .head 4 + Number: SM_CMETRICS = 44 .head 5 - ! Description: Number of available system metrics .head 4 + Number: SM_ARRANGE = 56 .head 5 - ! Description: Flags that set how Windows arranges minimized windows ( see ARW_* constants ) .head 4 + Number: SM_CLEANBOOT = 67 .head 5 - ! Description: Boot mode. 0 = normal 1 = safe 2 = safe with network .head 4 - Number: SM_CXDRAG = 68 .head 4 - Number: SM_CXEDGE = 45 .head 4 - Number: SM_CXFIXEDFRAME = SM_CXDLGFRAME .head 4 + Number: SM_CXMAXIMIZED = 61 .head 5 - ! Description: Default X dimension of maximized window .head 4 + Number: SM_CXMAXTRACK = 59 .head 5 - ! Description: Maximum X dimension of tracking width when resizing a window .head 4 + Number: SM_CXMENUCHECK = 71 .head 5 - ! Description: Size of X dimension of menu checkmark bitmap .head 4 + Number: SM_CXMENUSIZE = 54 .head 5 - ! Description: Maximum X dimension of tracking width when resizing a window .head 4 + Number: SM_CXMINIMIZED = 57 .head 5 - ! Description: Size of X dimension of rectangle in which minimized windows must fit. .head 4 - Number: SM_CXMINSPACING = 47 .head 4 + Number: SM_CXSIZEFRAME = SM_CXFRAME .head 5 - ! Description: Size of X dimension of window with WS_THICKFRAME style .head 4 + Number: SM_CXSMICON = 49 .head 5 - ! Description: Size of X dimension of small icon .head 4 + Number: SM_CXSMSIZE = 52 .head 5 - ! Description: Size of X dimension of small caption button .head 4 - Number: SM_CYDRAG = 69 .head 4 - Number: SM_CYEDGE = 46 .head 4 - Number: SM_CYFIXEDFRAME = SM_CYDLGFRAME .head 4 + Number: SM_CYMAXIMIZED = 62 .head 5 - ! Description: Default size of Y dimension of maximized window .head 4 + Number: SM_CYMAXTRACK = 60 .head 5 - ! Description: Maximum size of Y dimension of tracking width when resizing window .head 4 + Number: SM_CYMENUCHECK = 72 .head 5 - ! Description: Size of Y dimension of menu checkmark bitmap .head 4 + Number: SM_CYMENUSIZE = 55 .head 5 - ! Description: Size of Y dimension of button on menu bar .head 4 + Number: SM_CYMINIMIZED = 58 .head 5 - ! Description: Size of Y dimension of rectangle in which minimized windows must fit. .head 4 - Number: SM_CYMINSPACING = 48 .head 4 + Number: SM_CYSIZEFRAME = SM_CYFRAME .head 5 - ! Description: Size of Y dimension of window with WS_THICKFRAME style .head 4 - Number: SM_CYSMCAPTION = 51 .head 4 + Number: SM_CYSMICON = 50 .head 5 - ! Description: Size of Y dimension of small icon .head 4 + Number: SM_CYSMSIZE = 53 .head 5 - ! Description: Size of Y dimension of small caption button .head 4 + Number: SM_MIDEASTENABLED = 74 .head 5 - ! Description: Hebric and Arabic enabled .head 4 + Number: SM_NETWORK = 63 .head 5 - ! Description: Bit 0 is set if a network is present. Other bits are reserved. .head 4 + Number: SM_SECURE = 44 .head 5 - ! Description: TRUE if security is present .head 4 + Number: SM_SLOWMACHINE = 73 .head 5 - ! Description: System is too slow for effective use but is being run anyway .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Static control class style bits .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: SS_BLACKFRAME = 0x7 .head 5 - ! Description: Box whose frame is in the color used to draw window frames ( default= black ) .head 4 + Number: SS_BLACKRECT = 0x4 .head 5 - ! Description: Solid rectangle whose frame is in the color used to draw window frames ( default= black ) .head 4 + Number: SS_CENTER = 0x1 .head 5 - ! Description: Text is centered .head 4 + Number: SS_CENTERIMAGE = 0x200 .head 5 - ! Description: CentersText vertically in the image If the control contains an image, uses the upper-left pixel to fill any empty space in the control .head 4 + Number: SS_GRAYFRAME = 0x8 .head 5 - ! Description: Box whose frame is in the color used to draw the screen background ( default= gray ) .head 4 + Number: SS_GRAYRECT = 0x5 .head 5 - ! Description: Solid rectangle whose frame is in the color used to draw screen background ( default= gray ) .head 4 + Number: SS_ICON = 0x3 .head 5 - ! Description: When used in a dialog box, this displays an icon. The text contains a resource id to the icon in the file .head 4 - Number: SS_BITMAP = 0x0000000E .head 4 + Number: SS_LEFT = 0x0 .head 5 - ! Description: Default: Text is left-aligned .head 4 + Number: SS_LEFTNOWORDWRAP = 0xC .head 5 - ! Description: Same as SS_SIMPLE except tabs are expanded .head 4 + Number: SS_NOPREFIX = 0x80 .head 5 - ! Description: The & character does not cause the next character to be aligned .head 4 + Number: SS_RIGHT = 0x2 .head 5 - ! Description: Default: Text is right-aligned .head 4 + Number: SS_SIMPLE = 0xB .head 5 - ! Description: Simple box contained fixed text to display .head 4 + Number: SS_WHITEFRAME = 0x9 .head 5 - ! Description: Box whose frame is in the color used to fill window backgrounds ( default= white ) .head 4 + Number: SS_WHITERECT = 0x6 .head 5 - ! Description: Solid rectangle whose frame is in the color used to fill window backgrounds ( default= white ) .head 4 + Number: SS_OWNERDRAW = 0xD .head 5 - ! Description: A control that must be drawn by the application .head 4 + Number: SS_ENHMETAFILE = 0xF .head 5 - ! Description: Displays a metafile in the control. The controls text specifies the metafile .head 4 + Number: SS_ETCHEDHORZ = 0x11 .head 5 - ! Description: Uses the EDGE_ETCHED style of DrawEdge to draw the controls top and bottom sides .head 4 + Number: SS_ETCHEDVERT = 0x11 .head 5 - ! Description: Uses the EDGE_ETCHED style of DrawEdge to draw the controls left and right sides .head 4 + Number: SS_ETCHEDFRAME = 0x12 .head 5 - ! Description: Uses the EDGE_ETCHED style of DrawEdge to draw the controls frame .head 4 + Number: SS_NOTIFY = 0x100 .head 5 - ! Description: Causes the new Window 95 notifications STN_DBLCLICK/STN_DISABLE/STN_ENABLE to be sent to the parent control of the STATIC control STN_CLICKED .head 4 + Number: SS_RIGHTJUST = 0x400 .head 5 - ! Description: When the control is resized to fit a new image, the top and left edges of the control are moved instead rather than the bottom and right edges. .head 4 + Number: SS_REALSIZEIMAGE = 0x800 .head 5 - ! Description: Prevents resizing of the static control to fit the image .head 4 + Number: SS_SUNKEN = 0x1000 .head 5 - ! Description: Draws a sunken 3D style border around the control .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Static control class messages .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: STM_SETICON = 0x0170 .head 4 - Number: STM_GETICON = 0x0171 .head 4 - Number: STM_SETIMAGE = 0x0172 .head 4 - Number: STM_GETIMAGE = 0x0173 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Static control notification codes ( via WM_COMMAND to parent) .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: STN_CLICKED = 0 .head 4 - Number: STN_DBLCLK = 1 .head 4 - Number: STN_ENABLE = 2 .head 4 - Number: STN_DISABLE = 3 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Parameter for SystemParametersInfo() .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: SPI_GETBEEP = 1 .head 4 - Number: SPI_SETBEEP = 2 .head 4 - Number: SPI_GETMOUSE = 3 .head 4 - Number: SPI_SETMOUSE = 4 .head 4 - Number: SPI_GETBORDER = 5 .head 4 - Number: SPI_SETBORDER = 6 .head 4 - Number: SPI_GETKEYBOARDSPEED = 10 .head 4 - Number: SPI_SETKEYBOARDSPEED = 11 .head 4 - Number: SPI_LANGDRIVER = 12 .head 4 - Number: SPI_ICONHORIZONTALSPACING = 13 .head 4 - Number: SPI_GETSCREENSAVETIMEOUT = 14 .head 4 - Number: SPI_SETSCREENSAVETIMEOUT = 15 .head 4 - Number: SPI_GETSCREENSAVEACTIVE = 16 .head 4 - Number: SPI_SETSCREENSAVEACTIVE = 17 .head 4 - Number: SPI_GETGRIDGRANULARITY = 18 .head 4 - Number: SPI_SETGRIDGRANULARITY = 19 .head 4 - Number: SPI_SETDESKWALLPAPER = 20 .head 4 - Number: SPI_SETDESKPATTERN = 21 .head 4 - Number: SPI_GETKEYBOARDDELAY = 22 .head 4 - Number: SPI_SETKEYBOARDDELAY = 23 .head 4 - Number: SPI_ICONVERTICALSPACING = 24 .head 4 - Number: SPI_GETICONTITLEWRAP = 25 .head 4 - Number: SPI_SETICONTITLEWRAP = 26 .head 4 - Number: SPI_GETMENUDROPALIGNMENT = 27 .head 4 - Number: SPI_SETMENUDROPALIGNMENT = 28 .head 4 - Number: SPI_SETDOUBLECLKWIDTH = 29 .head 4 - Number: SPI_SETDOUBLECLKHEIGHT = 30 .head 4 - Number: SPI_GETICONTITLELOGFONT = 31 .head 4 - Number: SPI_SETDOUBLECLICKTIME = 32 .head 4 - Number: SPI_SETMOUSEBUTTONSWAP = 33 .head 4 - Number: SPI_SETICONTITLELOGFONT = 34 .head 4 - Number: SPI_GETFASTTASKSWITCH = 35 .head 4 - Number: SPI_SETFASTTASKSWITCH = 36 .head 4 - Number: SPI_SETDRAGFULLWINDOWS = 37 .head 4 - Number: SPI_GETDRAGFULLWINDOWS = 38 .head 4 - Number: SPI_GETNONCLIENTMETRICS = 41 .head 4 - Number: SPI_SETNONCLIENTMETRICS = 42 .head 4 - Number: SPI_GETMINIMIZEDMETRICS = 43 .head 4 - Number: SPI_SETMINIMIZEDMETRICS = 44 .head 4 - Number: SPI_GETICONMETRICS = 45 .head 4 - Number: SPI_SETICONMETRICS = 46 .head 4 - Number: SPI_SETWORKAREA = 47 .head 4 - Number: SPI_GETWORKAREA = 48 .head 4 - Number: SPI_SETPENWINDOWS = 49 .head 4 - Number: SPI_GETFILTERKEYS = 50 .head 4 - Number: SPI_SETFILTERKEYS = 51 .head 4 - Number: SPI_GETTOGGLEKEYS = 52 .head 4 - Number: SPI_SETTOGGLEKEYS = 53 .head 4 - Number: SPI_GETMOUSEKEYS = 54 .head 4 - Number: SPI_SETMOUSEKEYS = 55 .head 4 - Number: SPI_GETSHOWSOUNDS = 56 .head 4 - Number: SPI_SETSHOWSOUNDS = 57 .head 4 - Number: SPI_GETSTICKYKEYS = 58 .head 4 - Number: SPI_SETSTICKYKEYS = 59 .head 4 - Number: SPI_GETACCESSTIMEOUT = 60 .head 4 - Number: SPI_SETACCESSTIMEOUT = 61 .head 4 - Number: SPI_GETSERIALKEYS = 62 .head 4 - Number: SPI_SETSERIALKEYS = 63 .head 4 - Number: SPI_GETSOUNDSENTRY = 64 .head 4 - Number: SPI_SETSOUNDSENTRY = 65 .head 4 - Number: SPI_GETHIGHCONTRAST = 66 .head 4 - Number: SPI_SETHIGHCONTRAST = 67 .head 4 - Number: SPI_GETKEYBOARDPREF = 68 .head 4 - Number: SPI_SETKEYBOARDPREF = 69 .head 4 - Number: SPI_GETSCREENREADER = 70 .head 4 - Number: SPI_SETSCREENREADER = 71 .head 4 - Number: SPI_GETANIMATION = 72 .head 4 - Number: SPI_SETANIMATION = 73 .head 4 - Number: SPI_GETFONTSMOOTHING = 74 .head 4 - Number: SPI_SETFONTSMOOTHING = 75 .head 4 - Number: SPI_SETDRAGWIDTH = 76 .head 4 - Number: SPI_SETDRAGHEIGHT = 77 .head 4 - Number: SPI_SETHANDHELD = 78 .head 4 - Number: SPI_GETLOWPOWERTIMEOUT = 79 .head 4 - Number: SPI_GETPOWEROFFTIMEOUT = 80 .head 4 - Number: SPI_SETLOWPOWERTIMEOUT = 81 .head 4 - Number: SPI_SETPOWEROFFTIMEOUT = 82 .head 4 - Number: SPI_GETLOWPOWERACTIVE = 83 .head 4 - Number: SPI_GETPOWEROFFACTIVE = 84 .head 4 - Number: SPI_SETLOWPOWERACTIVE = 85 .head 4 - Number: SPI_SETPOWEROFFACTIVE = 86 .head 4 - Number: SPI_SETCURSORS = 87 .head 4 - Number: SPI_SETICONS = 88 .head 4 - Number: SPI_GETDEFAULTINPUTLANG = 89 .head 4 - Number: SPI_SETDEFAULTINPUTLANG = 90 .head 4 - Number: SPI_SETLANGTOGGLE = 91 .head 4 - Number: SPI_GETWINDOWSEXTENSION = 92 .head 4 - Number: SPI_SETMOUSETRAILS = 93 .head 4 - Number: SPI_GETMOUSETRAILS = 94 .head 4 - Number: SPI_SCREENSAVERRUNNING = 97 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! SystemParametersInfo flags .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: SPIF_UPDATEINIFILE = 0x01 .head 4 - Number: SPIF_SENDWININICHANGE = 0x02 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! ! ! WM_HSCROLL etc .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: SB_LINEUP = 0 .head 4 - Number: SB_LINELEFT = 0 .head 4 - Number: SB_LINEDOWN = 1 .head 4 - Number: SB_LINERIGHT = 1 .head 4 - Number: SB_PAGEUP = 2 .head 4 - Number: SB_PAGELEFT = 2 .head 4 - Number: SB_PAGEDOWN = 3 .head 4 - Number: SB_PAGERIGHT = 3 .head 4 - Number: SB_THUMBPOSITION = 4 .head 4 - Number: SB_THUMBTRACK = 5 .head 4 - Number: SB_TOP = 6 .head 4 - Number: SB_LEFT = 6 .head 4 - Number: SB_BOTTOM = 7 .head 4 - Number: SB_RIGHT = 7 .head 4 - Number: SB_ENDSCROLL = 8 .head 4 - Number: SB_HORZ = 0 .head 4 - Number: SB_VERT = 1 .head 4 - Number: SB_CTL = 2 .head 4 - Number: SB_BOTH = 3 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! Scroll bar messages .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: SBM_SETPOS = 0x0E0 .head 4 - Number: SBM_GETPOS = 0x0E1 .head 4 - Number: SBM_SETRANGE = 0x0E2 .head 4 - Number: SBM_SETRANGEREDRAW = 0x0E6 .head 4 - Number: SBM_GETRANGE = 0x0E3 .head 4 - Number: SBM_ENABLE_ARROWS = 0x0E4 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! ! ShowWindow constants .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: SW_HIDE = 0 .head 5 - ! Description: Hides the window. Activation passes to another window .head 4 + Number: SW_MINIMIZE = 6 .head 5 - ! Description: Minimize the window. Activation passes to another window .head 4 + Number: SW_RESTORE = 9 .head 5 - ! Description: Displays the window at its original size and activates it .head 4 + Number: SW_SHOW = 5 .head 5 - ! Description: Displays the window at its current size and location and activates it .head 4 + Number: SW_SHOWMAXIMIZED = 3 .head 5 - ! Description: Maximizes a window and activates it .head 4 + Number: SW_SHOWMINIMIZED = 2 .head 5 - ! Description: Minimizes a window and activates it .head 4 + Number: SW_SHOWMINNOACTIVE = 7 .head 5 - ! Description: Minimizes a window without changing the active window .head 4 + Number: SW_SHOWNA = 8 .head 5 - ! Description: Displays the window at its current size and location and does not change the activate window .head 4 + Number: SW_SHOWNOACTIVATE = 4 .head 5 - ! Description: Displays the window at its most recent size and location and does not change the activate window .head 4 + Number: SW_SHOWNORMAL = 1 .head 5 - ! Description: Displays the window at its original size and activates it .head 4 - Number: SW_NORMAL = 1 .head 4 + Number: SW_MAXIMIZE = 3 .head 5 - ! Description: Maximizes the window. Activation passes to another window .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! SetWindowPos .head 4 - ! ! ------------------------------------------------------------ .head 4 + Number: SWP_DRAWFRAME = 0x0001 .head 5 - ! Description: Draws a frame around the window .head 4 + Number: SWP_NOSIZE = 0x0001 .head 5 - ! Description: Retains current size .head 4 - Number: SWP_NOMOVE = 0x0002 .head 4 + Number: SWP_NOZORDER = 0x0004 .head 5 - ! Description: Retains current position in the window list .head 4 + Number: SWP_NOACTIVATE = 0x010 .head 5 - ! Description: Does not activate the window .head 4 + Number: SWP_HIDEWINDOW = 0x080 .head 5 - ! Description: Hides the window .head 4 + Number: SWP_NOREDRAW = 0x08 .head 5 - ! Description: Window is not automatically redrawn .head 4 + Number: SWP_SHOWWINDOW = 0x040 .head 5 - ! Description: Display the window .head 4 + Number: SWP_FRAMECHANGED = 0x020 .head 5 - ! Description: Forces a WM_NCCALCSIZE message to go to the window even if its size is unchanged .head 4 - Number: SWP_NOCOPYBITS = 0x0100 .head 4 - Number: SWP_NOOWNERZORDER = 0x0200 .head 4 - Number: SWP_NOSENDCHANGING = 0x0400 .head 4 - Number: SWP_ASYNCWINDOWPOS = 0x4000 .head 4 - Number: SWP_NOREPOSITION = SWP_NOOWNERZORDER .head 4 - Number: SWP_DEFERERASE = 0x2000 .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! WM_SIZE constants .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: SIZE_RESTORED = 0 .head 4 - Number: SIZE_MINIMIZED = 1 .head 4 - Number: SIZE_MAXIMIZED = 2 .head 4 - Number: SIZE_MAXSHOW = 3 .head 4 - Number: SIZE_MAXHIDE = 4 .head 4 - ! .head 4 - ! .head 4 - Number: HWND_TOP = 0 .head 4 - Number: HWND_BOTTOM = 1 .head 4 - Number: HWND_TOPMOST = -1 .head 4 - Number: HWND_NOTOPMOST = -2 .head 4 - ! .head 4 - ! WinWhere() Area Codes .head 4 - Number: HTERROR = (-2) .head 4 - Number: HTTRANSPARENT = (-1) .head 4 - Number: HTNOWHERE = 0 .head 4 - Number: HTCLIENT = 1 .head 4 - Number: HTCAPTION = 2 .head 4 - Number: HTSYSMENU = 3 .head 4 - Number: HTGROWBOX = 4 .head 4 - Number: HTSIZE = HTGROWBOX .head 4 - Number: HTMENU = 5 .head 4 - Number: HTHSCROLL = 6 .head 4 - Number: HTVSCROLL = 7 .head 4 - Number: HTREDUCE = 8 .head 4 - Number: HTZOOM = 9 .head 4 - Number: HTLEFT = 10 .head 4 - Number: HTRIGHT = 11 .head 4 - Number: HTTOP = 12 .head 4 - Number: HTTOPLEFT = 13 .head 4 - Number: HTTOPRIGHT = 14 .head 4 - Number: HTBOTTOM = 15 .head 4 - Number: HTBOTTOMLEFT = 16 .head 4 - Number: HTBOTTOMRIGHT = 17 .head 4 - Number: HTBORDER = 18 .head 4 - Number: HTSIZEFIRST = HTLEFT .head 4 - Number: HTSIZELAST = HTBOTTOMRIGHT .head 4 - ! .head 4 - ! Activate messages WM_ACTIVATE .head 4 - Number: WA_INACTIVE = 0 .head 4 - Number: WA_ACTIVE = 1 .head 4 - Number: WA_CLICKACTIVE = 2 .head 4 - ! .head 4 - ! Activate messaged WM_MOUSEACTIVATE .head 4 - Number: MA_ACTIVATE = 1 .head 4 - Number: MA_NOACTIVATE = 3 .head 4 - Number: MA_ACTIVATEANDEAT = 2 .head 4 - Number: MA_NOACTIVATEANDEAT = 4 .head 4 - ! .head 4 - ! Text Align Parameters .head 4 - Number: TA_CENTER = 6 .head 4 - Number: TA_LEFT = 0 .head 4 - Number: TA_RIGHT = 2 .head 4 - Number: TA_TOP = 0 .head 4 - Number: TA_BASELINE = 24 .head 4 - Number: TA_BOTTOM = 8 .head 4 - Number: TA_NOUPDATECP = 0 .head 4 - Number: TA_UPDATECP = 1 .head 4 - Number: TA_RTLREADING = 256 .head 4 - Number: VTA_BASELINE = TA_BASELINE .head 4 - Number: VTA_LEFT = TA_BOTTOM .head 4 - Number: VTA_RIGHT = TA_TOP .head 4 - Number: VTA_CENTER = TA_CENTER .head 4 - Number: VTA_BOTTOM = TA_RIGHT .head 4 - Number: VTA_TOP = TA_LEFT .head 4 - Number: ETO_GRAYED = 0x1 .head 4 - Number: ETO_OPAQUE = 0x0002 .head 4 - Number: ETO_CLIPPED = 0x0004 .head 4 - Number: ETO_GLYPH_INDEX = 0x0010 .head 4 - Number: ETO_RTLREADING = 0x0080 .head 4 - Number: ETO_IGNORELANGUAGE = 0x1000 .head 4 - ! .head 4 - ! Graphics Modes .head 4 - Number: GM_COMPATIBLE = 1 .head 4 - Number: GM_ADVANCED = 2 .head 4 - Number: GM_LAST = 2 .head 4 - ! .head 4 - ! Background Modes .head 4 - Number: TRANSPARENT = 1 .head 4 - Number: OPAQUE = 2 .head 4 - Number: BKMODE_LAST = 2 .head 4 - ! .head 4 - ! Font Weights .head 4 - Number: FW_DONTCARE = 0 .head 4 - Number: FW_THIN = 100 .head 4 - Number: FW_EXTRALIGHT = 200 .head 4 - Number: FW_LIGHT = 300 .head 4 - Number: FW_NORMAL = 400 .head 4 - Number: FW_MEDIUM = 500 .head 4 - Number: FW_SEMIBOLD = 600 .head 4 - Number: FW_BOLD = 700 .head 4 - Number: FW_EXTRABOLD = 800 .head 4 - Number: FW_HEAVY = 900 .head 4 - Number: FW_ULTRALIGHT = FW_EXTRALIGHT .head 4 - Number: FW_REGULAR = FW_NORMAL .head 4 - Number: FW_DEMIBOLD = FW_SEMIBOLD .head 4 - Number: FW_ULTRABOLD = FW_EXTRABOLD .head 4 - Number: FW_BLACK = FW_HEAVY .head 4 - ! .head 4 - ! Notify Icon Message .head 4 - Number: NIM_ADD = 0x00000000 .head 4 - Number: NIM_MODIFY = 0x00000001 .head 4 - Number: NIM_DELETE = 0x00000002 .head 4 - Number: NIF_MESSAGE = 1 .head 4 - Number: NIF_ICON = 2 .head 4 - Number: NIF_TIP = 4 .head 4 - ! .head 4 - ! .head 4 - ! Error Codes .head 4 - Number: ERROR_FILE_NOT_FOUND = 2 .head 4 - Number: ERROR_PATH_NOT_FOUND = 3 .head 4 - Number: ERROR_TOO_MANY_OPEN_FILES = 4 .head 4 - Number: ERROR_ACCESS_DENIED = 5 .head 4 - Number: ERROR_INVALID_HANDLE = 6 .head 4 - Number: ERROR_NOT_ENOUGH_MEMORY = 8 .head 4 - Number: ERROR_BAD_FORMAT = 11 .head 4 - Number: ERROR_OUTOFMEMORY = 14 .head 4 - Number: ERROR_INVALID_DRIVE = 15 .head 4 - Number: ERROR_CURRENT_DIRECTORY = 16 .head 4 - Number: ERROR_NOT_SAME_DEVICE = 17 .head 4 - Number: ERROR_NO_MORE_FILES = 18 .head 4 - Number: ERROR_WRITE_PROTECT = 19 .head 4 - Number: ERROR_NOT_READY = 21 .head 4 - Number: ERROR_BAD_COMMAND = 22 .head 4 - Number: ERROR_OUT_OF_PAPER = 28 .head 4 - Number: ERROR_WRITE_FAULT = 29 .head 4 - Number: ERROR_READ_FAULT = 30 .head 4 - Number: ERROR_SHARING_VIOLATION = 32 .head 4 - Number: ERROR_LOCK_VIOLATION = 33 .head 4 - Number: ERROR_WRONG_DISK = 34 .head 4 - Number: ERROR_HANDLE_EOF = 38 .head 4 - Number: ERROR_HANDLE_DISK_FULL = 39 .head 4 - Number: ERROR_NOT_SUPPORTED = 50 .head 4 - ! .head 4 - ! ShellExecute Error Codes .head 4 - Number: SE_ERR_FNF = 2 .head 4 - Number: SE_ERR_PNF = 3 .head 4 - Number: SE_ERR_ACCESSDENIED = 5 .head 4 - Number: SE_ERR_OOM = 8 .head 4 - Number: SE_ERR_DLLNOTFOUND = 32 .head 4 - Number: SE_ERR_SHARE = 26 .head 4 - Number: SE_ERR_ASSOCINCOMPLETE = 27 .head 4 - Number: SE_ERR_DDETIMEOUT = 28 .head 4 - Number: SE_ERR_DDEFAIL = 29 .head 4 - Number: SE_ERR_DDEBUSY = 30 .head 4 - Number: SE_ERR_NOASSOC = 31 .head 4 - ! .head 4 - Number: SEE_MASK_INVOKEIDLIST = 0x0000000c .head 4 - ! 3D border styles .head 4 - Number: BDR_RAISEDOUTER = 0x0001 .head 4 - Number: BDR_SUNKENOUTER = 0x0002 .head 4 - Number: BDR_RAISEDINNER = 0x0004 .head 4 - Number: BDR_SUNKENINNER = 0x0008 .head 4 - Number: BDR_OUTER = 0x0003 .head 4 - Number: BDR_INNER = 0x000c .head 4 - Number: BDR_RAISED = 0x0005 .head 4 - Number: BDR_SUNKEN = 0x000a .head 4 - Number: EDGE_RAISED = (BDR_RAISEDOUTER | BDR_RAISEDINNER) .head 4 - Number: EDGE_SUNKEN = (BDR_SUNKENOUTER | BDR_SUNKENINNER) .head 4 - Number: EDGE_ETCHED = (BDR_SUNKENOUTER | BDR_RAISEDINNER) .head 4 - Number: EDGE_BUMP = (BDR_RAISEDOUTER | BDR_SUNKENINNER) .head 4 - Number: BF_LEFT = 0x0001 .head 4 - Number: BF_TOP = 0x0002 .head 4 - Number: BF_RIGHT = 0x0004 .head 4 - Number: BF_BOTTOM = 0x0008 .head 4 - Number: BF_TOPLEFT = (BF_TOP | BF_LEFT) .head 4 - Number: BF_TOPRIGHT = (BF_TOP | BF_RIGHT) .head 4 - Number: BF_BOTTOMLEFT = (BF_BOTTOM | BF_LEFT) .head 4 - Number: BF_BOTTOMRIGHT = (BF_BOTTOM | BF_RIGHT) .head 4 - Number: BF_RECT = (BF_LEFT | BF_TOP | BF_RIGHT | BF_BOTTOM) .head 4 - Number: BF_DIAGONAL = 0x0010 .head 4 - Number: BF_DIAGONAL_ENDTOPRIGHT = (BF_DIAGONAL | BF_TOP | BF_RIGHT) .head 4 - Number: BF_DIAGONAL_ENDTOPLEFT = (BF_DIAGONAL | BF_TOP | BF_LEFT) .head 4 - Number: BF_DIAGONAL_ENDBOTTOMLEFT = (BF_DIAGONAL | BF_BOTTOM | BF_LEFT) .head 4 - Number: BF_DIAGONAL_ENDBOTTOMRIGHT = (BF_DIAGONAL | BF_BOTTOM | BF_RIGHT) .head 4 - Number: BF_MIDDLE = 0x0800 .head 4 - Number: BF_SOFT = 0x1000 .head 4 - Number: BF_ADJUST = 0x2000 .head 4 - Number: BF_FLAT = 0x4000 .head 4 - Number: BF_MONO = 0x8000 .head 4 - ! .head 4 - ! Standard Icon IDs .head 4 - Number: IDI_APPLICATION = 32512 .head 4 - Number: IDI_HAND = 32513 .head 4 - Number: IDI_QUESTION = 32514 .head 4 - Number: IDI_EXCLAMATION = 32515 .head 4 - Number: IDI_ASTERISK = 32516 .head 4 - Number: IDI_WINLOGO = 32517 .head 4 - ! .head 4 - ! //-- Hook codes --// .head 4 - Number: HC_ACTION = 0 .head 4 - Number: HC_GETNEXT = 1 .head 4 - Number: HC_SKIP = 2 .head 4 - Number: HC_NOREMOVE = 3 .head 4 - Number: HC_NOREM = HC_NOREMOVE .head 4 - Number: HC_SYSMODALON = 4 .head 4 - Number: HC_SYSMODALOFF = 5 .head 4 - ! .head 4 - ! //-- CBT hook codes --// .head 4 - Number: HCBT_MOVESIZE = 0 .head 4 - Number: HCBT_MINMAX = 1 .head 4 - Number: HCBT_QS = 2 .head 4 - Number: HCBT_CREATEWND = 3 .head 4 - Number: HCBT_DESTROYWND = 4 .head 4 - Number: HCBT_ACTIVATE = 5 .head 4 - Number: HCBT_CLICKSKIPPED = 6 .head 4 - Number: HCBT_KEYSKIPPED = 7 .head 4 - Number: HCBT_SYSCOMMAND = 8 .head 4 - Number: HCBT_SETFOCUS = 9 .head 4 - ! .head 4 - ! // Shell support for hook codes --// .head 4 - Number: HSHELL_WINDOWCREATED = 1 .head 4 - Number: HSHELL_WINDOWDESTROYED = 2 .head 4 - Number: HSHELL_ACTIVATESHELLWINDOW = 3 .head 4 - Number: HSHELL_WINDOWACTIVATED = 4 .head 4 - Number: HSHELL_GETMINRECT = 5 .head 4 - Number: HSHELL_REDRAW = 6 .head 4 - Number: HSHELL_TASKMAN = 7 .head 4 - Number: HSHELL_LANGUAGE = 8 .head 4 - ! .head 4 - ! SetWindowsHook() codes .head 4 - Number: WH_MIN = (-1) .head 4 - Number: WH_MSGFILTER = (-1) .head 4 - Number: WH_JOURNALRECORD = 0 .head 4 - Number: WH_JOURNALPLAYBACK = 1 .head 4 - Number: WH_KEYBOARD = 2 .head 4 - Number: WH_GETMESSAGE = 3 .head 4 - Number: WH_CALLWNDPROC = 4 .head 4 - Number: WH_CBT = 5 .head 4 - Number: WH_SYSMSGFILTER = 6 .head 4 - Number: WH_MOUSE = 7 .head 4 - Number: WH_HARDWARE = 8 .head 4 - Number: WH_DEBUG = 9 .head 4 - Number: WH_SHELL = 10 .head 4 - Number: WH_FOREGROUNDIDLE = 11 .head 4 - Number: WH_CALLWNDPROCRET = 12 .head 4 - Number: WH_MAX = 12 .head 4 - Number: WH_MINHOOK = WH_MIN .head 4 - Number: WH_MAXHOOK = WH_MAX .head 4 - ! .head 4 - ! Flags for TrackPopupMenu .head 4 - Number: TPM_LEFTBUTTON = 0x0000 .head 4 - Number: TPM_RIGHTBUTTON = 0x0002 .head 4 - Number: TPM_LEFTALIGN = 0x0000 .head 4 - Number: TPM_CENTERALIGN = 0x0004 .head 4 - Number: TPM_RIGHTALIGN = 0x0008 .head 4 - Number: TPM_TOPALIGN = 0x0000 .head 4 - Number: TPM_VCENTERALIGN = 0x0010 .head 4 - Number: TPM_BOTTOMALIGN = 0x0020 .head 4 - Number: TPM_HORIZONTAL = 0x0000 .head 4 - Number: TPM_VERTICAL = 0x0040 .head 4 - Number: TPM_NONOTIFY = 0x0080 .head 4 - Number: TPM_RETURNCMD = 0x0100 .head 4 - ! .head 4 - ! Flags for sndPlaySound .head 4 - Number: SND_SYNC = 0x0000 .head 4 - Number: SND_ASYNC = 0x0001 .head 4 - Number: SND_NODEFAULT = 0x0002 .head 4 - Number: SND_MEMORY = 0x0004 .head 4 - Number: SND_LOOP = 0x0008 .head 4 - Number: SND_NOSTOP = 0x0010 .head 4 - ! .head 4 - Number: SIF_RANGE = 0x0001 .head 4 - Number: SIF_PAGE = 0x0002 .head 4 - Number: SIF_POS = 0x0004 .head 4 - Number: SIF_DISABLENOSCROLL = 0x0008 .head 4 - Number: SIF_TRACKPOS = 0x0010 .head 4 - Number: SIF_ALL = SIF_RANGE | SIF_PAGE | SIF_POS | SIF_TRACKPOS .head 4 - Number: SCROLLINFO_SIZE = 28 .head 4 - ! .head 4 - ! Responses for Modifying Network Connections .head 4 - Number: WN_SUCCESS = 0x0000 .head 4 - Number: WN_NOT_SUPPORTED = 0x0001 .head 4 - Number: WN_NET_ERROR = 0x0002 .head 4 - Number: WN_MORE_DATA = 0x0003 .head 4 - Number: WN_BAD_POINTER = 0x0004 .head 4 - Number: WN_BAD_VALUE = 0x0005 .head 4 - Number: WN_BAD_PASSWORD = 0x0006 .head 4 - Number: WN_ACCESS_DENIED = 0x0007 .head 4 - Number: WN_FUNCTION_BUSY = 0x0008 .head 4 - Number: WN_WINDOWS_ERROR = 0x0009 .head 4 - Number: WN_BAD_USER = 0x000A .head 4 - Number: WN_OUT_OF_MEMORY = 0x000B .head 4 - Number: WN_CANCEL = 0x000C .head 4 - Number: WN_CONTINUE = 0x000D .head 4 - Number: WN_NOT_CONNECTED = 0x0030 .head 4 - Number: WN_OPEN_FILES = 0x0031 .head 4 - Number: WN_BAD_NETNAME = 0x0032 .head 4 - Number: WN_BAD_LOCALNAME = 0x0033 .head 4 - Number: WN_ALREADY_CONNECTED = 0x0034 .head 4 - Number: WN_DEVICE_ERROR = 0x0035 .head 4 - Number: WN_CONNECTION_CLOSED = 0x0036 .head 4 - ! .head 4 - ! Constants for BitBlt .head 4 - Number: BLACKNESS = 0x00000042 .head 4 - Number: DSTINVERT = 0x00550009 .head 4 - Number: MERGECOPY = 0x00C000CA .head 4 - Number: MERGEPAINT = 0x00BB0226 .head 4 - Number: NOTSRCCOPY = 0x00330008 .head 4 - Number: NOTSRCERASE = 0x001100A6 .head 4 - Number: PATCOPY = 0x00F00021 .head 4 - Number: PATINVERT = 0x005A0049 .head 4 - Number: PATPAINT = 0x00FB0A09 .head 4 - Number: SRCAND = 0x008800C6 .head 4 - Number: SRCCOPY = 0x00CC0020 .head 4 - Number: SRCERASE = 0x00440328 .head 4 - Number: SRCINVERT = 0x00660046 .head 4 - Number: SRCPAINT = 0x00EE0086 .head 4 - Number: WHITENESS = 0x00FF0062 .head 4 - ! .head 4 - ! ! //---------------GetDeviceCaps() in USER32.dll constants---------------// .head 4 - Number: ASPECTX = 40 .head 4 - Number: ASPECTY = 42 .head 4 - Number: ASPECTXY = 44 .head 4 - Number: BITSPIXEL = 12 .head 4 - Number: CLIPCAPS = 36 .head 4 - Number: COLORRES = 108 .head 4 - Number: CURVECAPS = 28 .head 4 - Number: DRIVERVERSION = 0 .head 4 - Number: HORZSIZE = 4 .head 4 - Number: HORZRES = 8 .head 4 - Number: LINECAPS = 30 .head 4 - Number: LOGPIXELSX = 88 .head 4 - Number: LOGPIXELSY = 90 .head 4 - Number: NUMBRUSHES = 16 .head 4 - Number: NUMCOLORS = 24 .head 4 - Number: NUMPENS = 18 .head 4 - Number: NUMFONTS = 22 .head 4 - Number: NUMMARKERS = 20 .head 4 - Number: NUMRESERVED = 106 .head 4 - Number: PDEVICESIZE = 26 .head 4 - Number: PHYSICALOFFSETX = 112 ! printer-specific .head 4 - Number: PHYSICALOFFSETY = 113 ! printer-specific .head 4 - Number: PHYSICALWIDTH = 110 ! printer-specific .head 4 - Number: PHYSICALHEIGHT = 111 ! printer-specific .head 4 - Number: PLANES = 14 .head 4 - Number: POLYGONALCAPS = 32 .head 4 - Number: RASTERCAPS = 38 .head 4 - Number: SIZEPALETTE = 104 .head 4 - Number: TECHNOLOGY = 2 .head 4 - Number: TEXTCAPS = 34 .head 4 - Number: VERTRES = 10 .head 4 - Number: VERTSIZE = 6 .head 4 - ! .head 4 - Number: KEYEVENTF_KEYUP = 0x0002 .head 4 - ! Virtuelle Tastencodes .head 4 - Number: VK_LBUTTON = 0x0001 .head 4 - Number: VK_RBUTTON = 0x0002 .head 4 - Number: VK_CANCEL = 0x0003 .head 4 - Number: VK_MBUTTON = 0x0004 .head 4 - Number: VK_BACK = 0x0008 .head 4 - Number: VK_TAB = 0x0009 .head 4 - Number: VK_CLEAR = 0x000C .head 4 - Number: VK_RETURN = 0x000D .head 4 - Number: VK_SHIFT = 0x0010 .head 4 - Number: VK_CONTROL = 0x0011 .head 4 - Number: VK_MENU = 0x0012 .head 4 - Number: VK_PAUSE = 0x0013 .head 4 - Number: VK_CAPITAL = 0x0014 .head 4 - Number: VK_ESCAPE = 0x001B .head 4 - Number: VK_SPACE = 0x0020 .head 4 - Number: VK_PRIOR = 0x0021 .head 4 - Number: VK_NEXT = 0x0022 .head 4 - Number: VK_END = 0x0023 .head 4 - Number: VK_HOME = 0x0024 .head 4 - Number: VK_LEFT = 0x0025 .head 4 - Number: VK_UP = 0x0026 .head 4 - Number: VK_RIGHT = 0x0027 .head 4 - Number: VK_DOWN = 0x0028 .head 4 - Number: VK_SELECT = 0x0029 .head 4 - Number: VK_PRINT = 0x002A .head 4 - Number: VK_EXECUTE = 0x002B .head 4 - Number: VK_SNAPSHOT = 0x002C .head 4 - Number: VK_INSERT = 0x002D .head 4 - Number: VK_DELETE = 0x002E .head 4 - Number: VK_HELP = 0x002F .head 4 - Number: VK_LWIN = 0x005B .head 4 - Number: VK_NUMPAD0 = 0x0060 .head 4 - Number: VK_NUMPAD1 = 0x0061 .head 4 - Number: VK_NUMPAD2 = 0x0062 .head 4 - Number: VK_NUMPAD3 = 0x0063 .head 4 - Number: VK_NUMPAD4 = 0x0064 .head 4 - Number: VK_NUMPAD5 = 0x0065 .head 4 - Number: VK_NUMPAD6 = 0x0066 .head 4 - Number: VK_NUMPAD7 = 0x0067 .head 4 - Number: VK_NUMPAD8 = 0x0068 .head 4 - Number: VK_NUMPAD9 = 0x0069 .head 4 - Number: VK_MULTIPLY = 0x006A .head 4 - Number: VK_ADD = 0x006B .head 4 - Number: VK_SEPARATOR = 0x006C .head 4 - Number: VK_SUBTRACT = 0x006D .head 4 - Number: VK_DECIMAL = 0x006E .head 4 - Number: VK_DIVIDE = 0x006F .head 4 - Number: VK_F13 = 0x007C .head 4 - Number: VK_F14 = 0x007D .head 4 - Number: VK_F15 = 0x007E .head 4 - Number: VK_F16 = 0x007F .head 4 - Number: VK_F17 = 0x0080 .head 4 - Number: VK_F18 = 0x0081 .head 4 - Number: VK_F19 = 0x0082 .head 4 - Number: VK_F20 = 0x0083 .head 4 - Number: VK_F21 = 0x0084 .head 4 - Number: VK_F22 = 0x0085 .head 4 - Number: VK_F23 = 0x0086 .head 4 - Number: VK_F24 = 0x0087 .head 4 - Number: VK_NUMLOCK = 0x0090 .head 4 - Number: VK_OEM_SCROLL = 0x0091 .head 4 - Number: VK_SCROLL = 0x0091 .head 4 - ! .head 4 - ! VK from the keyboard driver .head 4 - Number: VK_KANA = 0x0015 .head 4 - Number: VK_ROMAJI = 0x0016 .head 4 - Number: VK_ZENKAKU = 0x0017 .head 4 - Number: VK_HIRAGANA = 0x0018 .head 4 - Number: VK_KANJI = 0x0019 .head 4 - ! .head 4 - ! VK to send to Applications .head 4 - Number: VK_CONVERT = 0x001C .head 4 - Number: VK_NONCONVERT = 0x001D .head 4 - Number: VK_ACCEPT = 0x001E .head 4 - Number: VK_MODECHANGE = 0x001F .head 4 - ! .head 4 - ! LocalAlloc, LocalReAlloc .head 4 - Number: LMEM_FIXED = 0x0000 .head 4 - Number: LMEM_MOVEABLE = 0x0002 .head 4 - Number: LMEM_NOCOMPACT = 0x0010 .head 4 - Number: LMEM_NODISCARD = 0x0020 .head 4 - Number: LMEM_ZEROINIT = 0x0040 .head 4 - Number: LMEM_MODIFY = 0x0080 .head 4 - Number: LMEM_DISCARDABLE = 0x0F00 .head 4 - ! .head 4 - ! SetErrorMode() .head 4 - Number: SEM_FAILCRITICALERRORS = 0x0001 .head 4 - Number: SEM_NOGPFAULTERRORBOX = 0x0002 .head 4 - Number: SEM_NOOPENFILEERRORBOX = 0x8000 .head 4 - ! .head 4 - ! GetWinFlags() .head 4 - Number: WF_PMODE = 0x0001 .head 4 - Number: WF_STANDARD = 0x0010 .head 4 - Number: WF_WIN286 = 0x0010 .head 4 - Number: WF_ENHANCED = 0x0020 .head 4 - Number: WF_WIN386 = 0x0020 .head 4 - Number: WF_CPU086 = 0x0040 .head 4 - Number: WF_CPU186 = 0x0080 .head 4 - Number: WF_LARGEFRAME = 0x0100 .head 4 - Number: WF_SMALLFRAME = 0x0200 .head 4 - Number: WF_80X87 = 0x0400 .head 4 - Number: WF_PAGING = 0x0800 .head 4 - ! .head 4 - ! Constants passed to WinHelp .head 4 - Number: HELP_CONTENTS = 0x0003 .head 4 - Number: HELP_SETCONTENTS = 0x0005 .head 4 - Number: HELP_CONTEXTPOPUP = 0x0008 .head 4 - Number: HELP_FORCEFILE = 0x0009 .head 4 - Number: HELP_COMMAND = 0x0102 .head 4 - Number: HELP_PARTIALKEY = 0x0105 .head 4 - Number: HELP_SETWINPOS = 0x0203 .head 4 - Number: HELP_ = 0x0003 .head 4 - ! .head 4 - ! GetFreeSystemRecsources() .head 4 - Number: GFSR_SYSTEMRESOURCES = 0x0000 .head 4 - Number: GFSR_GDIRESOURCES = 0x0001 .head 4 - Number: GFSR_USERRESOURCES = 0x0002 .head 4 - ! .head 4 - ! Get/SetWindowLong/Word .head 4 - Number: GWW_HINSTANCE = -6 .head 4 - Number: GWW_HWNDPARENT = -8 .head 4 - Number: GWW_ID = -12 .head 4 - ! .head 4 - ! Key State Masks for Mouse Messages .head 4 - Number: MK_LBUTTON = 0x0001 .head 4 - Number: MK_RBUTTON = 0x0002 .head 4 - Number: MK_SHIFT = 0x0004 .head 4 - Number: MK_CONTROL = 0x0008 .head 4 - Number: MK_MBUTTON = 0x0010 .head 4 - ! .head 4 - ! wm_KeyUp/Down/Char HiWord(lParam) flags .head 4 - Number: KF_EXTENDED = 0x0100 .head 4 - Number: KF_DLGMODE = 0x0800 .head 4 - Number: KF_MENUMODE = 0x1000 .head 4 - Number: KF_ALTDOWN = 0x2000 .head 4 - Number: KF_REPEAT = 0x4000 .head 4 - Number: KF_UP = 0x8000 .head 4 - ! .head 4 - ! ! ------------------------------------------------------------ .head 4 - ! ! ! WM_SYSCOMMAND constants .head 4 - ! System Menu Command Values .head 4 - ! ! ------------------------------------------------------------ .head 4 - Number: SC_SIZE = 0xF000 .head 4 - Number: SC_MOVE = 0xF010 .head 4 - Number: SC_MINIMIZE = 0xF020 .head 4 - Number: SC_MAXIMIZE = 0xF030 .head 4 - Number: SC_NEXTWINDOW = 0xF040 .head 4 - Number: SC_PREVWINDOW = 0xF050 .head 4 - Number: SC_CLOSE = 0xF060 .head 4 - Number: SC_VSCROLL = 0xF070 .head 4 - Number: SC_HSCROLL = 0xF080 .head 4 - Number: SC_MOUSEMENU = 0xF100 .head 4 - Number: SC_KEYMENU = 0xF110 .head 4 - Number: SC_ARRANGE = 0xF110 .head 4 - Number: SC_RESTORE = 0xF120 .head 4 - Number: SC_TASKLIST = 0xF130 .head 4 - Number: SC_ICON = SC_MINIMIZE .head 4 - Number: SC_ZOOM = SC_MAXIMIZE .head 4 - Number: SC_SCREENSAVE = 0xF140 .head 4 - Number: SC_HOTKEY = 0xF150 .head 4 - Number: CP_DIRECT = 2 .head 4 - Number: SC_RESTORE_DIRECT = SC_RESTORE | CP_DIRECT .head 4 - ! .head 4 - ! Standard Cursor ID's .head 4 - String: IDC_ARROW = '32512' .head 4 - String: IDC_IBEAM = '32513' .head 4 - String: IDC_WAIT = '32514' .head 4 - String: IDC_CROSS = '32515' .head 4 - String: IDC_UPARROW = '32516' .head 4 - String: IDC_SIZE = '32640' .head 4 - String: IDC_ICON = '32641' .head 4 - String: IDC_SIZENWSE = '32642' .head 4 - String: IDC_SIZENESW = '32643' .head 4 - String: IDC_SIZEWE = '32644' .head 4 - String: IDC_SIZENS = '32645' .head 4 - ! .head 4 - Number: SC_CONTEXTHELP = 0xF180 .head 4 - ! .head 4 - ! Flags for SHFileOperation() .head 4 - Number: FO_MOVE = 1 .head 4 - Number: FO_COPY = 2 .head 4 - Number: FO_DELETE = 3 .head 4 - Number: FO_RENAME = 4 .head 4 - Number: FOF_MULTIDESTFILES = 0x0001 .head 4 - Number: FOF_SILENT = 0x0004 ! don't create progress/report .head 4 - Number: FOF_RENAMEONCOLLISION = 0x0008 ! if file exists, give it another name .head 4 - Number: FOF_NOCONFIRMATION = 0x0010 ! Don't prompt the user .head 4 - Number: FOF_ALLOWUNDO = 0x0040 ! move deleted files to recycle bin .head 4 - Number: FOF_FILESONLY = 0x0080 ! on *.*, do only files .head 4 - Number: FOF_SIMPLEPROGRESS = 0x0100 ! means don't show names of files .head 4 - Number: FOF_NOCONFIRMMKDIR = 0x0200 ! don't confirm making any needed dirs .head 4 - Number: FOF_NOERRORUI = 0x0400 ! don't put up error UI .head 4 - ! .head 4 - ! //-- DrawText() format flags --// .head 4 - Number: DT_TOP = 0x00000000 .head 4 - Number: DT_LEFT = 0x00000000 .head 4 - Number: DT_CENTER = 0x00000001 .head 4 - Number: DT_RIGHT = 0x00000002 .head 4 - Number: DT_VCENTER = 0x00000004 .head 4 - Number: DT_BOTTOM = 0x00000008 .head 4 - Number: DT_WORDBREAK = 0x00000010 .head 4 - Number: DT_SINGLELINE = 0x00000020 .head 4 - Number: DT_EXPANDTABS = 0x00000040 .head 4 - Number: DT_TABSTOP = 0x00000080 .head 4 - Number: DT_NOCLIP = 0x00000100 .head 4 - Number: DT_EXTERNALLEADING = 0x00000200 .head 4 - Number: DT_CALCRECT = 0x00000400 .head 4 - Number: DT_NOPREFIX = 0x00000800 .head 4 - Number: DT_INTERNAL = 0x00001000 .head 4 - Number: DT_EDITCONTROL = 0x00002000 .head 4 - Number: DT_PATH_ELLIPSIS = 0x00004000 .head 4 - Number: DT_END_ELLIPSIS = 0x00008000 .head 4 - Number: DT_MODIFYSTRING = 0x00010000 .head 4 - Number: DT_RTLREADING = 0x00020000 .head 4 - Number: DT_WORD_ELLIPSIS = 0x00040000 .head 4 - ! .head 4 - ! //-- Image constants --// .head 4 - Number: LR_DEFAULTCOLOR = 0x0000 .head 4 - Number: LR_MONOCHROME = 0x0001 .head 4 - Number: LR_COLOR = 0x0002 .head 4 - Number: LR_COPYRETURNORG = 0x0004 .head 4 - Number: LR_COPYDELETEORG = 0x0008 .head 4 - Number: LR_LOADFROMFILE = 0x0010 .head 4 - Number: LR_LOADTRANSPARENT = 0x0020 .head 4 - Number: LR_DEFAULTSIZE = 0x0040 .head 4 - Number: LR_VGACOLOR = 0x0080 .head 4 - Number: LR_LOADMAP3DCOLORS = 0x1000 .head 4 - Number: LR_CREATEDIBSECTION = 0x2000 .head 4 - Number: LR_COPYFROMRESOURCE = 0x4000 .head 4 - Number: LR_SHARED = 0x8000 .head 4 - Number: IMAGE_BITMAP = 0 .head 4 - Number: IMAGE_ICON = 1 .head 4 - Number: IMAGE_CURSOR = 2 .head 4 - ! .head 4 - ! //-- ExitWindowEx constants --// .head 4 - Number: EWX_LOGOFF = 0 .head 4 - Number: EWX_SHUTDOWN = 0x00000001 .head 4 - Number: EWX_REBOOT = 0x00000002 .head 4 - Number: EWX_FORCE = 0x00000004 .head 4 - Number: EWX_POWEROFF = 0x00000008 .head 4 - ! .head 4 - ! ! - GetOpenFileName constants .head 4 - Number: OFN_READONLY = 0x00000001 .head 4 - Number: OFN_OVERWRITEPROMPT = 0x00000002 .head 4 - Number: OFN_HIDEREADONLY = 0x00000004 .head 4 - Number: OFN_NOCHANGEDIR = 0x00000008 .head 4 - Number: OFN_SHOWHELP = 0x00000010 .head 4 - Number: OFN_ENABLEHOOK = 0x00000020 .head 4 - Number: OFN_ENABLETEMPLATE = 0x00000040 .head 4 - Number: OFN_ENABLETEMPLATEHANDLE = 0x00000080 .head 4 - Number: OFN_NOVALIDATE = 0x00000100 .head 4 - Number: OFN_ALLOWMULTISELECT = 0x00000200 .head 4 - Number: OFN_EXTENSIONDIFFERENT = 0x00000400 .head 4 - Number: OFN_PATHMUSTEXIST = 0x00000800 .head 4 - Number: OFN_FILEMUSTEXIST = 0x00001000 .head 4 - Number: OFN_CREATEPROMPT = 0x00002000 .head 4 - Number: OFN_SHAREAWARE = 0x00004000 .head 4 - Number: OFN_NOREADONLYRETURN = 0x00008000 .head 4 - Number: OFN_NOTESTFILECREATE = 0x00010000 .head 4 - Number: OFN_NONETWORKBUTTON = 0x00020000 .head 4 - Number: OFN_NOLONGNAMES = 0x00040000 .head 4 - Number: OFN_EXPLORER = 0x00080000 .head 4 - Number: OFN_NODEREFERENCELINKS = 0x00100000 .head 4 - Number: OFN_LONGNAMES = 0x00200000 .head 4 - Number: OFN_ENABLEINCLUDENOTIFY = 0x00400000 .head 4 - Number: OFN_ENABLESIZING = 0x00800000 .head 4 - Number: OFN_USEMONIKERS = 0x01000000 .head 4 - Number: OFN_DONTADDTORECENT = 0x02000000 .head 4 - Number: OFN_FORCESHOWHIDDEN = 0x10000000 .head 4 - Number: OFN_SHAREWARN = 0 .head 4 - Number: OFN_SHARENOWARN = 1 .head 4 - Number: OFN_SHAREFALLTHROUGH = 2 .head 4 - Number: OFN_EX_NOPLACESBAR = 0x00000001 .head 4 - ! .head 4 - ! ! GetLocaleInfoA(..) constants .head 4 - Number: LOCALE_SSHORTDATE = 0x0000001F .head 4 - Number: LOCALE_STIMEFORMAT = 0x00001003 .head 4 - Number: LOCALE_SDECIMAL = 0x0000000E .head 4 - Number: LOCALE_SYSTEM_DEFAULT = 0x00000800 .head 4 - Number: LOCALE_USER_DEFAULT = 0x00000400 .head 4 - ! ! !*** SetLocalTime .head 4 - Number: HWND_BROADCAST = 0xffff .head 4 - ! .head 4 - ! Shell SH...(...) function constant .head 4 - Number: CSIDL_RECENT = 0x0008 .head 4 - Number: SHARD_PATHA = 0x00000002 .head 4 + Number: SHGFI_ICON = 0x00000100 .head 5 - ! get icon .head 4 + Number: SHGFI_DISPLAYNAME = 0x00000200 .head 5 - ! get display name .head 4 + Number: SHGFI_TYPENAME = 0x00000400 .head 5 - ! et type name .head 4 + Number: SHGFI_ATTRIBUTES = 0x00000800 .head 5 - ! get attributes .head 4 + Number: SHGFI_ICONLOCATION = 0x00001000 .head 5 - ! get icon location .head 4 + Number: SHGFI_EXETYPE = 0x00002000 .head 5 - ! return exe type .head 4 + Number: SHGFI_SYSICONINDEX= 0x00004000 .head 5 - ! get system icon index .head 4 + Number: SHGFI_LINKOVERLAY = 0x00008000 .head 5 - ! put a link overlay on icon .head 4 + Number: SHGFI_SELECTED = 0x00010000 .head 5 - ! show icon in selected state .head 4 + Number: SHGFI_ATTR_SPECIFIED= 0x00020000 .head 5 - ! get only specified attributes .head 4 + Number: SHGFI_LARGEICON = 0x00000000 .head 5 - ! get large icon .head 4 + Number: SHGFI_SMALLICON = 0x00000001 .head 5 - ! get small icon .head 4 + Number: SHGFI_OPENICON = 0x00000002 .head 5 - ! get open icon .head 4 + Number: SHGFI_SHELLICONSIZE = 0x00000004 .head 5 - ! get shell size icon .head 4 + Number: SHGFI_PIDL = 0x00000008 .head 5 - ! pszPath is a pidl .head 4 + Number: SHGFI_USEFILEATTRIBUTES = 0x00000010 .head 5 - ! use passed dwFileAttribute .head 4 - ! .head 4 - ! SHBrowseForFolder(...) flags .head 4 - Number: BIF_BROWSEFORCOMPUTER = 0x1000 ! Browsing for Computers .head 4 - Number: BIF_BROWSEFORPRINTER = 0x2000 ! Browsing for Printers .head 4 - Number: BIF_BROWSEINCLUDEFILES = 0x4000 ! Browsing for Everything .head 4 - Number: BIF_DONTGOBELOWDOMAIN = 0x0002 ! Don't show network folders .head 4 - Number: BIF_EDITBOX = 0x0010 ! Show data field for editing .head 4 - Number: BIF_RETURNFSANCESTORS = 0x0008 ! Show only file system anchestors .head 4 - Number: BIF_RETURNONLYFSDIRS = 0x0001 ! Show only file system directories .head 4 - Number: BIF_STATUSTEXT = 0x0004 ! Show status area with status text .head 4 - Number: BIF_VALIDATE = 0x0020 ! Validate the content of the data field .head 4 - ! .head 4 - ! ! - OS Versions for GetVersionExA() .head 4 - Number: VERSION_OS_95 = 0 .head 4 - Number: VERSION_OS_95_OSR1 = 1 .head 4 - Number: VERSION_OS_95_OSR2 = 2 .head 4 - Number: VERSION_OS_95_OSR21 = 3 .head 4 - Number: VERSION_OS_95_OSR25 = 4 .head 4 - Number: VERSION_OS_98 = 5 .head 4 - Number: VERSION_OS_98_SE = 6 .head 4 - Number: VERSION_OS_NT_351 = 7 .head 4 - Number: VERSION_OS_NT_4 = 8 .head 4 - Number: VERSION_OS_2000 = 9 .head 4 - Number: VERSION_OS_ME = 10 .head 4 - Number: VERSION_OS_WHISTLER = 11 .head 4 - ! ! ! .head 4 - Number: VER_PLATFORM_WIN32s = 0 .head 4 - Number: VER_PLATFORM_WIN32_WINDOWS = 1 .head 4 - Number: VER_PLATFORM_WIN32_NT = 2 .head 4 - ! ! .head 4 - ! ! SetLayeredWindowAttributes() .head 4 + Number: LWA_ALPHA = 0x0002 .head 5 - ! Use to determine the opacity of the layered window.. .head 4 + Number: LWA_COLORKEY = 0x0001 .head 5 - ! Use as the transparency color. .head 4 - ! .head 4 - ! DlgDirListA in user32.dll constants .head 4 - Number: DDL_READWRITE = 0x0000 .head 4 - Number: DDL_READONLY = 0x0001 .head 4 - Number: DDL_HIDDEN = 0x0002 .head 4 - Number: DDL_SYSTEM = 0x0004 .head 4 - Number: DDL_DIRECTORY = 0x0010 .head 4 - Number: DDL_ARCHIVE = 0x0020 .head 4 - Number: DDL_POSTMSGS = 0x2000 .head 4 - Number: DDL_DRIVES = 0x4000 .head 4 - Number: DDL_EXCLUSIVE = 0x8000 .head 4 - ! .head 4 - Number: ICON_SMALL = 0 .head 4 - Number: ICON_BIG = 1 .head 4 - ! .head 4 - ! ! ! fьr Kernel-Functions FileWrite/CreateFileA in Kernel32.dll .head 4 - Number: INVALID_HANDLE_VALUE = -1 .head 4 - Number: OPEN_EXISTING = 3 .head 4 - Number: FILE_SHARE_READ = 0x00000001 .head 4 - Number: FILE_ATTRIBUTE_NORMAL = 0x00000080 .head 4 - Number: GENERIC_WRITE = 0x40000000 .head 4 - Number: GENERIC_READ = 0x80000000 .head 4 - ! ! ! fьr Kernel- Function OpenProcess .head 4 - Number: STANDARD_RIGHTS_REQUIRED = 0x000F0000 .head 4 - Number: SYNCHRONIZE = 0x00100000 .head 4 - Number: PROCESS_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0xFFF) .head 4 - ! ! ! for Kernel-Function CreateMutexA .head 4 - Number: ERROR_ALREADY_EXISTS = 183 .head 3 - User .head 3 - Enumerations .head 2 - Resources .head 2 - Variables .head 2 - Named Menus .head 2 - Internal Functions .head 2 - Class Definitions .head 2 + Default Classes .head 3 - MDI Window: .head 3 - Form Window: .head 3 - Dialog Box: .head 3 - Table Window: .head 3 - Quest Window: .head 3 - Data Field: .head 3 - Spin Field: .head 3 - Multiline Field: .head 3 - Pushbutton: .head 3 - Radio Button: .head 3 - Check Box: .head 3 - Option Button: .head 3 - Child Table: .head 3 - Quest Child Window: .head 3 - List Box: .head 3 - Combo Box: .head 3 - Picture: .head 3 - Vertical Scroll Bar: .head 3 - Horizontal Scroll Bar: .head 3 - Column: .head 3 - Background Text: .head 3 - Group Box: .head 3 - Line: .head 3 - Frame: .head 3 - Custom Control: .head 3 - ActiveX: .head 2 - Application Actions
Return to http://gupta.narod.ru/