Jump to content

want control on top of "ENABLED" image


GeekIT
 Share

Recommended Posts

Hi coders, is it possible to put a control on top of an image

and have the control still usable?

in the help it says that you need to disable the image but i want to use a context menu and

some event monitoring on the image so it must be enabled..

thanks in advance  :)

Link to comment
Share on other sites

  • Moderators

GeekIT,

If you overlap active controls then as AutoIt cannot determine which control you meant to action it fires neither. Could you not split the image and have it in sections around the control? :huh:

If that is not possible there is a UDF from Malkey somewhere which reacts when a certain area is clicked without needing a control - I will see if I can find it. :)

M23

Edit: Found it. :)

Edited by Melba23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

GeekIT,

If you overlap active controls then as AutoIt cannot determine which control you meant to action it fires neither. Could you not split the image and have it in sections around the control? :huh:

If that is not possible there is a UDF from Malkey somewhere which reacts when a certain area is clicked without needing a control - I will see if I can find it. :)

M23

Edit: Found it. :)

 

thanks for the quick reply!

can't autoit work with layered controls?

e.g. if i click on lets say an edit on top of an image then activate the edit, else use the image at the background?

Link to comment
Share on other sites

  • Moderators

GeekIT,

 

can't autoit work with layered controls?

Read what I posted above. If active controls overlap then as AutoIt cannot read your mind it refuses to action either. It is a common problem on the forum - usually caused by labels being too large and overlapping other controls. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

GeekIT,

 

Read what I posted above. If active controls overlap then as AutoIt cannot read your mind it refuses to action either. It is a common problem on the forum - usually caused by labels being too large and overlapping other controls. :)

M23

 

yes i saw your reply, i mean it's just a bit unfortunate that autoit can't decide that without further complex coding, well, i guess i have to use that udf you gave me then.

thanks for the help, i'm not going to mark this treat solved yet... maybe other people have some more suggestions.

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

×
×
  • Create New...