Home » U++ Library support » U++ MT-multithreading and servers » Threading example for U++
Re: Threading example for U++ [message #10302 is a reply to message #10301] |
Sat, 30 June 2007 20:17 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
Quote: |
Quote: |
You might also try to make the program structure a little bit less complex, I have noticed the troubles you have with routing mouse messages.
|
I don't have troubles, i jut follow familiar for me .NET rules of connecting events, and similar to Qt. Control got events which can be connected, thats all.
I didn't use such techniques of letting sub control owning entire window. It don't looks good for me.
|
That is just mind barrier, believe me. The key to understand is that class containment does not have to be related to the GUI containment.
Quote: |
Control owns window, window contains control which contains this window. Circular dependency ?
What in case when window got multiple controls and we want to connect many events ?
|
I think "got" is a wrong word here.... Sure, nothing prevents you to follow GUI in class composition, but in U++ it is not requirement.
Before going deep into philosophic details, "inverse layout" in your example would very likely produce much less complex code - which is the thing I am usually pursuing...
|
|
|
|
|
Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Mon, 25 June 2007 08:47
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Mon, 25 June 2007 10:00
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: unodgs on Tue, 26 June 2007 11:54
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: ebojd on Tue, 26 June 2007 20:28
|
|
|
Re: Threading example for U++
By: mirek on Tue, 26 June 2007 20:55
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Tue, 26 June 2007 21:05
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Wed, 27 June 2007 08:24
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Wed, 27 June 2007 08:21
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Thu, 28 June 2007 18:59
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Sat, 30 June 2007 17:59
|
|
|
Re: Threading example for U++
By: mirek on Sat, 30 June 2007 18:09
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Sat, 30 June 2007 20:17
|
|
|
Re: Threading example for U++
By: mirek on Sun, 01 July 2007 00:31
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Sun, 01 July 2007 21:15
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Mon, 02 July 2007 08:27
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Tue, 17 July 2007 14:52
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: bonami on Wed, 08 August 2007 02:59
|
|
|
Re: Threading example for U++
By: arturbac on Wed, 08 August 2007 23:38
|
|
|
Re: Threading example for U++
By: bonami on Thu, 09 August 2007 05:35
|
|
|
Re: Threading example for U++
By: arturbac on Thu, 09 August 2007 21:59
|
|
|
Re: Threading example for U++
By: bonami on Fri, 10 August 2007 08:46
|
|
|
Re: Threading example for U++
By: mirek on Fri, 17 August 2007 19:45
|
|
|
Re: Threading example for U++
By: bonami on Tue, 04 September 2007 09:05
|
Goto Forum:
Current Time: Sun Apr 28 02:46:45 CEST 2024
Total time taken to generate the page: 0.04501 seconds
|