Jump to content
Sign in to follow this  

Guictrlsetcursor Not Working When Guicrtlcreatepic Used

Recommended Posts


This seems like a bug.

#Include <Constants.au3>
#include <GuiConstants.au3>
GuiCreate("About ",294,250,(@DesktopWidth-294)/2, (@DesktopHeight-250)/2, BitOr($WS_POPUP,$WS_CAPTION,$WS_SYSMENU))
;~ $Pic_1 = GuiCtrlCreatePic("c:\something.jpg", 0, 0,294,250)
$www = GUICtrlCreateLabel ("http://www.shrum.net" ,10, 128, 274, 15,$SS_CENTER)
GuiCtrlSetFont(-1, 8.5, -1, 4)
while 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop

Note that the code above works but as soon as you un-comment the GUICTRLCREATEPIC line, the cursor no longer changes when moved over the text.

I'm running beta 118.

Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'


Share this post

Link to post
Share on other sites

like this

$Pic_1 = GuiCtrlCreatePic()
GUICtrlSetState( -1, $GUI_DISABLE)



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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.