![]() |
#1
|
|||
|
|||
![]()
I'm learning to write CorelDraw dll plugins.
It's weired after i used SetCustomIcon("..\some.ico") to set the command button's icon, the icon displayed black background... Why? Help! I've checked the ico file in many icon tools... |
#2
|
||||
|
||||
![]()
Hi.
I haven't used this function before but can it accept a .bmp file also? ~John |
#3
|
|||
|
|||
![]()
thx for your reply.
Yes, it can accept a .bmp file, but i don't know how to set the transparent color in bmp? BMP does not support transparent background itself. So, does CorelDraw use a specific color as transparent? |
#4
|
||||
|
||||
![]()
I'm also, not familiar with this bit of code, but if it accepts a BMP, can it also accept a PNG?
__________________
Sean Waiting for a ride in the T.A.R.D.I.S. |
#5
|
|||
|
|||
![]()
I've tried it.
CorelDraw will not show the PNG file on a toolbar as one Icon. Instead, it shows a coffee icon... |
#6
|
|||
|
|||
![]()
Hi,
It won't honor transparency. Just make the background the same as the color of the CorelDRAW toolbar. That is what I do. -James |
#7
|
||||
|
||||
![]() Quote:
~John |
#8
|
|||
|
|||
![]()
That sounds a good idea except for CorelDraw may show different toolbar background colors under different Windows versions...
|
#9
|
|||
|
|||
![]()
Hi,
Unless one of the Corel guys wants to tell us how to get an icon with a transparent background to work then that is the only option I am aware of. I did NOT spend a great deal of time struggling with this though. Too much else on my plate... -James |
#10
|
||||
|
||||
![]() Quote:
There might be some work around ideas. Like buttons on top of a frame, the size the of the form, and set the frame to a color you choose. ~John |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convert Black RGB to Black CMYK (k100) | kunghel | CorelDRAW/Corel DESIGNER VBA | 7 | 13-07-2010 12:32 |
Status Bar display is reduced.[how to display full?] | hotdog10 | General | 2 | 14-04-2009 20:22 |
weird colors after .SetCustomIcon | Tomasz | CorelDRAW/Corel DESIGNER VBA | 5 | 20-08-2007 15:39 |
Background to object Fine! But Object to Background - How? | marian | General | 2 | 15-07-2005 03:51 |
How do you display and retrieve from... | Steve | CorelDRAW/Corel DESIGNER VBA | 2 | 06-05-2003 14:33 |