DateTimePicker control on a Tabcontrol in a userControl - Hangs

  • Thread starter Thread starter Indhu Balasubramaniam
  • Start date Start date
I

Indhu Balasubramaniam

Hi

I have a User Control which has TabControl with 2 pages. I have
DateTimePicker Control on one of the TabPages, whenever the Calendar is
opened to change the dates it hangs.

This happens when my calling program is an MFC program(unmanaged).

But if the DateTimePicker is on the usercontrol itself and not on the tab, I
don't face this problem.

Has anybody faced similar problems?

Thanks
Indhu
 
yeh, You'll get similar problems while working with MS Word Dialogs via COM Interop in windows forms
You can avoid this by using a seperate Thread for unmanaged code

HT
Sudhakar Sadasivun
Microsoft .NET MV
http://weblogs.asp.net/ssadasivun
http://www.mugh.ne


----- Indhu Balasubramaniam wrote: ----

H

I have a User Control which has TabControl with 2 pages. I hav
DateTimePicker Control on one of the TabPages, whenever the Calendar i
opened to change the dates it hangs

This happens when my calling program is an MFC program(unmanaged)

But if the DateTimePicker is on the usercontrol itself and not on the tab,
don't face this problem

Has anybody faced similar problems

Thank
Indh
 
Can you suggest some samples I can refer or documentation I can read?


Thanks
 
Back
Top