Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewport not drawn correctly after leaving .Maximized #13

Closed
tannerhelland opened this issue Jul 11, 2012 · 1 comment
Closed

Viewport not drawn correctly after leaving .Maximized #13

tannerhelland opened this issue Jul 11, 2012 · 1 comment
Labels

Comments

@tannerhelland
Copy link
Owner

Proposed solution: track window state in pdImages(). When leaving .Maximized, call PrepareViewport on all windows. (This is especially important if the images were loaded in the .Maximized state, as the new window size assigned to them by VB is likely to be too small for the viewport size.)

tannerhelland added a commit that referenced this issue Jul 17, 2012
…dows

pdImages now tracks window state, and triggers a redraw of all viewports
when an image form is maximized or un-maximized.  (Necessary because MDI
rules require ALL child windows to be maximized or NO child windows to
be maximized.)  Also added checking for off-screen images; these are now
moved on-screen when an image form is un-maximized.
@tannerhelland
Copy link
Owner Author

Fixed by f6a75dc

tannerhelland added a commit that referenced this issue Aug 21, 2012
…dows

pdImages now tracks window state, and triggers a redraw of all viewports
when an image form is maximized or un-maximized.  (Necessary because MDI
rules require ALL child windows to be maximized or NO child windows to
be maximized.)  Also added checking for off-screen images; these are now
moved on-screen when an image form is un-maximized.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant