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>hwnd pascal getdlgitem(hdlg hdlg, word id)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HWND pascal GetDlgItem(HDLG hDlg, WORD id)

  This function returns the handle associated with a dialog box control.

Parameters
  hDlg is the handle of the dialog box which contains the specified control.
  id is the identifier of the control that we want to query. (The id
   is not the same thing as the handle.)

Returns
  The handle associated with the control, or NULLHWND if the id
parameter did not specify a valid control.

Example

HWND hEdit;
   case WM_INITDIALOG :
     hEdit = GetDlgItem(hDlg, ID_PHONE);
     SendMessage(hEdit, WM_SETTEXT, 0, (LPSTR) "(123) 456-7890");

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