
The blue turns to grey when the bitmap it displayed in the dialog.
What do I have to change?
Thanks for help,
Dietmar

Dietmar,
Please change the color of the pixel in 0, 0 to a different color.
FWH uses pixel 0, 0 color as the transparency desired color.
Antonio Linares wrote:Dietmar,
Please change the color of the pixel in 0, 0 to a different color.
Dietmar,
Are you using the TRANSPARENT clause from the BITMAP command ?
> Any news with trees and different fonts?
I may have missed your question about this.
Antonio Linares wrote:Dietmar,
Are you using the TRANSPARENT clause from the BITMAP command ?
not from the BITMAP command, but in the DIALOG command.
I just found out that this makes the difference.
I need this bitmap painted not transparent on a transparent dialog. Can this be done?
> Any news with trees and different fonts?
I may have missed your question about this.
Dietmar,
I guess the only way to do it is to use the style WS_OWNERDRAW for the treeview control in the resource
Antonio Linares wrote:Dietmar,
I guess the only way to do it is to use the style WS_OWNERDRAW for the treeview control in the resource
Dietmar,
>
Even then we would need a parameter for the font when the item is added in FWH, don't we?
oItem1 = oTree:Add( cPrompt, nImage, nValue, xxxoFontxxx ) or similar
Can this be done in the (near) future?
>
Yes, though it is much more complex than that. You can check Class TWindow, TListBox and TComboBox and see how Method DrawItem() are implemented.
>
For the bitmap:
If the DIALOG is defined TRANSPARENT the BITMAP is always painted transparent regardless if defined TRANSPARENT or not.
Can this be changed?
>
Please try this:
oBitmap:lTransparent = .F.
Yes, though it is much more complex than that. You can check Class TWindow, TListBox and TComboBox and see how Method DrawItem() are implemented.
Please try this:
oBitmap:lTransparent = .F.
Dietmar