|
-
Apr 21st, 2019, 04:29 AM
#20
Re: Split Twip | 3000 X 2000 | Old OCX | Resizing Woes
Property Get Screen.TwipsPerPixelsX accesses internal VB6 struct where the value is 4-byte int and it is used all over the place directly as an int so this cannot be fixed by a simple in-memory patch. Turning this member to float and a simple recompile will be painless though.
Another interesting point is that there *is* Property Let Screen.TwipsPerPixelsX in the Screen object's vtable which is not exposed in the typelib. Unfortunately calling it just errors with "Property Let not implemented" or similar.
cheers,
</wqw>
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|