G
Guest
The example given in msdn.com on how to create a Date Time Picker involves using the CreateWindowEx function. However, I created a dialog box using the graphical interface, and then used the graphical interface to add a Date Time Picker control to it. The only problem is, I don't know how to do anything with the Date Time Picker, like access the date selected within the control. All I have is the ID, which in my code is IDC_DATETIMEPICKER1. Could someone tell me how to get some kind of handle to this control? The msdn example, using the CreateWindowEx function, makes it easy to access a HWND to the Date Time Picker; is there a way I can get a HWND without first using CreateWindowEx? Thanks in advance
NH
NH