Click here to Skip to main content
15,902,198 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,I have a picture which is so big.I want the user to load it in a panel as background and I want the scollbars of the panel apear when the user loads the picture.
In other words, I want to have a scrollable panel so that when the user loades a picture_which is bigger than the panel size_ as background, the scrollbar apears.
what's the solution?
Thanks in advance
Updated:
I should add that I want to allow the user to draw on that panel so I have to call myPanel.invalidate many times .I think when I call invalidate, The panel is drown again from the top of it.
Posted
Updated 15-Jan-12 1:32am
v2

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900