Hello All.
I have a question with the color: GUI_TRANSPARENT.
Is it possible to set a <Widget>_SetBkColor to the color GUI_TRANSPARENT ?
Here is my code:
WINDOW_SetBkColor(pMsg->hWin, GUI_YELLOW);
LISTBOX_SetBkColor(hItem,LISTBOX_CI_UNSEL,GUI_TRANSPARENT);
LISTBOX_SetBkColor(hItem,LISTBOX_CI_SEL,GUI_TRANSPARENT);
LISTBOX_SetBkColor(hItem,LISTBOX_CI_SELFOCUS,GUI_TRANSPARENT);
LISTBOX_SetBkColor(hItem,LISTBOX_CI_DISABLED,GUI_TRANSPARENT);
So I believed that my listbox color will be Yellow, unfortunately, it is BLACK.
So you will say, put all your properties to GUI_YELLOW for this widget, but is not so simple, in fact my background will be an image, that’s why I want my list box to be transparent to be in line with the background .
I have a question with the color: GUI_TRANSPARENT.
Is it possible to set a <Widget>_SetBkColor to the color GUI_TRANSPARENT ?
Here is my code:
WINDOW_SetBkColor(pMsg->hWin, GUI_YELLOW);
LISTBOX_SetBkColor(hItem,LISTBOX_CI_UNSEL,GUI_TRANSPARENT);
LISTBOX_SetBkColor(hItem,LISTBOX_CI_SEL,GUI_TRANSPARENT);
LISTBOX_SetBkColor(hItem,LISTBOX_CI_SELFOCUS,GUI_TRANSPARENT);
LISTBOX_SetBkColor(hItem,LISTBOX_CI_DISABLED,GUI_TRANSPARENT);
So I believed that my listbox color will be Yellow, unfortunately, it is BLACK.
So you will say, put all your properties to GUI_YELLOW for this widget, but is not so simple, in fact my background will be an image, that’s why I want my list box to be transparent to be in line with the background .