Jump to content

Buttons and Pictures


 Share

Recommended Posts

I'm trying to make it so that I have

$Form = GUICreate("Dell 2400MP", 180, 530, -1, -1,$WS_EX_TRANSPARENT)

$Pic1 = GUICtrlCreatePic("Remote.jpg", -2, -2, 180, 500, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))

$Button1 = GUICtrlCreateButton("", 108, 16, 44, 42, BitOR($BS_DEFPUSHBUTTON,$BS_PUSHBOX,$BS_CENTER,$BS_PUSHLIKE,$BS_BITMAP))

GUICtrlSetImage(-1, "Power.bmp", 0)

GUICtrlSetTip(-1, "Power ON / OFF")

GUISetState(@SW_SHOW)

So what I have is this image as a background image then I screen captured the power button.

Then used that pic to put it on a autoit button but I can't click on it with the mouse but as soon as the button is off the background picture I can click on button ?????

Plus the button has a dashed line around it which is annoying.

Posted Image

Please help

Link to comment
Share on other sites

I actually did this same thing...

Posted Image

You can try "flat" buttons ect, see button styles and extended styles in the "button" help page

But, I ended up making labels under the picture!!

8)

Ok I have done it .... heehehe Dell 2400MP Projector Remote Over the Network.

I can control it via RS232 ... WAHOOO

SAD PART THESE BUTTONS LOOK LIKE CRAP !!!!.... HELP

Posted Image

Edited by Ghost21
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...