Click here to Skip to main content
15,889,879 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Boiled down, this is what I am facing:
Given an arbitrary point in a Windows panel control with various shapes drawn on it, how can I make sure that point is always 'in view'? The panel is 8000 x 6000 in size, and the point is generated by the program as a simulation runs.

What I have tried:

I cannot get the scroll bars of the containing panel to track the point, and nothing from Google works - they all want a 'control' on the panel to reference for location.
Posted
Comments
#realJSOP 26-Apr-19 8:02am    
What framework? WPF or Winforms?

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