win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinCreateFrameControls (1.2)
Function Group  Overview  Changes               Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINFRAMEMGR
 
BOOL WinCreateFrameControls(hwndFrame, pfcdata, pszTitle)
HWND hwndFrame;         /* handle of the frame window               */
PFRAMECDATA pfcdata;    /* address of structure                     */
PSZ pszTitle;           /* address of title-bar string              */
 
The WinCreateFrameControls function creates standard frame controls for a
specified window. This function is used when the standard frame controls are
needed for a nonstandard window; for example, with a window with a class
other than WC_FRAME.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hwndFrame  Identifies the frame window that becomes the parent and owner
           window of all the frame controls created.
 
pfcdata    Points to the FRAMECDATA structure that contains information
           about the frame controls that are to be created.
 
pszTitle   Points to a null-terminated string displayed in a title-bar
           control.
 
Return Value
 
The return value is TRUE if the function is successful or FALSE if an error
occurs.
 
See Also
 
WinCreateWindow