Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- M E W E L - <b>hdlg pascal dialogcreate(hwnd hparent, int row1, int col1, int row2,</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HDLG  pascal DialogCreate(HWND hParent, int row1, int col1, int row2,
                         int col2, char *title, WORD attr, DWORD dlgflags,
                         int (pascal *dlgfunc)(), WORD id)

  This function creates a dialog box and returns its handle. The
dialog box is initially invisible, and won't be displayed until you
call the DialogBox() function.

Parameters
  hParent is the handle of the window who owns the dialog box, or
   NULLHWND if there is no parent.
  row1, col1, row2, and col2 specify the 0-based screen coordinates
   which the dialog box will encompass.
  title is a null-terminated string which will be the caption of the
   dialog box.
  attr is the color attribute of the dialog box. See the section on
   attributes for more information.
  dlgflags contain status info for the dialog box.
  dlgfunc is a pointer to the dialog box callback function. The
   callback function must have the following form:
       int pascal dlgfunc(HDLG hDlg, WORD message, WORD wParam, DWORD
                           lParam)

   The callback function is further discussed in the section dealing
   with the DialogBox() function.
  id is the control identifier of the dialog box.

Returns
  The handle of the newly created dialog box is returned. If the
dialog box could not be created, NULLHWND (0) is returned.

See Also: DialogBox

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson