hwndP (HWND) - input

      Parent-window handle.

      Parent-window handle of the created dialog window.

      HWND_DESKTOP

        The desktop window.
      Other
        Specified window.

      hwndO (HWND) - input

        Requested owner-window handle.

        Requested owner-window handle of the created dialog window.

        The actual owner window is calculated using the algorithm specified in the description of the WinLoadDlg function.

      pfntd (PFONTDLG) - input

        Pointer to an initialized FONTDLG structure.

      hwnd (HWND) - returns

        Font dialog window handle.

        If the flag is set by the application, the return value is the window handle of the font dialog, or NULLHANDLE if the dialog cannot be created. If the flag is not set, the return value is TRUE if dialog creation is successful, or NULLHANDLE if it is unsuccessful.


      [Back] [Next]