by Massimo Linossi » Sat Oct 09, 2010 6:47 am
Hi Gale.
You can solve this problem in this way.
In TRBTN.PRG find the line where is the call to LittleArrow() and change with ::hArrow := ReadBitmap( 0, "C:\littlearrow.bmp" )
The bitmap is 10x7, with the transparent background.
The find the lines with the calls to TransBmp() and make these changes :
do case
case nTypeButton == TYPE_SPLITPOPUP
//TransBmp( ::hArrow, 5, 4, 0, ::hDC, ::nWidth / 2 - 2.5, ::nHeight - 6, 5, 4 )
Drawmasked( ::hDC, ::hArrow, ::nHeight - 12, ::nWidth / 2 - 2.5 )
case nTypeButton == TYPE_POPUP
//TransBmp( ::hArrow, 5, 4, 0, ::hDC, ::nPopupMargin + 1, ::nHeight / 2 - 2, 5, 4 )
Drawmasked( ::hDC, ::hArrow, ::nHeight / 2 - 2, ::nPopupMargin - 9 )
endcase
In whit way works perfectly. Already tested in Terminal Services and Citrix.