This function creates the standard frame controls for a specified window.

#define INCL_WINFRAMEMGR /* Or use INCL_WIN, INCL_PM, */
#include <os2.h>

HWND           hwndFrame;  /*  Frame-window handle. */
PFRAMECDATA    pfcdata;    /*  Frame-control data. */
PSZ            pszTitle;   /*  Title string. */
BOOL           rc;         /*  Success indicator. */

rc = WinCreateFrameControls(hwndFrame, pfcdata,
       pszTitle);


[Back] [Next]