hwndParent (HWND) - input

      Parent-window handle.

      If this parameter is a window handle returned from the WinQueryDesktopWindow function, or is HWND_DESKTOP, a main window is created.

      If hwndParent is a window handle returned from WinQueryObjectWindow, or is HWND_OBJECT, an object window is created.

    flStyle (ULONG) - input

      Frame-window style.

      This is a combination of any of the WS_* styles frame styles.

      The interpretation of the parameters is affected by the use of all the styles, except for WS_MINIMIZED and WS_MAXIMIZED. These two styles are ignored if they are specified.

    pflCreateFlags (PULONG) - input

      Frame-creation flags.

      This contains a combination of any of the FCF_* flags. The interpretation of the parameters is affected by the use of these flags; see

    pszClassClient (PSZ) - input

      Client-window class name.

      If pszClassClient is not a zero-length string, a client window of style flStyleClient and class pszClassClient is created. pszClassClient is either an application specified name as defined by WinRegisterClass or the name of a preregistered WC_* class; see Preregistered class names are of the form "#nnnnn", where nnnnn is 1 through 5 digits corresponding to the value of the WC_* class name constant.

      If pszClassClient is NULL, no client area is created.

      This parameter can also be specified directly as a WC_* constant.

    pszTitle (PSZ) - input

      Title-bar text.

      This is ignored if FCF_TITLEBAR (or FCF_STANDARD) is not specified in pflCreateFlags.

    flStyleClient (ULONG) - input

      Client-window style.

      This is ignored if pszClassClient is a zero-length string.

    Resource (HMODULE) - input

      Resource identifier.

      This is ignored unless FCF_MENU, FCF_STANDARD, FCF_ACCELTABLE, or FCF_ICON is specified.

      NULLHANDLE

        Resource definitions are contained in the application .EXE file.
      Other
        The module handle returned by the DosLoadModule or DosQueryModuleHandle call of the Dynamic Link Library (DLL) containing the resource definitions.

      ulId (ULONG) - input

        Frame-window identifier.

        The identifier within the resource definition of the required resource.

        It is the responsibility of the application to ensure that all of the resources related to one frame window have the same ulId value. It must be greater or equal to 0 and less or equal to 0xFFFF.

      phwndClient (PHWND) - output

        Client-window handle.

        This is returned if a client window is created.

      hwndFrame (HWND) - returns

        Frame-window handle.

        This is NULLHANDLE if no window is created.


      [Back] [Next]