This is a migrated thread and some comments may be shown as answers.

MultiThreading: Visual Styles

1 Answer 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 13 Apr 2009, 01:38 PM
I'm not really sure what's going on here. But i need help. Using RadControls for WinForms Q2 2007. (Upgrade is not a solution).

I am using a multithreaded splash screen in my application (used this http://www.codeproject.com/KB/cs/apploadingarticle.aspx?fid=14122&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=405630)  I notice an unusual behavior that the multithreading causes: Somtimes buttons don't have text, and grids populate in memory but do not load the rows visually. 

It is somehow caused by the multithreading, but the multithreading used is actually somewhat simple and shouldn't be causing any windows messaging issues. 

Before my form loads, I create a new thread, and on it I draw my splash screen in a new message pump while my RadForm Loads.  After it's loaded, I dispose my splash form and exit that thread completely.  However, now during the lifetime of the application, all my RadControl's visual styles act extremely funky.  It seems that they don't receive painting messages properly somehow or something.  I am very frustrated, and after extensive scrutiny, cannot see anything wrong with my code. 

Is this a known bug or something?  Can anyone help?

1 Answer, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 14 Apr 2009, 08:26 AM
Hello Mark,

We would really like to help you with this issue but the version you are using was released more than 19 months ago and it is very hard for us to track if there were any issues back then, related to your scenario. I already examined the issues history but I did not find any concerning this particular case.

Indeed, the Demo application that comes with the package of controls displays a splash screen and all seem to work properly with it.

As a next step you can open a support ticket, send us code that demonstrates to problem so we can test and see if we can help with this issue in any way.

Sincerely yours,
Mike
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Mark
Top achievements
Rank 1
Answers by
Mike
Telerik team
Share this question
or