Page 1 of 1

Popup buttons: transparency

Posted: Fri Feb 26, 2010 9:06 am
by Tom
Hi, Roger.

Normal DCPUSHBUTTONS reflect the DC_BitmapTransparency()-settings if a bitmap is the button caption. Buttons added this way:

Code: Select all

@ 1,1 DCSAY 'This is not my day:' GET c ... POPUP {||c:=GetMyDay(c)} POPCAPTION BITMAP_WTF
do not reflect the settings.

Tom

Re: Popup buttons: transparency

Posted: Fri Feb 26, 2010 9:32 am
by rdonnay
Transparency should work in the code I gave you this morning.

I made changes recently for Chris Andries to allow it to work with resources in a dll.
Those same changes also make it work with transparency.

Copy the attached _dcxbpgt.prg to \exp19\source\dclipx and rebuild dclipx.dll.