Jump to content

wpQueryDisplayText

From EDM2
Revision as of 21:49, 24 November 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpQueryDisplayText}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method determines whether the text is displayed under icons on the Toolbar. ==Syntax== _wpQueryDisplayText(somSelf) ==Parameters== ;''somSelf'' (WPLaunchPad *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPLaunchPad. ==Returns== ;''fState'' (BOOL) - returns :Flag indicating...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This method is specific to version 3, or higher, of the OS/2 operating system.

This instance method determines whether the text is displayed under icons on the Toolbar.

Syntax

_wpQueryDisplayText(somSelf)

Parameters

somSelf (WPLaunchPad *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPLaunchPad.

Returns

fState (BOOL) - returns
Flag indicating whether text is displayed.
  • TRUE The text is displayed.
  • FALSE The text is not displayed.

How to Override

This method can be overridden to force a particular value.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPLaunchPad *somSelf; /* Pointer to the object on which the method is being invoked. */
BOOL fState; /* Flag indicating whether text is displayed. */

fState = _wpQueryDisplayText(somSelf);

Related Methods