I want a dialog to have multiple buttons and when I hover over the buttons, the background behind and around the buttons is supposed to be highlighted (the buttons themselves don't have a hover image for various reasons).
My first approach was to use a "dialog item image" with a transparent image and place it behind the buttons to use a hover image effect to switch to a highlighted mode. Then I realized that hover images don't work on image dialog items (even not with the "accept mouse" flag).
You can detect when mouse enters/exits dialog item via "dialog item is used" event. Use that and manually show/hide/manipulate dialog images accordingly.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi there,
I want a dialog to have multiple buttons and when I hover over the buttons, the background behind and around the buttons is supposed to be highlighted (the buttons themselves don't have a hover image for various reasons).
My first approach was to use a "dialog item image" with a transparent image and place it behind the buttons to use a hover image effect to switch to a highlighted mode. Then I realized that hover images don't work on image dialog items (even not with the "accept mouse" flag).
Now I'm out of options already. Do you have any?
You can detect when mouse enters/exits dialog item via "dialog item is used" event. Use that and manually show/hide/manipulate dialog images accordingly.