hwndParent (HWND) - input

      Parent-window handle of the created dialog window.

      HWND_DESKTOP

        The desktop window
      HWND_OBJECT
        Object window
      Other
        Specified window.

      hwndOwner (HWND) - input

        Requested owner-window handle of the created dialog window.

        The actual owner window is calculated using the algorithm specified below.

      pfnDlgProc (PFNWP) - input

        Dialog procedure for the created dialog window.

      hmod (HMODULE) - input

        Resource identity containing the dialog template.

        NULLHANDLE

          Use the application's .EXE file.
        Other
          Module handle returned from the DosLoadModule or DosQueryModuleHandle functions.

        idDlg (ULONG) - input

          Dialog-template identity within the resource file.

          It is also used as the identity of the created dialog window.

        pCreateParams (PVOID) - input

          Pointer to application-defined data area.

          This is passed to the dialog procedure in the WM_INITDLG message.

          This parameter MUST be a pointer rather than a long.

        hwndDlg (HWND) - returns

          Dialog-window handle.

          NULL

            Dialog window not created
          Other
            Dialog window handle.


          [Back] [Next]