Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to draw nonscrollable elements on ScrollableControl

I have ScrollableControl inheritor and i want to draw elements (like header) which are not scrollable during scrolling.

Is there any solution?

like image 409
silly_dg Avatar asked Jan 26 '26 15:01

silly_dg


1 Answers

It seems there is no way to do that. When control is scrolled up for example, all content scrolled (copied) by ScrollWindow API call, and the rest part of control is invalidated.

All other hacks like handling scroll events and drawing over the control surface are not suitable.

like image 156
silly_dg Avatar answered Jan 29 '26 04:01

silly_dg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!