I have a form which I am using as a progressbar and in the worker thread I am doing some long running background processing. As soon as I am done with the processing I invoke a function in the main thread so that the progressbar is closed.
The behaviour of this progressbar is modal, but at the time of its closing, I am able to click some links in the main form. Though it does not throw any error or cause any unexpected behaviour, I get to see the progressbar form's title bar, which should not be there. At design time I have hidden this title bar.
I want to remove this title bar so that it will not be visible in any case. or you can suggest some other solution as well. Please help.
Loading

Guest UserRank #1,422 · 1.2K pointsPosted Dec 17, 2008, 12:19 PM EST
Text property is blank (empty string)
ControlBox property=false
MaximizeBox property=false
Minimize property=false
FormBorderStyle should be set to one of the "Fixed" settings
Prashant Gadhave7 pointsPosted Dec 17, 2008, 11:09 PM EST
Hi John, thank you.
I have already set these properties but it still does not work.
Any help please.
Guest UserRank #1,422 · 1.2K pointsPosted Dec 18, 2008, 5:12 AM EST
Prashant Gadhave7 pointsPosted Dec 18, 2008, 8:04 PM EST
I am using visual studio 2005 and .Net 2.0
May be not important, but I have used CAB (Composite application UI block) for development.
Guest UserRank #1,422 · 1.2K pointsPosted Dec 19, 2008, 7:21 PM EST
Maybe you could try to create a progress window with the built-in controls to see if the same problem occurs? At least then you could eliminate the custom controls as a cause.
Sorry I couldn't be more help here...