hWnd and GetDlgItem
-
Visual C++ 6 can anyone send me a useful link about 1. the hWnd class and its usage . 2. GetDlgItem() and its reverse (i.e, SetDlgItem() if found!!)
Oriented wrote: 1. the hWnd class and its usage . hWnd is not a class, it's a window handle. Oriented wrote: 2. GetDlgItem() and its reverse (i.e, SetDlgItem() if found!!) Have you checked MSDN?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
-
Visual C++ 6 can anyone send me a useful link about 1. the hWnd class and its usage . 2. GetDlgItem() and its reverse (i.e, SetDlgItem() if found!!)
hWnd is not a class, it's a HANDLE. In other words, it's a number that uniquely identifies a window on the system. CWnd is a class in MFC which wraps a hWnd. There is no such thing as SetDlgItem, from memory you put a control into a window by making that window it's parent. http://www.msdn.com is a more up to date version of the MSDN than came with your VC6, but the VC6 one just might be better for you. Install it now. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
Oriented wrote: 1. the hWnd class and its usage . hWnd is not a class, it's a window handle. Oriented wrote: 2. GetDlgItem() and its reverse (i.e, SetDlgItem() if found!!) Have you checked MSDN?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
You beat me to it.... Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder