CAN I MODIFY THE BITMAPS ( ARROWS) on THE HEADER OF XBROWSE WHEN I USE AUTOSORT PARAMETER
WHERE I CAN MODIFY XBROWSE CLASS TO INSERT MINE BMPS ?
THANKS
oBrw:aSortBmp := { { hBmpAsc, 0, nBmpWidth( hBmpAsc ), nBmpHeight( hBmpAsc ), nil, HasAlpha( hBmpAsc) }, ;
{ { hBmpDsc, 0, nBmpWidth( hBmpDsc ), nBmpHeight( hBmpDsc ), nil, HasAlpha( hBmpDsc ) } }
// Eg. to Load from Resource
hBmpAsc := LoadBitmap( GetResources(), cBmpResName )
// Eg. To Load from Disk file
hBmpDsc := ReadBitmap( 0, cBmpFileName )
...
...
@0,0 XBROWSE oBrw
...
oBrw:aSortBmp := { { hBmpAsc, 0, nBmpWidth( hBmpAsc ), nBmpHeight( hBmpAsc ), nil, HasAlpha( hBmpAsc) }, ;
{ { hBmpDsc, 0, nBmpWidth( hBmpDsc ), nBmpHeight( hBmpDsc ), nil, HasAlpha( hBmpDsc ) } }
...
...
// Remove
DeleteObject( hBmpAsc )
DeleteObject( hBmpDsc )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 51 guests