I found an example in RadAsm for magnify a portion of the screen
named ScreenMag and is very nice but I have another for VB
named Magnify and the masm example run more slow that VB...

what is this? is this posible?

(I have pentium III 750Mhz and 128Mb RAM with Win98)

Thanks all from Barcelona :alright:
Posted on 2002-06-26 15:39:26 by mnemox
the radasm example hooks mouse messages (the dll communicates with the main application via window messages as well). the vb example you posted uses a completely different approach (using a timer, checking the cursor position every 0.x seconds).
Posted on 2002-06-26 15:55:40 by Tola
The VB example was obviously not written by someone with a clue :rolleyes:

A better technique would be to subclass the message loop for that window or control, instead of hooking mouse messages. Then all you have to do is process the WM_MOUSEWHEEL message (as using the mouse wheel is the 'accepted' way of growing/shrinking the view).
Posted on 2002-06-26 17:59:03 by sluggy