bringing datepicker to the top

  • Thread starter Thread starter lokesh
  • Start date Start date
L

lokesh

Have created a form containing the datepicker as part of my toolbar(VSTO ,
O2003 ,C#). It had the problem of opening in the background instead of the
foreground. Is there any solution . Have used the
form.showdialog(activeInspectorHandle) but does not solve my problem.

To overcome this used form.topmost which is creating a new problem. It
behaves properly by staying on the top and used form.close() to close it
whenever it gets deactivated. Thats works fine. But once I open the calendar
in the datepicker form, the datepicker form does not close when i do
form.close in the mouseleave event of the datepicker. Seems like it cannot
close the datepicker until mouseclick event is recieved.

Is there a solution for it.

Regards,
Lokesh
 
Back
Top