Sign in to follow this  
Followers 0
sshrum

Guictrlsetcursor Not Working When Guicrtlcreatepic Used

3 posts in this topic

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)
GuiCtrlSetColor(-1,0x0000ff)
GuiCtrlSetCursor(-1,0)
GuiSetState()
while 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
GuiDelete()

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)

8)


NEWHeader1.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
Sign in to follow this  
Followers 0