wpSetMenuStyle - Syntax

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

This instance method sets the menu style to be either long or short.

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject     *somSelf;  /*  Pointer to the object on which the method is being invoked. */
ULONG         ulStyle;  /*  Menu style. */
BOOL          rc;       /*  Success indicator */

rc = _wpSetMenuStyle(somSelf, ulStyle);


[Back: wpSetMenuStyle]
[Next: wpSetMenuStyle Parameter - somSelf]