Hello,
 
My apologizes for a non-PFC question.
 
I want to have picture command buttons on a window.  Picture command buttons do not have a mask color though, so the bitmap will look poor if someone has different display colors.  ( I would settle for a mask color on a datawindow picture ).
 
I cannot use the listview trick because my picture command button needs to be much smaller (16x16) than a listbox can do.
 
I have experimented with the API FloodFill, which works except that everytime the control is repainted by windows, it restores the original color, so I need to do a FloodFill on it again.
 
Does anyone have a solution to this?  What would be ideal is if you could paint a bitmap using the BUTTONFACE color, but that would be RGB(1201, 153, 131) and pbrush won't let me do that....
 
Does PB 7 have mask colors on picture buttons?
 
Thanks and again sorry for the non-pfc question.
 
D

Reply via email to