If I set the scrollbars argument to true, the scrollbars aren't shown.
This looks like correct behavior since the scroll maximum is being set
to the viewport extents.

The problem is that, after the call, the viewport isn't scaled to the
full size of the canvas. I understand, that the same scale factor is
used for x and y, so if the canvas' aspect ratio isn't the same as the
viewport's aspect ration, there will be space either at the top or
right, but I'm seeing it on top and on the right. It acts like

GetSaveClientSize(&dxn,&dyn)

is returning a size as if the scrollbars were visible.

Is this expected behavior?

Thanks,
David

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to