I am trying to write an OCX that will drop down a calendar and time boxes much like a combo box drops down when you click the arrow. Can someone tell me how I can make the calendar part either drop down or pop up depending on how close the control is to the top or the bottom of the screen?

Thank you!

Bob George