Try setting the height of the combo box to something like 100 and see if that works for you.
Good luck,
Chris
Type: Posts; User: cguest19
Try setting the height of the combo box to something like 100 and see if that works for you.
Good luck,
Chris
What you have there is a forward class declaration, which is a lot like a function prototype for classes. In the posts before, s/he was trying to create an actual empty class.
Hope that makes...
Isn't it funny how you can spend 3 days searching for something, then finally post the question, only to find the answer minutes later? :)
Anyway, in case anyone is interested, when you specify...
I've created a combobox with the CBS_DROPDOWNLIST style, and added some strings with CB_ADDSTRING.
The strings are loaded in the combobox, but it won't drop down. It works fine in Windows XP, but...
Try using GetLocalTime instead of GetSystemTime.
Good luck,
Chris
Check out SharpDevelop...
http://www.icsharpcode.net/OpenSource/SD/
Chris
Just a guess, but is comdlg32.lib linked in your project?
Good luck,
Chris
I finally got it working after hours of banging my head against the wall.
Before I was calling InitCommonControlsEx right after registering my window class. I moved it to the WM_CREATE message...
I've created a DateTimePicker with this code:
void CreateControls(HWND hwnd) {
HWND dtpTest = CreateWindowEx(
0, DATETIMEPICK_CLASS, NULL,
WS_VISIBLE | WS_CHILD |...