Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Moving child ctrl, runtime, by mouse and keyboard
Re: Moving child ctrl, runtime, by mouse and keyboard [message #25249 is a reply to message #24747] |
Mon, 15 February 2010 15:15   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
Sc0rch wrote on Fri, 29 January 2010 04:43 | Hi all,
I've got non-trivial problem, no testcase, sorry =(
Need to move the ctrls in layout, at runtime, using mouse and keyboard. I need it for dynamic GUI editing. Please, give me a little advice how to realize this more optimally and more in upp-style.
And also, how to get the type of ctrl? something like GetDesc() ?
Best regards,
Anton
|
This is sort of tricky, as widget tends to "eat" your mouse inputs, right? 
In the past, I solved this issue by putting transparent with empty Paint on top of all widgets I wanted to move - that way, you will still see widgets through and you will get the desired mouse inputs redirected to your designer.
Type of ctrl - what about using dynamic_cast?
Mirek
|
|
|
 |
|
Moving child ctrl, runtime, by mouse and keyboard
By: Sc0rch on Fri, 29 January 2010 10:43
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
By: mrjt on Fri, 29 January 2010 18:45
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
By: Sc0rch on Sat, 13 February 2010 07:59
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
By: Sc0rch on Sat, 13 February 2010 09:33
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
By: fudadmin on Sat, 13 February 2010 09:40
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
By: Sc0rch on Sat, 13 February 2010 09:54
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
By: koldo on Sat, 13 February 2010 16:55
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
By: mirek on Mon, 15 February 2010 15:15
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
By: Sc0rch on Mon, 15 February 2010 16:00
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
By: Sc0rch on Wed, 24 February 2010 21:25
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
By: Sc0rch on Thu, 25 February 2010 10:21
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
By: koldo on Wed, 19 May 2010 12:46
|
 |
|
Re: Moving child ctrl, runtime, by mouse and keyboard
By: Sc0rch on Wed, 19 May 2010 16:20
|
Goto Forum:
Current Time: Sun Apr 27 07:46:25 CEST 2025
Total time taken to generate the page: 0.03123 seconds
|