471,354 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Chnage the value of the scrollbar only one time

Hi,

In my Win32 application, I've a panel with a picturebox containg a picture,
i want that the scrollbar won't start from position 0, but from 120 (for
example), on Load i change the value to 120 (panel1.VerticalScroll.Value =
120;) but then when i Hide the form and open it again, some parts of the
picture is missing and instead of 120 the value is 240 (the 120 point became
the 0 point). how can i avoid that? how can i make sure that the picture
won't change and only the scrollbar position?

thanks,
Gidi.
Apr 4 '08 #1
0 1073

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Barbara de Zoete | last post: by
5 posts views Thread by Spondishy | last post: by
2 posts views Thread by Ahmad Jalil Qarshi | last post: by
reply views Thread by d.steininger | last post: by
2 posts views Thread by Mr. Bean | last post: by
14 posts views Thread by Michael Weis | last post: by
reply views Thread by XIAOLAOHU | last post: by

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.