Main public logs
Appearance
Combined display of all available logs of EDM2. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 18:46, 9 April 2025 Martini talk contribs created page WinSetWindowUShort (Created page with "This function sets an unsigned, short integer value into the memory of the reserved window words. ==Syntax== WinSetWindowUShort(hwnd, index, us) ==Parameters== ;hwnd (HWND) - Input : Window handle. ;index (LONG) - Input : Zero-based index of the value to be set. : The units of ''index'' are bytes. Valid values are zero through (''cbWindowData'' - 2), where ''cbWindowData'' is the parameter in WinRegisterClass that specifies the number of bytes available fo...")
- 18:44, 9 April 2025 Martini talk contribs created page WinSetWindowULong (Created page with "This function sets an unsigned, long integer value into the memory of the reserved window words. ==Syntax== WinSetWindowULong(hwnd, index, ul) ==Parameters== ;hwnd (HWND) - Input : Window handle. ;index (LONG) - Input : Zero-based index of the value to be set. : The units of ''index'' are bytes. Valid values are zero through (''cbWindowData'' - 4), where ''cbWindowData'' is the parameter in WinRegisterClass that specifies the number of bytes available for...")
- 18:43, 9 April 2025 Martini talk contribs created page WinSetWindowPtr (Created page with "This function sets a pointer value into the memory of the reserved window words. ==Syntax== WinSetWindowPtr(hwnd, lb, pp) ==Parameters== ;hwnd (HWND) - Input : Window handle. ;lb (LONG) - Input : Zero-based index into the window words. : The units of b are bytes. Valid values are zero through (''cbWindowData''-4), where ''cbWindowData'' is the parameter in WinRegisterClass that specifies the number of bytes available for application-defined storage. : The...")
- 18:42, 9 April 2025 Martini talk contribs created page WinSetWindowBits (Created page with "This function sets a number of bits into the memory of the reserved window words. ==Syntax== WinSetWindowBits(hwnd, index, flData, flMask) ==Parameters== ;hwnd (HWND) - Input : Window handle. ;index (LONG) - Input : Zero-based index of the value to be set. : The units of ''index'' are bytes. Valid values are zero through (''cbWindowData'' - 4), where ''cbWindowData'' is the parameter in WinRegisterClass that specifies the number of bytes available for appl...")
- 18:41, 9 April 2025 Martini talk contribs created page WinSetVisibleRegionNotify (Created page with "This function allows an application to request that a given window receive notifications every time that its visible region gets altered. ==Syntax== WinSetVisibleRegionNotify(hwnd, fEnable) ==Parameters== ;hwnd (HWND) - Input : The window handle. ;fEnable (BOOL) - Input : Enable flag. :;TRUE: The specified window wants to receive notifications every time its visible region is modified. :;FALSE: The specified window no longer wants to receive any notification m...")
- 18:38, 9 April 2025 Martini talk contribs created page WinQueryWindowUShort (Created page with "This function obtains the unsigned short integer value at a specified offset from the reserved window word's memory of a given window. ==Syntax== WinQueryWindowUShort(hwnd, index) ==Parameters== ;hwnd (HWND) - Input : Handle of window to be queried. ;index (LONG) - Input : Zero-based index into the window words of the value to be queried. : The units of ''index'' are bytes. Valid values are zero through (''cbWindowData'' - 2), where ''cbWindowData'' is the par...")
- 18:35, 9 April 2025 Martini talk contribs created page WinSetPointerOwner (Created page with "This function is specific to OS/2 Version 2.1 or higher. This function allows an application to declare that a pointer it created can now be used by ANY process in the system (not just the process that created the pointer). ==Syntax== WinSetPointerOwner(hptr, pid, fDestroy) ==Parameters== ;hptr (HPOINTER) - Input : Handle of pointer. ;pid (PID) - Input : Process identity. ;fDestroy (BOOL) - Input : Pointer destruction flag. :;TRUE: Pointer can be destroyed...")
- 18:33, 9 April 2025 Martini talk contribs created page WinSetMenuItemText (Created page with "This macro sets the text for Menu indexed item to buffer. ==Syntax== WinSetMenuItemText(hwndMenu, usId, pText) ==Parameters== ;hwndMenu (HWND) - Input : Menu window handle. ;usId (USHORT) - Input : Identity of the menu item. ;pText (PSZ) - Input : Text for the menu item. ==Returns== ;rc (BOOL) - returns : TRUE Successful completion : FALSE Error occurred. ==Parameters== ;hwndMenu (HWND) - Input : Menu window handle. ;usId (USHORT) - Input : I...")
- 18:30, 9 April 2025 Martini talk contribs created page WinQueryWindowPtr (Created page with "This function retrieves a pointer value from the memory of the reserved window word. ==Syntax== WinQueryWindowPtr(hwnd, index) ==Parameters== ;hwnd (HWND) - Input : Window handle which has the pointer to retrieve. ;index (LONG) - Input : Zero-based index of the pointer value to retrieve. : The units of ''index'' are bytes. Valid values are zero through (''cbWindowData'' - 4), where ''cbWindowData'' is the parameter in WinRegisterClass that specifies the nu...")
- 18:26, 9 April 2025 Martini talk contribs created page WinQueryVisibleRegion (Created page with "This function is similar to WinQueryUpdateRegion. It returns a region which could be NULL, rectangular, or complex, and represents the visible region of the window. ==Syntax== WinQueryVisibleRegion(hwnd, hrgn) ==Parameters== ;hwnd (HWND) - Input : The window handle. ;hrgn (HRGN) - Input : Region handle to receive the current visible region. ==Returns== ;ulretn (ULONG) - returns : RGN_ERROR An error occurred. : RGN_NULL The window currently has no visi...")
- 18:23, 9 April 2025 Martini talk contribs created page WinQueryVersion (Created page with "This function is included for compatibility purposes only, and its use is not recommended. It is recommended that DosQuerySysInfo (see the Control Program Programming Reference) be used to return the version, the revision level, and the environment of PM. ==Syntax== WinQueryVersion(hab) ==Parameters== ;hab (HAB) - Input : Anchor-block handle. ==Returns== ;fSysInf (ULONG) - returns : System information within which the application is operating. : This inf...")
- 18:10, 9 April 2025 Martini talk contribs created page WinSetSysModalWindow (Created page with "This function makes a window become the system-modal window, or ends the system-modal state. ==Syntax== WinSetSysModalWindow(hwndDesktop, hwnd) ==Parameters== ;hwndDesktop (HWND) - Input : Desktop-window handle, or HWND_DESKTOP. ;hwnd (HWND) - Input : Handle of window to become system-modal window. : If NULLHANDLE, system-modal state is ended, and input processing returns to its normal state. ==Returns== ;rc (BOOL) - returns :Success indicator. :;TRUE ::...")
- 18:09, 9 April 2025 Martini talk contribs created page WinQuerySysModalWindow (Created page with "This function returns the current system modal window. ==Syntax== WinQuerySysModalWindow(hwndDesktop) ==Parameters== ;hwndDesktop (HWND) - Input : Desktop-window handle. :;HWND_DESKTOP ::The desktop-window handle :;Other ::Specified desktop-window handle. ==Returns== ;hwndSysModal (HWND) - returns :Handle of system modal window. :;NULLHANDLE ::No system modal window :;Other ::Handle of system modal window. ==Remarks== For a full description of the operation...")
- 17:55, 9 April 2025 Martini talk contribs created page WinQuerySysColor (Created page with "This function returns the system color. ==Syntax== WinQuerySysColor(hwndDesktop, clr, lReserved) ==Parameters== ;hwndDesktop (HWND) - Input : Desktop-window handle. :;HWND_DESKTOP ::The desktop-window handle :;Other ::Specified desktop-window handle. ;clr (LONG) - Input : System color-index value. : Must be one of the SYSCLR_* index values. ;lReserved (LONG) - Input : Reserved value, must be 0. ==Returns== ;lRgbColor (LONG) - returns :RGB value. : RG...")
- 17:53, 9 April 2025 Martini talk contribs created page WinQueryLboxSelectedItem (Created page with "This macro returns the index of the selected item in the List Box (for single selection only). ==Syntax== WinQueryLboxSelectedItem(hwndLbox) ==Parameters== ;hwndLbox (HWND) - Input : List box handle. ==Returns== ;lRetIndex (LONG) - returns :Index of the selected item. ==Remarks== This macro is defined as&colon. <Pre> #define WinQueryLBoxSelectedItem (hwndLbox) ((LONG)WinSendMsg(hwndLbox, LM_Q...")
- 17:37, 9 April 2025 Martini talk contribs created page WinQueryLboxItemTextLength (Created page with "This macro returns the length of the text of the indexed item in the List Box. ==Syntax== WinQueryLboxItemTextLength(hwndLbox, index) ==Parameters== ;hwndLbox (HWND) - Input : Listbox handle. ;index (SHORT) - Input : Index of the item in the List Box. ==Returns== ;sRetLen (SHORT) - returns :Text length of the indexed item. ==Remarks== This macro is defined as&colon. <Pre> #define WinQueryLboxItemTextLength(hwndLbox, index) \ ((SHORT)Win...")
- 17:35, 9 April 2025 Martini talk contribs created page WinQueryLboxItemText (Created page with "This macro fills the buffer with the text of the indexed item. It returns the length of the text. ==Syntax== WinQueryLboxItemText(hwndLbox, index, psz, cchMax) ==Parameters== ;hwndLbox (HWND) - Input : List box handle. ;index (SHORT) - Input : Index of the listbox item. ;psz (PSZ) - Input : Pointer to a null terminated string. ;cchMax (SHORT) - Input : Maximum number of characters allocated to the string. ;lRetTxtL (LONG) - returns :Actual text le...")
- 17:29, 9 April 2025 Martini talk contribs created page WinQueryLboxCount (Created page with "This macro returns the number of items in the List Box. ==Syntax== WinQueryLboxCount(hwndLbox) ==Parameters== ;hwndLbox (HWND) - Input : Listbox handle. ==Returns== ;lRetNumIt (LONG) - returns :Number of items in the list box. ==Remarks== This macro is defined as&colon. <Pre> #define WinQueryLboxCount(hwndLbox) \ ((LONG)WinSendMsg(hwndLbox, \ ...")
- 16:45, 9 April 2025 Martini talk contribs created page WinSetKeyboardStateTable (Created page with "This function gets or sets the keyboard state. ==Syntax== WinSetKeyboardStateTable(hwndDeskTop, abKeyStateTable, fSet) ==Parameters== ;hwndDeskTop (HWND) - Input : Desktop-window handle. :;HWND_DESKTOP ::The desktop-window handle :;Other ::Specified desktop-window handle. ;abKeyStateTable (PBYTE) - In/Out : Key state table. : This is a 256-byte table indexed by virtual key value. : For any virtual key, the 0x80 bit is set if the key is down, and zero if it is...")
- 16:32, 9 April 2025 Martini talk contribs created page WinQueryFocus (Created page with "This function returns the focus window. It is NULLHANDLE if there is no focus window. ==Syntax== WinQueryFocus(hwndDeskTop) ==Parameters== ;hwndDeskTop (HWND) - Input : Desktop-window handle. :;HWND_DESKTOP ::The desktop-window handle :;Other ::Specified desktop-window handle. ==Returns== ;hwndFocus (HWND) - returns :Focus-handle. :;NULL ::Error occurred or no focus window. ==Errors== Possible returns from WinGetLastError: * PMERR_INVALID_HWND (0x1001)...")
- 16:31, 9 April 2025 Martini talk contribs created page WinSetMultWindowPos (Created page with "This function performs the WinSetWindowPos function for cswp windows, using pswp, an array of structures whose elements correspond to the input parameters of WinSetWindowPos. ==Syntax== WinSetMultWindowPos(hab, pswp, cswp) ==Parameters== ;hab (HAB) - Input : Anchor-block handle. ;pswp (PSWP) - Input : An array of set window position (SWP) structures. : The elements of each correspond to the input parameters of WinSetWindowPos. ;cswp (ULONG...")
- 16:29, 9 April 2025 Martini talk contribs created page WinSetActiveWindow (Created page with "This function makes the frame window the active window. ==Syntax== WinSetActiveWindow(hwndDeskTop, hwnd) ==Parameters== ;hwndDeskTop (HWND) - Input : Desktop-window handle. :;HWND_DESKTOP ::The desktop-window handle :;Other ::Specified desktop-window handle. ;hwnd (HWND) - Input : Window handle. : {{hp1|hwnd}} is either the frame window or its child. If it is a child, the parent frame window will become the active window. ==Returns== ;rc (BOOL) - returns...")
- 16:28, 9 April 2025 Martini talk contribs created page WinSaveWindowPos (Created page with "This function associates an array of SWP structures with the process of repositioning a frame window. ==Syntax== WinSaveWindowPos(hsvwp, pswp, cswp) ==Parameters== ;hsvwp (HSAVEWP) - Input : Identifier of the frame window repositioning process. : This handle is provided in the second parameter of the WM_ADJUSTFRAMEPOS message. ;pswp (PSWP) - Input : Array of SWP structures. ;cswp (ULONG) - Input : Count of SWP structures. ==Returns== ;rc...")
- 16:26, 9 April 2025 Martini talk contribs created page WinQueryWindowPos (Created page with "This function queries the window size and position of a visible window. ==Syntax== WinQueryWindowPos(hwnd, pswp) ==Parameters== ;hwnd (HWND) - Input : Window handle. ;pswp (PSWP) - Output : SWP structure. : The fields are set such that a call to WinSetWindowPos with those values sets the window to its current size and position, with the exception of the {{hp1|fl}} bits which are set as follows&colon. ::* SWP_MOVE and SWP_SIZE are set to TRUE. ::* SWP_ACTI...")
- 16:25, 9 April 2025 Martini talk contribs created page WinQueryActiveWindow (Created page with "This function returns the active window for HWND_DESKTOP, or other parent window. ==Syntax== WinQueryActiveWindow(hwndParent) ==Parameters== ;hwndParent (HWND) - Input : Parent-window handle for which the active window is required. :;HWND_DESKTOP ::The desktop-window handle that causes this function to return the top-level frame window. :;Other ::Specified parent-window handle. ==Returns== ;hwndActive (HWND) - returns :Active-window handle. :;NULLHANDLE ::No...")
- 16:24, 9 April 2025 Martini talk contribs created page WinShowTrackRect (Created page with "This function hides or shows the tracking rectangle. ==Syntax== WinShowTrackRect(hwnd, fShow) ==Parameters== ;hwnd (HWND) - Input : Window handle. : Passed to the WinTrackRect function. ;fShow (BOOL) - Input : Show indicator. :;TRUE ::Show the tracking rectangle :;FALSE ::Hide the tracking rectangle. ==Returns== ;rc (BOOL) - returns :Success indicator. :;TRUE ::Successful completion :;FALSE ::Error occurred. ==Remarks== This function maintains a sho...")
- 14:35, 9 April 2025 Martini talk contribs created page WinSetCp (Created page with "This function sets the code page for a queue. ==Syntax== WinSetCp(hmq, ulCodePage) ==Parameters== ;hmq (HMQ) - Input : Message-queue handle. ;ulCodePage (ULONG) - Input : Code page. : Either of the two ASCII code pages specified in CONFIG.SYS can be selected. ==Returns== ;rc (BOOL) - returns :Success indicator. :;TRUE ::Successful completion :;FALSE ::Error occurred. ==Remarks== The following is the list of valid code pages: <PRE> Country Code Page Cana...")
- 14:34, 9 April 2025 Martini talk contribs created page WinQueryCpList (Created page with "This function queries available code pages. ==Syntax== WinQueryCpList(hab, ulcount, aulCodepage) ==Parameters== ;hab (HAB) - Input : Anchor-block handle. ;ulcount (ULONG) - Input : Maximum number of code pages returned. ;aulCodepage (PULONG) - Output : Code page list. : An array of {{hp1|ulcount}} elements, that contains a list of code pages available to the program. : For more information about code pages, see . ;ulTotCount (ULONG) - Returns : Total...")
- 14:33, 9 April 2025 Martini talk contribs created page WinQueryCp (Created page with "This function returns the queue code page for the specified message queue. ==Syntax== WinQueryCp(hmq) ==Parameters== ;hmq (HMQ) - Input : Message queue. ==Returns== ;ulCodePage (ULONG) - returns :Code page. :;0 ::Error occurred :;Other ::Queue code page for the specified message queue. ==Errors== Possible returns from WinGetLastError: * PMERR_INVALID_HMQ (0x1002) An invalid message-queue handle was specified. ==Example Code== <PRE> #define INCL_WINCOUN...")
- 14:32, 9 April 2025 Martini talk contribs created page WinQueryButtonCheckState (Created page with "This macro returns the checked state of the button control specified. ==Syntax== WinQueryButtonCheckstate(hwndDlg, usId) ==Parameters== ;hwndDlg (HWND) - Input : Dialog window handle. ;usId (USHORT) - Input : Button control identity. ==Returns== ;usRetChkst (USHORT) - returns :Returns the checkstate of the specified button control. ==Remarks== This macro expands to&colon. <Pre> #define WinQueryButtonCheckstate(hwndDlg, usId) ((USHORT)WinSendDlgItemMs...")
- 14:28, 9 April 2025 Martini talk contribs created page WinMessageBox2 (Created page with "This function creates a message-box window that can be used to display error messages and ask questions. ==Syntax== WinMessageBox2(hwndParent, hwndOwner, pszText, pszTitle, ulWindow, pmb2info) ==Parameters== ;hwndParent (HWND) - Input : Parent-window handle of the message-box window to be created. :;HWND-DESKTOP ::The message box is to be a main window. :;Other ::Parent-window handle. ;hwndOwner (HWND) - Input : Requested owner-window handle of the message-bo...")
- 14:26, 9 April 2025 Martini talk contribs created page WinMapDlgPoints (Created page with "This function maps points from dialog coordinates to window coordinates, or from window coordinates to dialog coordinates. ==Syntax== WinMapDlgPoints(hwndDlg, prgwptl, cwpt, fCalcWindowCoords) ==Parameters== ;hwndDlg (HWND) - Input : Dialog-window handle. ;prgwptl (PPOINTL) - In/Out : Coordinate points to be mapped. : The mapped points are substituted. ;cwpt (ULONG) - Input : Number of coordinate points. ;fCalcWindowCoords (BOOL) - Input : Calculation...")
- 14:25, 9 April 2025 Martini talk contribs created page WinMakeRect (Created page with "This function converts a rectangle to a graphics rectangle. ==Syntax== WinMakeRect(hab, pwrc) ==Parameters== ;hab (HAB) - Input : Anchor-block handle. ;pwrc (PRECTL) - In/Out : Rectangle to be converted. : The data type of the rectangle after conversion is RECTL. ==Returns== ;rc (BOOL) - returns :Success indicator. :;TRUE ::Successful completion :;FALSE ::Error occurred. ==Remarks== This function converts a rectangle from a WRECT data structure...")
- 14:24, 9 April 2025 Martini talk contribs created page WinMakePoints (Created page with "This function converts points to graphics points. ==Syntax== WinMakePoints(hab, pwpt, cwpt) ==Parameters== ;hab (HAB) - Input : Anchor-block handle. ;pwpt (PPOINTL) - In/Out : Points to be converted. : The data type of these points after conversion is POINTL. ;cwpt (ULONG) - Input : Number of points to be converted. : Must be positive. ==Returns== ;rc (BOOL) - returns :Success indicator. :;TRUE ::Successful completion :;FALSE ::Error occurred. =...")
- 14:23, 9 April 2025 Martini talk contribs created page WinLockPointerUpdate (Created page with "This function is specific to OS/2 Version 2.1 or higher. This function causes the mouse pointer to change into the symbol described by {{hp1|hptrNew}} for the period of time indicated by ulTimeInterval. ==Syntax== WinLockPointerUpdate(hwndDesktop, hptrNew, ulTimeInterval) ==Parameters== ;hwndDesktop (HWND) - Input : Handle to the desktop window. ;hptrNew (HPOINTER) - Input : Pointer handle to be displayed. ;ulTimeInterval (ULONG) - Input : Time interval....")
- 14:21, 9 April 2025 Martini talk contribs created page WinIsMenuItemValid (Created page with "This function indicates if the specified menu item is a valid choice. ==Syntax== WinIsMenuItemValid(hwndMenu, usId) ==Parameters== ;hwndMenu (HWND) - Input : Menu window handle. ;usId (USHORT) - Input : Identity of the menu item. ==Returns== ;rc (BOOL) - returns :Validity indicator. :;TRUE ::Menu item is valid. :;FALSE ::Menu item is invalid. ==Remarks== This macro expands to&colon. <Pre> #define WinIsMenuItemValid(hwndMenu, usId) ((BOOL)WinSendMsg(h...")
- 14:20, 9 April 2025 Martini talk contribs created page WinIsMenuItemEnabled (Created page with "This function returns the state (enabled/disabled) of the specified menu item. ==Syntax== WinIsMenuItemEnabled(hwndMenu, usId) ==Parameters== ;hwndMenu (HWND) - Input : Menu window handle. ;usId (USHORT) - Input : Identity of the menu item. ==Returns== ;rc (BOOL) - returns :Enabled-state indicator. :;TRUE ::Menu item is enabled. :;FALSE ::Menu item is disabled. ==Remarks== This macro expands to&colon. <Pre> #define WinIsMenuItemEnabled(hwndMenu, usId)...")
- 14:16, 9 April 2025 Martini talk contribs created page WinIsMenuItemChecked (Created page with "This function returns the state (checked/not checked) of the identified menu item. ==Syntax== WinIsMenuItemChecked(hwndMenu, usId) ==Parameters== ;hwndMenu (HWND) - Input : Menu window handle. ;usId (USHORT) - Input : Identity of the menu item. ==Returns== ;rc (BOOL) - returns :Checked-state indicator. :;TRUE ::Menu item is checked. :;FALSE ::Menu item is not checked. ==Remarks== This macro expands to&colon. <Pre> #define WinIsMenuItemChecked(hwndMenu,...")
- 14:15, 9 April 2025 Martini talk contribs created page WinIsControlEnabled (Created page with "This function returns the state (enabled/disabled) of the specified item in the dialog template within a dialog box. ==Syntax== WinIsControlEnabled(hwndDlg, usId) ==Parameters== ;hwndDlg (HWND) - Input : Dialog window handle. ;usId (USHORT) - Input : Identity of the specified item. ==Returns== ;rc (BOOL) - returns :Enabled-state indicator. :;TRUE ::Specified item is enabled. :;FALSE ::Specified item is disabled. ==Remarks== This macro expands to&colon....")
- 14:15, 9 April 2025 Martini talk contribs created page WinInsertLboxItem (Created page with "This macro inserts text into a list box at index, index may be a LIT_ constant. The macro returns the actual index where it was inserted. ==Syntax== WinInsertLboxItem(hwndLbox, index, psz) ==Parameters== ;hwndLbox (HWND) - Input : List box handle. ;index (LONG) - Input : Index of the list box item. ;psz (PSZ) - Input : Text to be inserted. ==Returns== ;lRetIndex (LONG) - returns :Actual index where it was inserted. ==Remarks== This macro is defined...")
- 14:14, 9 April 2025 Martini talk contribs created page WinGetMinPosition (Created page with "This function returns the position to which a window is minimized. ==Syntax== WinGetMinPosition(hwnd, pswp, pptl) ==Parameters== ;hwnd (HWND) - Input : Frame-window handle. ;pswp (PSWP) - Output : Set window position structure. : The SWP_SIZE and SWP_MOVE indicators are set in this parameter on return from this function, implying that the parameters have been initialized. ;pptl (PPOINTL) - Input : Preferred position. :;NULL ::System is to choose the posit...")
- 14:12, 9 April 2025 Martini talk contribs created page WinGetMaxPosition (Created page with "The WinGetMaxPosition function fills an SWP structure with the maximized-window size and position. ==Syntax== WinGetMaxPosition(hwnd, pswp) ==Parameters== ;hwnd (HWND) - Input : Frame-window handle. : Identifies the window whose maximum size will be retrieved. ;pswp (PSWP) - Output : Set window position structure. : Points to the SWP structure that retrieves the size and position of a maximized window. : The SWP_SIZE and SWP_MOVE indicators are set in this pa...")
- 14:11, 9 April 2025 Martini talk contribs created page WinEndEnumWindow (Created page with "This function ''ends the enumeration process for a specified enumeration''. ==Syntax== WinEndEnumWindows(henum) ==Parameters== ;henum (HENUM) - Input : Enumeration handle. : Returned by previous call to the WinBeginEnumWindows call. ==Returns== ;rc (BOOL) - returns :Success indicator. :;TRUE ::Successful completion :;FALSE ::Error occurred. ==Remarks== This function destroys the window hierarchy remembered by the WinBeginEnumWindows function. After...")
- 14:08, 9 April 2025 Martini talk contribs created page WinEnableMenuItem (Created page with "This macro ''sets the state of the specified menu item to the enable flag''. ==Syntax== WinEnableMenuItem(hwndMenu, usId, fEnable) ==Parameters== ;hwndMenu (HWND) - Input : Menu window handle. ;usId (USHORT) - Input : Item identifier. ;fEnable (BOOL) - Input : Enable flag. ==Returns== ;rc (BOOL) - returns :Success indicator. :;TRUE ::Successful completion :;FALSE ::Error occurred. ==Remarks== This macro expands to&colon. <Pre> #define WinEnableMenuI...")
- 04:26, 9 April 2025 Martini talk contribs created page WinTrackRect (Created page with "This function draws a tracking rectangle. ==Syntax== WinTrackRect(hwnd, hps, ptiTrackinfo) ==Parameters== ;hwnd (HWND) - Input : Window handle where tracking is to take place. : It is assumed that the style of this window is not WS_CLIPCHILDREN. :;HWND_DESKTOP :: Track over the entire screen. :;Other :: Track over specified window only. ;hps (HPS) - Input : Presentation-space handle. : Used for drawing the clipping rectangle: :;NULLHANDLE :: The ''hwnd'' param...")
- 04:23, 9 April 2025 Martini talk contribs created page WinPrevChar (Created page with "This function moves to the previous character in a string. ==Syntax== WinPrevChar(hab, ulCodepage, ulCountry, pszStart, pszCurrentChar) ==Parameters== ;hab (HAB) - Input : Anchor-block handle. ;ulCodepage (ULONG) - Input : Code page. : If a non-existent code page is specified for ''ulCodepage'', the code page specified by the queue associated with the calling thread is used. ;ulCountry (ULONG) - Input : Reserved value, must be 0. ;pszStart (PSZ) - Inpu...")
- 04:21, 9 April 2025 Martini talk contribs created page WinNextChar (Created page with "This function moves to the next character in a string. ==Syntax== WinNextChar(hab, ulCodepage, ulCountry, pszCurrentChar) ==Parameters== ;hab (HAB) - Input : Anchor-block handle. ;ulCodepage (ULONG) - Input : Code page. : If a non-existent code page is specified for ''ulCodepage'', the code page specified by the queue associated with the calling thread is used. ;ulCountry (ULONG) - Input : Reserved value, must be 0. ;pszCurrentChar (PSZ) - Input : Curr...")
- 04:15, 9 April 2025 Martini talk contribs created page WinUpper (Created page with "This function converts a string to uppercase. ==Syntax== WinUpper(hab, ulCodepage, ulCountry, pszString) ==Parameters== ;hab (HAB) - Input : Anchor-block handle. ;ulCodepage (ULONG) - Input : Code page. :;0 :: Use the current-process code page. :;Other :: Use the specified code page. ;ulCountry (ULONG) - Input : Country code. :;0 :: Use the default country code specified in CONFIG.SYS. :;Other :: Use the specified country code. ;pszString (PSZ) - In/Ou...")
- 04:13, 9 April 2025 Martini talk contribs created page WinUpperChar (Created page with "''This function translates a character to uppercase.'' ==Syntax== WinUpperChar(hab, ulCodepage, ulCountry, ulInchar) ==Parameters== ;hab (HAB) - Input : Anchor-block handle. ;ulCodepage (ULONG) - Input : Code page. :;0 :: Use the current-process code page. :;Other :: Use the specified code page. ;ulCountry (ULONG) - Input : Country code. :;0 :: Use the default country code specified in CONFIG.SYS. :;Other :: Use the specified country code. ;ulInchar (ULO...")
- 04:12, 9 April 2025 Martini talk contribs created page WM SHOW (Created page with "This message occurs when the WS_VISIBLE state of a window is being changed. ==Syntax== ;param1 :USHORT usshow Show indicator.: ;param2 :ULONG ulReserved Reserved value, should be 0.: ==Parameters== ;usshow (USHORT) :Show indicator. :;TRUE ::Show the window :;FALSE ::Hide the window. ;ulReserved (ULONG) :Reserved value, should be 0. ==Returns== ;ulReserved (ULONG) :Reserved value, should be 0. ==Remarks== The message is sent after the visibilit...")