comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
July 2008
motuwethfrsasuw
 123456 27
78910111213 28
14151617181920 29
21222324252627 30
28293031    31
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... win32 Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Handle to edit control         


Author: cl2606
Date: Jul 11, 2008 10:00

I have a dialog box which is the only window, there is no parent to this
window. In the WM_CREATE notice I have hwndEdit = GetDlgItem (hwnd,
ID_ROMAN) where hwnd is the handle to the main window (the modeless dialog
box) and ID_ROMAN is the ID to the edit control within the dialog box. I
am getting a NULL value on return from the GetDlgItem. Why is this?

Thanks - Curt
9 Comments