473,396 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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
Jul 13 '06 #1
0 965

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: bob | last post by:
I have a button on a web form in which I am calling some javascript. The button opens up another browser window as a dialog box. The problem is that I do not want the page to be resubmitted first...
2
by: GD | last post by:
I have an ImageButton in a Repeater, and in the Repeater's OnItemDataBound event, I'd like to add some code that will let the ImageButton open a URL in a new window. This is what I have in my...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.