Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Problems with threads when using alternative GUI appearance preset


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Jan 26, 2017 11:05 AM Last Post By: Remy Lebeau (Te...
Toby Dobbs

Posts: 77
Registered: 9/24/16
Problems with threads when using alternative GUI appearance preset  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 26, 2017 3:22 AM
I have a multithreaded application which seems to work fine when running using the Windows Theme. If I change theme however, to any of the presets available in project settings, the application seems to break. Is this expected and is there a workaround?
Peter Below

Posts: 1,227
Registered: 12/16/99
Re: Problems with threads when using alternative GUI appearance preset  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 26, 2017 10:15 AM   in response to: Toby Dobbs in response to: Toby Dobbs
Toby Dobbs wrote:

I have a multithreaded application which seems to work fine when
running using the Windows Theme. If I change theme however, to any of
the presets available in project settings, the application seems to
break. Is this expected and is there a workaround?

No data, sorry. You have to be a bit more specific about the nature of
the problem. I would not expect an application using the VCL theme
engine to have problems when it is multithreaded, since all drawing is
done in the main thread.

--
Peter Below
TeamB
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Problems with threads when using alternative GUI appearance preset  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 26, 2017 11:05 AM   in response to: Peter Below in response to: Peter Below
Peter wrote:

No data, sorry. You have to be a bit more specific about the nature of
the problem. I would not expect an application using the VCL theme
engine to have problems when it is multithreaded, since all drawing is
done in the main thread.

Unless the worker threads are touching the UI controls directly without synching
with the main UI thread.

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02