The 1. working version, to display all possible combinations.
User Defined Images and Backgrounds ( Setup ), will be added to the next Version.
First of all, I have to clear all Basic-Settings :
Download :
http://www.pflegeplus.com/fw_downloads/btntools1.zip ( 1.7 MB )
There is my extra style, to create a buttonbar right justified. It would be interesting for me to know,
how the bar is shown on different computers.
I could solve the problem of the missing Buttonborder from Resources in Class BTNBMP
adding WS_BORDER to the Button-Resource.
The problem now, because the 2 Resources-Previews using the same dialog,
Buttons with Style 2007 making problems ( Preview 4 ).
Is there maybe another solution for it ?
DIALOG1 DIALOG 41, 81, 285, 163
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "DIALOG_1"
FONT 8, "MS Sans Serif"
{
CONTROL "", 100, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 4, 4, 90, 50
CONTROL "", 110, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 4, 90, 50
CONTROL "", 120, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 190, 4, 90, 51
CONTROL "", 200, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 4, 57, 90, 50
CONTROL "", 210, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 97, 57, 90, 50
CONTROL "", 220, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 190, 57, 90, 50
CONTROL "", 300, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 190, 110, 87, 50
LTEXT "Text", 230, 64, 143, 123, 14
}

The Display of transparent Buttons on Gradient- and Image-Background, I couldn't solve.

I added a Background-Image to Sample : Testbtn3.prg
The reason for my question about a working Transparent-button on Images :
A empty transparent Button could be used as Hotspotarea.
With Colors, Image-Brushes and Styles ( Bricks, Tiled..) it works.

Regards
Uwe
