Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Time Picker Active X control

Status
Not open for further replies.

lincejacob

Programmer
May 7, 2003
1
0
0
US
Unable to close calendar display in Date time picker activex control(Microsoft common controls)

My project has a Sheridan toolbar and a date time picker activex control. I click on the combo arrow of the calendar. This displays the calendar as a dropdown. On clicking the toolbar item the form in unloaded and calendar control should vanish. But what happens is that the form is unloaded and calendar control goes away but the dropdown portion of the calendar still hangs around. How do I get rid of this..I tried to send the control a WM_CLOSE with a sendmessage. That did not work.
 
Try capturing the close event and change focus before allowing the close/terminate to take place.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top