Jump to content

wpSetFloatOnTop

From EDM2
Revision as of 02:31, 25 November 2025 by Martini (talk | contribs)
(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 sets whether the Toolbar is forced to float on top of all other windows.

Syntax

wpSetFloatOnTop(somSelf, fState)

Parameters

somSelf (WPLaunchPad *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPLaunchPad.
fState (BOOL) - input
Flag indicating whether to force the Toolbar to float on top of all windows.
  • TRUE Force the Toolbar to float on top.
  • FALSE Do not force the Toolbar to float on top.

Returns

rc (none) - returns
There is no return value for this method.

How to Override

This method is generally not overridden.

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 to force the Toolbar to float on top of all windows. */

wpSetFloatOnTop(somSelf, fState);

Related Methods