Jump to content

GUI background PIC


Recommended Posts

I thought I would be all nifty and put a pretty pic on the background of a toolbar like child window. Looks nice but the pic seems to be overlayed on top of the buttons as they become unclickable.

Am I unable to do this? I thought to play with the layered extended style but it's not for child windows.

Link to comment
Share on other sites

You have to disable your background image, otherwise it's receiving the clicks first.

After your GUI...Pic, put

GuiCtrlSetState(-1, $GUI_DISABLE)

That should work.

It's a bit of an oddness, you create the control first, so visually it's on the bottom, but "clickingly" (heh) it's on the top.

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...