Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Window not scrolling
Re: Window not scrolling [message #43135 is a reply to message #43028] |
Thu, 15 May 2014 13:35 |
SkuldOMG
Messages: 2 Registered: April 2014
|
Junior Member |
|
|
Thanks for your answer!
I've got it nearly working, only I can't seem to find the proper way to add the current view to the scroller. In my process frame constructor I call at the very end:
Size sz = GetSize();
sc.EnableScroll();
Add(sc.SizePos());
sc.AddPane(this);
However this gives me the error error C2664: 'AutoScroller<C>::AddPane' : cannot convert parameter 1 from 'ProcessFrame *const ' to 'Upp::Ctrl &'.
EDIT:
When I try to call it via a function that returns a Ctrl & (such as sc.AddPane(Title("Progress Form"))), I end up getting a stack overflow in Ctrl::CancelModeDeep() when starting the program.
I also tried sc.AddPane(*GetParent()), which will lead to an "Assertion failed" error in CtrlChild.cpp.
[Updated on: Thu, 15 May 2014 13:49] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue May 07 17:47:13 CEST 2024
Total time taken to generate the page: 0.02479 seconds
|