Popup buttons: transparency

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
Tom
Posts: 1171
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Popup buttons: transparency

#1 Post 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
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Popup buttons: transparency

#2 Post 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.
Attachments
_dcxbpgt.zip
Fix transparent of popup button
(16.6 KiB) Downloaded 709 times
The eXpress train is coming - and it has more cars.

Post Reply