Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » No SpinButton in CExtDateTimeWnd Collapse All
Subject Author Date
Suhai Gyorgy Aug 15, 2006 - 8:12 AM

Even though I call ctrlDateTime.ShowDropDownButton(true) in my dialog’s OnInitDialog, the SpinButton is not shown. When I use the up/down keys on my keyboard to change date, with every keystroke I can see the SpinButton appearing for a split second. What could cause this?

Best regards:
Chris

Technical Support Aug 15, 2006 - 10:40 AM

We checked this using the ProfUIS_Controls sample where you can change options of the date/time/duration controls on the fly. We failed to reproduce this bug. We would really appreciate if you help us reproduce this bug using our sample or your test application.

Suhai Gyorgy Aug 16, 2006 - 2:07 AM

I’ve been playing with settings in ProfUIS-Controls sample and figured out the problem: I was missing WS_CLIPSIBLINGS | WS_CLIPCHILDREN setting for CExtDateTimeWnd control in resource file. I never used those styles for a control before, but now I see it’s essential for this.

Thank you for pointing me to the right direction.

Best regards:
Chris