View Single Post
  #2  
Old April 11th 08, 03:06 PM posted to microsoft.public.outlook.program_addins
lokesh
external usenet poster
 
Posts: 13
Default bringing datepicker to the top

Sorry for posting it here

"lokesh" wrote:

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

Ads