PC Review


Reply
Thread Tools Rate Thread

Creating a UserControl that is bigger than the space it has in it'swindow

 
 
Rune Jacobsen
Guest
Posts: n/a
 
      13th Jul 2006
Hi guys,

Using C# and Visual Studio 2003, I want to build a control that contains
a large square area for visual display of some data that will most
likely not fit on a normal PC screen (perhaps 4000x1000 pixels on
average, some times larger, some times smaller). The data displayed is
not something that needs to be seen all at once, and the users will
expect to do a little scrolling.

This visual display will be put into a normal Windows Form, with a panel
with some controls docked to the top, a status bar docked to the bottom,
and my new control set to Dock/Fill.

Now, naturally, if we say that the graphics area of my display is
4000x1000, and the control rectangle is only 400x100, scrollbars should
automatically appear. If someone has a screen that is big enough, the
whole visual area should show up at once. To complicate matters, there
are two static areas inside the control that should always be visible -
an icon list to the left that will scroll with the rest up and down, but
always remain on the left side, and a time reference on the top that
will scroll horizontally with the data but always remain on the top.

If this isn't impossible to understand - does someone know the best way
to implement this? Should I just subclass UserControl and add some
scroll bars manually and do everything myself, or is there something
else that would do most of the work for me (apart from repainting the
visual layout of course)?

Thanks for any help!

Rune Jacobsen
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
space bar deletes letters instead of creating a space Big-thunder Microsoft Outlook Discussion 3 9th Feb 2010 02:56 AM
How To center a logical drawing space much bigger than your screen? raylopez99 Microsoft C# .NET 8 28th Nov 2008 10:01 PM
Usercontrol get bigger when placed on the form? Netter Microsoft VB .NET 0 8th Apr 2006 02:08 AM
Backup image file of Ghost 9 is bigger than used space on source disk C:\ Josh Storage Devices 6 1st Feb 2005 03:29 AM
Creating a bigger list in Data Validation shezageek Microsoft Excel Discussion 12 24th Jan 2005 03:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:49 PM.