Home » U++ Library support » U++ Widgets - General questions or Mixed problems » List of custom controls, how?
Re: List of custom controls, how? [message #37747 is a reply to message #37745] |
Thu, 08 November 2012 10:07   |
|
crydev wrote on Thu, 08 November 2012 09:29 | There still is one thing that doesn't work that I would like to work. Using the mouse scrollwheel to scroll though the objects is not working. My guess is that this should be implemented in the Key(dword key, int) function. Is there maybe a builtin property or function to handle this? And which keys are being handled by the Key(dword key, int) function?
|
If you look at reference/ScrollBar, you'll see it can be done with the MouseWheel virtual function: virtual void MouseWheel(Point, int zdelta, dword)
{
sb.Wheel(zdelta);
}
The only problem with this is that sometimes the wheel event is consumed by the Ctrl immediately under the cursor, so this MouseWheel is never invoked. I'm not really sure how this should be handled properly. Hopefully someone else will help us with that 
Best regards,
Honza
|
|
|
 |
|
List of custom controls, how?
By: crydev on Mon, 05 November 2012 12:35
|
 |
|
Re: List of custom controls, how?
|
 |
|
Re: List of custom controls, how?
By: mirek on Mon, 05 November 2012 19:50
|
 |
|
Re: List of custom controls, how?
By: crydev on Mon, 05 November 2012 21:48
|
 |
|
Re: List of custom controls, how?
By: crydev on Wed, 07 November 2012 10:02
|
 |
|
Re: List of custom controls, how?
|
 |
|
Re: List of custom controls, how?
By: crydev on Thu, 08 November 2012 09:29
|
 |
|
Re: List of custom controls, how?
|
 |
|
Re: List of custom controls, how?
By: crydev on Tue, 27 November 2012 17:33
|
 |
|
Re: List of custom controls, how?
|
 |
|
Re: List of custom controls, how?
By: crydev on Wed, 28 November 2012 08:20
|
Goto Forum:
Current Time: Sat Jun 07 01:44:42 CEST 2025
Total time taken to generate the page: 0.03441 seconds
|