Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » scrolling without Frame and wrapping Ctrl?
Re: scrolling without Frame and wrapping Ctrl? [message #3960 is a reply to message #3957] Tue, 11 July 2006 17:54 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
fallingdutch wrote on Tue, 11 July 2006 14:28

Hi, fudamin,

I want to be able to put different Ctrls inside the non scroleable Area.

Yes, I had a look at your scrolleable area, but I dont want Scrollbars and with Scrollbars you put a Frame around the scrolling area.

thanks for your answer, Bas


ScrollArea::ScrollArea()
{
	SetWorkSize(Size(1000,1000));
	AddFrame(sc);
	Add(work);

	sc.HideX();  //
//	sc.HideY();  // ADDED uncomment to hide scrollbars...
	
	sc.WhenScroll=THISBACK(Scroll);
//	AddFrame(ThinOutsetFrame());
//	AddFrame(ThinInsetFrame());  //comment if you don't need
}

Use HideX and HideY accordingly if you don't need scrollbars.
You can remove my added frames by commenting them at initialization and , as I remember, it is possible to remove other frames with RemoveFrame(...).
But what is behind the idea: scrollable area without the scrollbars?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Understanding Frames
Next Topic: Filling TabCtrl from Layout
Goto Forum:
  


Current Time: Wed May 15 17:49:55 CEST 2024

Total time taken to generate the page: 0.03529 seconds