MultiThreading: Visual Styles

2 posts, 0 answers
  1. Mark
    Mark avatar
    9 posts
    Member since:
    Jul 2008

    Posted 13 Apr 2009 Link to this post

    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?

  2. Mike
    Admin
    Mike avatar
    640 posts

    Posted 14 Apr 2009 Link to this post

    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.
Back to Top