DateTimePicker control on a Tabcontrol in a userControl - Hangs

  • Thread starter Indhu Balasubramaniam
  • 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
 
G

Guest

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
 
I

Indhu Balasubramaniam

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


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top