Question
Hello, I am currently developing an application using your PhGantX control in visual studio 2005, when the application is run and you click on the control to either move the time bar or anything really the application locks on the section as dose not allow you to select anything on the application at all you have to select another window from the desktop to release the form. < ?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
This issue has only come up in the studio 2005 application. I previously wrote an app in vb6 and had no problems at all.
I upgraded this app into VS2005 to see if the problem would happen with this one and it did.
Answer
Although the reason for this problem is not entirly understood we know so much that it has to do with win-handles and who is owning who.
The workaround is to place a panel on the child form, and the put the Gantt on the panel…
Creating the mdiChild form is then called when you need to bring the form up:
dim GantForm as form = new form2
GantForm.mdiparent = me
GantForm.show