32bits bitmap
Posted: Mon Nov 20, 2023 2:32 pm
Hi all,
in an effort to refresh our UI, I read in the SEUIXP documentation :
I tried a few different kLoadOptions without success. It does not complain but does not load either.
If the bmp is a 24bits one, no problem at all.
Is it possible to load 32bits bitmaps from resource ?
If not, then how can SEUIXP handle 32bits bitmaps ?
Regards.
in an effort to refresh our UI, I read in the SEUIXP documentation :
So we thought we could then provide our menus with 32bits BMP with alpha-channel, but I can't seem to be able to load a 32bits bitmap:SEUIXP Classes and the Ribbon Manager supports 32 Bit Bitmaps with alpha channel.
All Windows versions older than 'Windows XP' do not support Bitmaps with alpha channel.
All version since 'Windows XP' can display 32 Bit bitmaps with alpha channel. If you want optimal looking toolbars for all os versions
and all color modes of graphic cards, you can use separate bitmaps for 4, 8, 24 and 32 Bit modes.
Code: Select all
CLASS Ribbon32 INHERIT Bitmap
CONSTRUCTOR()
VAR RES := ResourceID{"Ribbon32", _GetInst(), LR_LOADFROMFILE}
SUPER( RES )
RETURN SELF
END CLASS
If the bmp is a 24bits one, no problem at all.
Is it possible to load 32bits bitmaps from resource ?
If not, then how can SEUIXP handle 32bits bitmaps ?
Regards.