Hello all,
I am a newbie in emWin library. I have installed Visual Studio 2015 and with the help of GUIBuilder tool, created a simple dialog with a button.
I am trying to experiment actions on various button states like enabled, disabled, mouse hover, mouse clicked.
For enabled and button clicked, I successfully tried using BUTTON_SKINPROPS_PRESSED.
But for disabled and mouse hover, I haven't succeeded yet.
Tried multiple options - BUTTON_SetFocussable(hButton, 0); or BUTTON_SKINFLEX_PI_DISABLED option.
Could anyone please help me with a sample code snippet on how to set a button in disabled state and how to implement mouse hover action on a button?
Looking forward to your valuable response
Thanking you in advance,
Lullaby
I am a newbie in emWin library. I have installed Visual Studio 2015 and with the help of GUIBuilder tool, created a simple dialog with a button.
I am trying to experiment actions on various button states like enabled, disabled, mouse hover, mouse clicked.
For enabled and button clicked, I successfully tried using BUTTON_SKINPROPS_PRESSED.
But for disabled and mouse hover, I haven't succeeded yet.
Tried multiple options - BUTTON_SetFocussable(hButton, 0); or BUTTON_SKINFLEX_PI_DISABLED option.
Could anyone please help me with a sample code snippet on how to set a button in disabled state and how to implement mouse hover action on a button?
Looking forward to your valuable response
Thanking you in advance,
Lullaby