Kyan

Photo Zoom effect on a thumbnail

2 posts in this topic

Hey

Is there a way doing the same zoom effect as Photo Zoom extension?

Like, I put a tiny thumbnail on my gui, and when the mouse is hover it creates a window's less gui and displays the image at is full size?

 

My doubt is:

  • how to create a gui stripped of border/title/buttons
  • how to make it appear while hovering a GuiControl

I think this can be done with autoit :s


Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I managed to do the second question from a snippet, the border less gui I don't know how to do it :

AdlibRegister ("Hover",50)

Func Hover()
    $CurserID = GUIGetCursorInfo($Form1)
    If $CurserID[4] = 0 Then Return
    If $CurserID[4] = $thumb Then
        ;make the borderLess gui appear
        While $CurserID[4] = $ApplyButton
            Sleep(15)
        WEnd
        ;make the borderLess gui disappear
    EndIf 
EndFunc
EDIT: Melba23:

#include <GuiconstantsEx.au3>
#include <WindowsConstants.au3>

HotKeySet("{ESC}", "On_Exit")
Func On_Exit()
    Exit
EndFunc

$hGUI = GUICreate("X", 50, 50, -1, -1, BitOR($WS_POPUP, $WS_BORDER), $WS_EX_TOPMOST)
GUISetBkColor(0xFFFFFF, $hGUI)
GUISetState()

While 1
    Sleep(10)
WEnd
Exit 
How do I hide the taskbar button? Is possible to make the "window" follow the cursor? Edited by Kyan

Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now