en:docs:win16:modules:user

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:win16:modules:user [2026/04/30 07:59] prokusheven:docs:win16:modules:user [2026/05/28 06:37] (current) prokushev
Line 4: Line 4:
 | 1 | [[en:docs:win16:api:user:MessageBox]] | Displays a modal dialog box that contains a system icon, a set of buttons, and a brief application-specific message | | | | 1 | [[en:docs:win16:api:user:MessageBox]] | Displays a modal dialog box that contains a system icon, a set of buttons, and a brief application-specific message | | |
 | 2 | [[en:docs:win16:api:user:OldExitWindows]] | Immediately terminate the entire Windows session by directly invoking the DOS “terminate program” interrupt (INT 21h, Function 4Ch) | Done | | | 2 | [[en:docs:win16:api:user:OldExitWindows]] | Immediately terminate the entire Windows session by directly invoking the DOS “terminate program” interrupt (INT 21h, Function 4Ch) | Done | |
-| 5 | [[en:docs:win16:api:user:InitApp]] | Initializes an application instance | | | +| 5 | [[en:docs:win16:api:user:InitApp]] | Initializes an application instance | Done | | 
-| 6 | [[en:docs:win16:api:user:PostQuitMessage]] | Indicates that the application has requested to terminate | | | +| 6 | [[en:docs:win16:api:user:PostQuitMessage]] | Indicates that the application has requested to terminate | Done | | 
-| 7 | [[en:docs:win16:api:user:ExitWindows]] | Shuts down Windows and restarts the operating system | | | +| 7 | [[en:docs:win16:api:user:ExitWindows]] | Shuts down Windows and restarts the operating system | Done | | 
-| 10 | [[en:docs:win16:api:user:SetTimer]] | Creates a timer with the specified time-out value | | | +| 10 | [[en:docs:win16:api:user:SetTimer]] | Creates a timer with the specified time-out value | Done | | 
-| 11 | [[en:docs:win16:api:user:BEAR11]] | | | | +| 11 | [[en:docs:win16:api:user:BEAR11]] | Undocumented SetSystemTimer function. Creates a system timer with the specified time-out value| | | 
-| 12 | [[en:docs:win16:api:user:KillTimer]] | Destroys the specified timer | | |+| 12 | [[en:docs:win16:api:user:KillTimer]] | Destroys the specified timer | Done | |
 | 13 | [[en:docs:win16:api:user:GetTickCount]] | Retrieves the number of milliseconds that have elapsed since the system was started | Done | | | 13 | [[en:docs:win16:api:user:GetTickCount]] | Retrieves the number of milliseconds that have elapsed since the system was started | Done | |
 | 14 | [[en:docs:win16:api:user:GetTimerResolution]] | Retrieves the minimum timer resolution for the system | | | | 14 | [[en:docs:win16:api:user:GetTimerResolution]] | Retrieves the minimum timer resolution for the system | | |
Line 25: Line 25:
 | 26 | [[en:docs:win16:api:user:SetProp]] | Adds a new entry or changes an existing entry in a window's property list | | | | 26 | [[en:docs:win16:api:user:SetProp]] | Adds a new entry or changes an existing entry in a window's property list | | |
 | 27 | [[en:docs:win16:api:user:EnumProps]] | Enumerates all entries in a window's property list | | | | 27 | [[en:docs:win16:api:user:EnumProps]] | Enumerates all entries in a window's property list | | |
-| 28 | [[en:docs:win16:api:user:ClientToScreen]] | Converts the client-area coordinates of a specified point to screen coordinates | | | +| 28 | [[en:docs:win16:api:user:ClientToScreen]] | Converts the client-area coordinates of a specified point to screen coordinates | Done | | 
-| 29 | [[en:docs:win16:api:user:ScreenToClient]] | Converts the screen coordinates of a specified point to client coordinates | | | +| 29 | [[en:docs:win16:api:user:ScreenToClient]] | Converts the screen coordinates of a specified point to client coordinates | Done | | 
-| 30 | [[en:docs:win16:api:user:WindowFromPoint]] | Retrieves the handle of the window that contains the specified point | | |+| 30 | [[en:docs:win16:api:user:WindowFromPoint]] | Retrieves the handle of the window that contains the specified point | Done | |
 | 31 | [[en:docs:win16:api:user:IsIconic]] | Determines whether the specified window is minimized (iconic) | | | | 31 | [[en:docs:win16:api:user:IsIconic]] | Determines whether the specified window is minimized (iconic) | | |
-| 32 | [[en:docs:win16:api:user:GetWindowRect]] | Retrieves the dimensions of the bounding rectangle of the specified window | | | +| 32 | [[en:docs:win16:api:user:GetWindowRect]] | Retrieves the dimensions of the bounding rectangle of the specified window | Done | | 
-| 33 | [[en:docs:win16:api:user:GetClientRect]] | Retrieves the coordinates of a window's client area | | | +| 33 | [[en:docs:win16:api:user:GetClientRect]] | Retrieves the coordinates of a window's client area | Done | | 
-| 34 | [[en:docs:win16:api:user:EnableWindow]] | Enables or disables mouse and keyboard input to the specified window | | |+| 34 | [[en:docs:win16:api:user:EnableWindow]] | Enables or disables mouse and keyboard input to the specified window | Done | |
 | 35 | [[en:docs:win16:api:user:IsWindowEnabled]] | Determines whether the specified window is enabled for mouse and keyboard input | | | | 35 | [[en:docs:win16:api:user:IsWindowEnabled]] | Determines whether the specified window is enabled for mouse and keyboard input | | |
 | 36 | [[en:docs:win16:api:user:GetWindowText]] | Copies the text of the specified window's title bar into a buffer | Done | | | 36 | [[en:docs:win16:api:user:GetWindowText]] | Copies the text of the specified window's title bar into a buffer | Done | |
Line 40: Line 40:
 | 41 | [[en:docs:win16:api:user:CreateWindow]] | Creates an overlapped, pop-up, or child window | Done | | | 41 | [[en:docs:win16:api:user:CreateWindow]] | Creates an overlapped, pop-up, or child window | Done | |
 | 42 | [[en:docs:win16:api:user:ShowWindow]] | Sets the specified window's show state | Done | | | 42 | [[en:docs:win16:api:user:ShowWindow]] | Sets the specified window's show state | Done | |
-| 43 | [[en:docs:win16:api:user:CloseWindow]] | Minimizes (but does not destroy) the specified window | | |+| 43 | [[en:docs:win16:api:user:CloseWindow]] | Minimizes (but does not destroy) the specified window | Done | |
 | 44 | [[en:docs:win16:api:user:OpenIcon]] | Restores a minimized (iconic) window to its previous size and position | | | | 44 | [[en:docs:win16:api:user:OpenIcon]] | Restores a minimized (iconic) window to its previous size and position | | |
 | 45 | [[en:docs:win16:api:user:BringWindowToTop]] | Brings the specified window to the top of the Z order | | | | 45 | [[en:docs:win16:api:user:BringWindowToTop]] | Brings the specified window to the top of the Z order | | |
-| 46 | [[en:docs:win16:api:user:GetParent]] | Retrieves the handle of the specified window's parent window | | |+| 46 | [[en:docs:win16:api:user:GetParent]] | Retrieves the handle of the specified window's parent window | Done | |
 | 47 | [[en:docs:win16:api:user:IsWindow]] | Determines whether the specified handle is a window handle | Done | | | 47 | [[en:docs:win16:api:user:IsWindow]] | Determines whether the specified handle is a window handle | Done | |
 | 48 | [[en:docs:win16:api:user:IsChild]] | Determines whether a window is a child window of the specified parent window | | | | 48 | [[en:docs:win16:api:user:IsChild]] | Determines whether a window is a child window of the specified parent window | | |
Line 49: Line 49:
 | 50 | [[en:docs:win16:api:user:FindWindow]] | Retrieves the handle to the top-level window whose class name and window name match the specified strings | | | | 50 | [[en:docs:win16:api:user:FindWindow]] | Retrieves the handle to the top-level window whose class name and window name match the specified strings | | |
 | 52 | [[en:docs:win16:api:user:AnyPopup]] | Indicates whether an owned, visible, top-level pop-up, or overlapped window exists on the screen | | | | 52 | [[en:docs:win16:api:user:AnyPopup]] | Indicates whether an owned, visible, top-level pop-up, or overlapped window exists on the screen | | |
-| 53 | [[en:docs:win16:api:user:DestroyWindow]] | Destroys the specified window | | |+| 53 | [[en:docs:win16:api:user:DestroyWindow]] | Destroys the specified window | Done | |
 | 54 | [[en:docs:win16:api:user:EnumWindows]] | Enumerates all top-level windows on the screen | | | | 54 | [[en:docs:win16:api:user:EnumWindows]] | Enumerates all top-level windows on the screen | | |
 | 55 | [[en:docs:win16:api:user:EnumChildWindows]] | Enumerates the child windows that belong to the specified parent window | | | | 55 | [[en:docs:win16:api:user:EnumChildWindows]] | Enumerates the child windows that belong to the specified parent window | | |
 | 56 | [[en:docs:win16:api:user:MoveWindow]] | Changes the position and dimensions of the specified window | Done | | | 56 | [[en:docs:win16:api:user:MoveWindow]] | Changes the position and dimensions of the specified window | Done | |
 | 57 | [[en:docs:win16:api:user:RegisterClass]] | Registers a window class for subsequent use in calls to the CreateWindow function | Done | | | 57 | [[en:docs:win16:api:user:RegisterClass]] | Registers a window class for subsequent use in calls to the CreateWindow function | Done | |
-| 58 | [[en:docs:win16:api:user:GetClassName]] | Retrieves the name of the class to which the specified window belongs | | |+| 58 | [[en:docs:win16:api:user:GetClassName]] | Retrieves the name of the class to which the specified window belongs | Done | |
 | 59 | [[en:docs:win16:api:user:SetActiveWindow]] | Sets the specified window to the active window | Done | | | 59 | [[en:docs:win16:api:user:SetActiveWindow]] | Sets the specified window to the active window | Done | |
 | 60 | [[en:docs:win16:api:user:GetActiveWindow]] | Retrieves the handle to the active window | Done | | | 60 | [[en:docs:win16:api:user:GetActiveWindow]] | Retrieves the handle to the active window | Done | |
Line 82: Line 82:
 | 84 | [[en:docs:win16:api:user:DrawIcon]] | Draws an icon or cursor into the specified device context | Done | | | 84 | [[en:docs:win16:api:user:DrawIcon]] | Draws an icon or cursor into the specified device context | Done | |
 | 85 | [[en:docs:win16:api:user:DrawText]] | Draws formatted text in the specified rectangle | Done | | | 85 | [[en:docs:win16:api:user:DrawText]] | Draws formatted text in the specified rectangle | Done | |
-| 86 | [[en:docs:win16:api:user:BEAR86]] | | | |+| 86 | [[en:docs:win16:api:user:BEAR86]] | Undocumenter IconSize | | |
 | 87 | [[en:docs:win16:api:user:DialogBox]] | Creates a modal dialog box from a dialog box template resource | Done | | | 87 | [[en:docs:win16:api:user:DialogBox]] | Creates a modal dialog box from a dialog box template resource | Done | |
 | 88 | [[en:docs:win16:api:user:EndDialog]] | Destroys a modal dialog box, causing the system to end any processing for the dialog box | Done | | | 88 | [[en:docs:win16:api:user:EndDialog]] | Destroys a modal dialog box, causing the system to end any processing for the dialog box | Done | |
 | 89 | [[en:docs:win16:api:user:CreateDialog]] | Creates a modeless dialog box from a dialog box template resource | Done | | | 89 | [[en:docs:win16:api:user:CreateDialog]] | Creates a modeless dialog box from a dialog box template resource | Done | |
-| 90 | [[en:docs:win16:api:user:IsDialogMessage]] | Determines whether a message is intended for the specified dialog box and, if it is, processes the message | | | +| 90 | [[en:docs:win16:api:user:IsDialogMessage]] | Determines whether a message is intended for the specified dialog box and, if it is, processes the message | Done | | 
-| 91 | [[en:docs:win16:api:user:GetDlgItem]] | Retrieves the handle of a control in the specified dialog box | | |+| 91 | [[en:docs:win16:api:user:GetDlgItem]] | Retrieves the handle of a control in the specified dialog box | Done | |
 | 92 | [[en:docs:win16:api:user:SetDlgItemText]] | Sets the title or text of a control in a dialog box | Done | | | 92 | [[en:docs:win16:api:user:SetDlgItemText]] | Sets the title or text of a control in a dialog box | Done | |
 | 93 | [[en:docs:win16:api:user:GetDlgItemText]] | Retrieves the title or text associated with a control in a dialog box | Done | | | 93 | [[en:docs:win16:api:user:GetDlgItemText]] | Retrieves the title or text associated with a control in a dialog box | Done | |
-| 94 | [[en:docs:win16:api:user:SetDlgItemInt]] | Sets the text of a control in a dialog box to the string representation of a specified integer value | | | +| 94 | [[en:docs:win16:api:user:SetDlgItemInt]] | Sets the text of a control in a dialog box to the string representation of a specified integer value | Done | | 
-| 95 | [[en:docs:win16:api:user:GetDlgItemInt]] | Retrieves the text of the specified control by converting it to an integer value | | |+| 95 | [[en:docs:win16:api:user:GetDlgItemInt]] | Retrieves the text of the specified control by converting it to an integer value | Done | |
 | 96 | [[en:docs:win16:api:user:CheckRadioButton]] | Adds a check mark to (checks) a specified radio button in a group and removes a check mark from (clears) all other radio buttons in the group | | | | 96 | [[en:docs:win16:api:user:CheckRadioButton]] | Adds a check mark to (checks) a specified radio button in a group and removes a check mark from (clears) all other radio buttons in the group | | |
 | 97 | [[en:docs:win16:api:user:CheckDlgButton]] | Changes the check state of a button control | Done | | | 97 | [[en:docs:win16:api:user:CheckDlgButton]] | Changes the check state of a button control | Done | |
Line 99: Line 99:
 | 101 | [[en:docs:win16:api:user:SendDlgItemMessage]] | Sends a message to the specified control in a dialog box | Done | | | 101 | [[en:docs:win16:api:user:SendDlgItemMessage]] | Sends a message to the specified control in a dialog box | Done | |
 | 102 | [[en:docs:win16:api:user:AdjustWindowRect]] | Calculates the required size of the window rectangle based on the desired client rectangle size | | | | 102 | [[en:docs:win16:api:user:AdjustWindowRect]] | Calculates the required size of the window rectangle based on the desired client rectangle size | | |
-| 103 | [[en:docs:win16:api:user:MapDialogRect]] | Converts the dialog-box coordinates of a specified rectangle to screen coordinates | | |+| 103 | [[en:docs:win16:api:user:MapDialogRect]] | Converts the dialog-box coordinates of a specified rectangle to screen coordinates | Done | |
 | 104 | [[en:docs:win16:api:user:MessageBeep]] | Plays a waveform sound corresponding to the specified alert type | | | | 104 | [[en:docs:win16:api:user:MessageBeep]] | Plays a waveform sound corresponding to the specified alert type | | |
 | 105 | [[en:docs:win16:api:user:FlashWindow]] | Flashes the specified window one time | | | | 105 | [[en:docs:win16:api:user:FlashWindow]] | Flashes the specified window one time | | |
Line 108: Line 108:
 | 110 | [[en:docs:win16:api:user:PostMessage]] | Places (posts) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message | Done | | | 110 | [[en:docs:win16:api:user:PostMessage]] | Places (posts) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message | Done | |
 | 111 | [[en:docs:win16:api:user:SendMessage]] | Sends the specified message to a window or windows and does not return until the window procedure has processed the message | Done | | | 111 | [[en:docs:win16:api:user:SendMessage]] | Sends the specified message to a window or windows and does not return until the window procedure has processed the message | Done | |
-| 112 | [[en:docs:win16:api:user:WaitMessage]] | Yields control to other threads when a thread has no other messages in its message queue | | | +| 112 | [[en:docs:win16:api:user:WaitMessage]] | Yields control to other threads when a thread has no other messages in its message queue | Done | | 
-| 113 | [[en:docs:win16:api:user:TranslateMessage]] | Translates virtual-key messages into character messages | | |+| 113 | [[en:docs:win16:api:user:TranslateMessage]] | Translates virtual-key messages into character messages | Done | |
 | 114 | [[en:docs:win16:api:user:DispatchMessage]] | Dispatches a message to a window procedure | Done | | | 114 | [[en:docs:win16:api:user:DispatchMessage]] | Dispatches a message to a window procedure | Done | |
 | 115 | [[en:docs:win16:api:user:ReplyMessage]] | Used to reply to a message sent through the SendMessage function without returning control to the function that called SendMessage | | | | 115 | [[en:docs:win16:api:user:ReplyMessage]] | Used to reply to a message sent through the SendMessage function without returning control to the function that called SendMessage | | |
Line 117: Line 117:
 | 120 | [[en:docs:win16:api:user:GetMessageTime]] | Retrieves the message time for the last message retrieved by the GetMessage function | | | | 120 | [[en:docs:win16:api:user:GetMessageTime]] | Retrieves the message time for the last message retrieved by the GetMessage function | | |
 | 121 | [[en:docs:win16:api:user:SetWindowsHook]] | Installs an application-defined hook procedure into a hook chain | Done | | | 121 | [[en:docs:win16:api:user:SetWindowsHook]] | Installs an application-defined hook procedure into a hook chain | Done | |
-| 122 | [[en:docs:win16:api:user:CallWindowProc]] | Passes message information to the specified window procedure | | |+| 122 | [[en:docs:win16:api:user:CallWindowProc]] | Passes message information to the specified window procedure | Done | |
 | 123 | [[en:docs:win16:api:user:CallMsgFilter]] | Passes a message and hook code to the hook procedures associated with the WH_SYSMSGFILTER and WH_MSGFILTER hooks | | | | 123 | [[en:docs:win16:api:user:CallMsgFilter]] | Passes a message and hook code to the hook procedures associated with the WH_SYSMSGFILTER and WH_MSGFILTER hooks | | |
 | 124 | [[en:docs:win16:api:user:UpdateWindow]] | Updates the client area of the specified window by sending a WM_PAINT message to the window if the window's update region is not empty | Done | | | 124 | [[en:docs:win16:api:user:UpdateWindow]] | Updates the client area of the specified window by sending a WM_PAINT message to the window if the window's update region is not empty | Done | |
Line 124: Line 124:
 | 127 | [[en:docs:win16:api:user:ValidateRect]] | Removes a rectangle from the specified window's update region, validating the rectangle | Done | | | 127 | [[en:docs:win16:api:user:ValidateRect]] | Removes a rectangle from the specified window's update region, validating the rectangle | Done | |
 | 128 | [[en:docs:win16:api:user:ValidateRgn]] | Removes a region from the specified window's update region, validating the region | Done | | | 128 | [[en:docs:win16:api:user:ValidateRgn]] | Removes a region from the specified window's update region, validating the region | Done | |
-| 129 | [[en:docs:win16:api:user:GetClassWord]] | Retrieves the address of the specified window class's menu name string | | | +| 129 | [[en:docs:win16:api:user:GetClassWord]] | Retrieves the address of the specified window class's menu name string | Done | | 
-| 130 | [[en:docs:win16:api:user:SetClassWord]] | Replaces the address of the menu name string for the specified window class | | | +| 130 | [[en:docs:win16:api:user:SetClassWord]] | Replaces the address of the menu name string for the specified window class | Done | | 
-| 131 | [[en:docs:win16:api:user:GetClassLong]] | Retrieves the specified 32-bit value from the window class structure | | | +| 131 | [[en:docs:win16:api:user:GetClassLong]] | Retrieves the specified 32-bit value from the window class structure | Done | | 
-| 132 | [[en:docs:win16:api:user:SetClassLong]] | Replaces the specified 32-bit value in the window class structure | | | +| 132 | [[en:docs:win16:api:user:SetClassLong]] | Replaces the specified 32-bit value in the window class structure | Done | | 
-| 133 | [[en:docs:win16:api:user:GetWindowWord]] | Retrieves the specified 16-bit value from the window structure | | | +| 133 | [[en:docs:win16:api:user:GetWindowWord]] | Retrieves the specified 16-bit value from the window structure | Done | | 
-| 134 | [[en:docs:win16:api:user:SetWindowWord]] | Replaces the specified 16-bit value in the window structure | | | +| 134 | [[en:docs:win16:api:user:SetWindowWord]] | Replaces the specified 16-bit value in the window structure | Done | | 
-| 135 | [[en:docs:win16:api:user:GetWindowLong]] | Retrieves the specified 32-bit value from the window structure | | | +| 135 | [[en:docs:win16:api:user:GetWindowLong]] | Retrieves the specified 32-bit value from the window structure | Done | | 
-| 136 | [[en:docs:win16:api:user:SetWindowLong]] | Replaces the specified 32-bit value in the window structure | | |+| 136 | [[en:docs:win16:api:user:SetWindowLong]] | Replaces the specified 32-bit value in the window structure | Done | |
 | 137 | [[en:docs:win16:api:user:OpenClipboard]] | Opens the clipboard for examination and prevents other applications from modifying the clipboard content | | | | 137 | [[en:docs:win16:api:user:OpenClipboard]] | Opens the clipboard for examination and prevents other applications from modifying the clipboard content | | |
 | 138 | [[en:docs:win16:api:user:CloseClipboard]] | Closes the clipboard | | | | 138 | [[en:docs:win16:api:user:CloseClipboard]] | Closes the clipboard | | |
Line 176: Line 176:
 | 180 | [[en:docs:win16:api:user:GetSysColor]] | Retrieves the current color of the specified display element | Done | | | 180 | [[en:docs:win16:api:user:GetSysColor]] | Retrieves the current color of the specified display element | Done | |
 | 181 | [[en:docs:win16:api:user:SetSysColors]] | Sets the colors for one or more display elements | Done | | | 181 | [[en:docs:win16:api:user:SetSysColors]] | Sets the colors for one or more display elements | Done | |
-| 182 | [[en:docs:win16:api:user:BEAR182]] | | | |+| 182 | [[en:docs:win16:api:user:BEAR182]] | Undocumented KillSystemTimer | | |
 | 183 | [[en:docs:win16:api:user:GetCaretPos]] | Retrieves the current position of the caret | Done | | | 183 | [[en:docs:win16:api:user:GetCaretPos]] | Retrieves the current position of the caret | Done | |
 | 184 | [[en:docs:win16:api:user:QuerySendMessage]] | Determines whether the message was sent from another task using the SendMessage function | | | | 184 | [[en:docs:win16:api:user:QuerySendMessage]] | Determines whether the message was sent from another task using the SendMessage function | | |
Line 189: Line 189:
 | 194 | [[en:docs:win16:api:user:DlgDirSelectComboBox]] | Retrieves the current selection from a combo box filled by the DlgDirListComboBox function | Done | | | 194 | [[en:docs:win16:api:user:DlgDirSelectComboBox]] | Retrieves the current selection from a combo box filled by the DlgDirListComboBox function | Done | |
 | 195 | [[en:docs:win16:api:user:DlgDirListComboBox]] | Fills a combo box with a file or directory listing | | | | 195 | [[en:docs:win16:api:user:DlgDirListComboBox]] | Fills a combo box with a file or directory listing | | |
-| 196 | [[en:docs:win16:api:user:TabbedTextOut]] | Writes a character string at a specified location, expanding tabs to the values specified in an array of tab-stop positions | | | +| 196 | [[en:docs:win16:api:user:TabbedTextOut]] | Writes a character string at a specified location, expanding tabs to the values specified in an array of tab-stop positions | Done | | 
-| 197 | [[en:docs:win16:api:user:GetTabbedTextExtent]] | Computes the width and height of a character string, which may include tab characters | | |+| 197 | [[en:docs:win16:api:user:GetTabbedTextExtent]] | Computes the width and height of a character string, which may include tab characters | Done | |
 | 198 | [[en:docs:win16:api:user:CascadeChildWindows]] | Cascades the specified child windows of the specified parent window | | | | 198 | [[en:docs:win16:api:user:CascadeChildWindows]] | Cascades the specified child windows of the specified parent window | | |
 | 199 | [[en:docs:win16:api:user:TileChildWindows]] | Tiles the specified child windows of the specified parent window | | | | 199 | [[en:docs:win16:api:user:TileChildWindows]] | Tiles the specified child windows of the specified parent window | | |