Search found 45 matches: nbmpheight

Return to advanced search

Re: XBROWSE transparente

Mr Rao. Encontré la solución. ::bPaintBack := {|| aOrg := SetBrushOrgEx( ::hDC, nBmpWidth( ::oWnd:oBrush:hBitmap ) - ::nLeft, nBmpHeight( ::oWnd:oBrush:hBitmap ) - ::nTop ), FillRect( ::hDC, GetClientRect( ::hWnd ), ::oWnd:oBrush:hBrush ), SetBrushOrgEx( ::hDC, aOrg[ 1 ], aOrg[ 2 ] ) ...
by Modesto
Thu Feb 11, 2021 1:29 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE transparente
Replies: 4
Views: 530

Re: A problem with GDIP_IMAGEFROMFILE()

We recommend using FW_ReadImage( nil, cAnyImageSource, [aSize], [lGDIP] ) --> aImage

Elements of aImage:
{ hBitmap, hPalette, nBmpWidth, nBmpHeight, lAlpha, cName, lResource, cType, nZeroClr }

Destroy with
PalBmpFree( aImage )
by nageswaragunupudi
Sat Feb 29, 2020 12:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with GDIP_IMAGEFROMFILE() [Solved]
Replies: 2
Views: 527

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6329

Re: COMO CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE

... n:=0 xBrw:aSortBmp := {} hBmp := if( n = 0, FWbmpAsc(),LoadBitMap(GetResources(), cBmpAsc ) ) AAdd( xBrw:aSortBmp, { hBmp, 0, nBmpWidth( hBmp ), nBmpHeight( hBmp ), nil, .F. } ) hBmp := if( n = 0, FWbmpDes(),LoadBitMap(GetResources(), cBmpDes ) ) AAdd( xBrw:aSortBmp, { hBmp, 0, nBmpWidth( hBmp ...
by cnavarro
Sun Aug 20, 2017 11:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE
Replies: 6
Views: 1255

COMO CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE

... n:=0 xBrw:aSortBmp := {} hBmp := if( n = 0, FWbmpAsc(),LoadBitMap(GetResources(), cBmpAsc ) ) AAdd( xBrw:aSortBmp, { hBmp, 0, nBmpWidth( hBmp ), nBmpHeight( hBmp ), nil, .F. } ) hBmp := if( n = 0, FWbmpDes(),LoadBitMap(GetResources(), cBmpDes ) ) AAdd( xBrw:aSortBmp, { hBmp, 0, nBmpWidth( hBmp ...
by rterraz
Sun Aug 13, 2017 3:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE
Replies: 6
Views: 1255

CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE

... n:=0 xBrw:aSortBmp := {} hBmp := if( n = 0, FWbmpAsc(),LoadBitMap(GetResources(), cBmpAsc ) ) AAdd( xBrw:aSortBmp, { hBmp, 0, nBmpWidth( hBmp ), nBmpHeight( hBmp ), nil, .F. } ) hBmp := if( n = 0, FWbmpDes(),LoadBitMap(GetResources(), cBmpDes ) ) AAdd( xBrw:aSortBmp, { hBmp, 0, nBmpWidth( hBmp ...
by rterraz
Sun Aug 13, 2017 3:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CAMBIAR BMP EN EL SORT DEL HEADER DE XBROWSE
Replies: 0
Views: 435

Re: TBarTabs Tamaño de los tabs

... DT_LEFT, DT_VCENTER ) ) */ // esto modifica la ubicacion vertical del BMP if ::nOrientation <= OR_BOTTOM TransBmp( hBmp, nBmpWidth( hBmp ), nBmpHeight( hBmp ), /* RGB( 255, 0, 255 ) */ nZeroZeroClr, ::hDC,; nStart + 12, If( ::nOrientation == OR_TOP, 8, 0 ), 16, 16 ) /* codigo original TransBmp( ...
by rterraz
Tue Sep 20, 2016 2:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TBarTabs Tamaño de los tabs
Replies: 3
Views: 738

Re: TXImage from resources

Enrico , use WndReadPalBmpEx( Self, uBmp, aReSize ) -> aBmp // format: { hBitmap, hPalette, nBmpWidth, nBmpHeight, lAlpha, cName, lResource } This function is in btnbmp.prg for substitution in test . In my tests gdi+ it gives equal and often better quality than freeimage ...
by mastintin
Sat Oct 24, 2015 5:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TXImage from resources
Replies: 5
Views: 1100

New FTDN January/Enero 2015 (FWH 15.01)

... samples\fivedit.prg for an example of use. * New: Method ReadPalBmpEx( uSource, [aResize] ) class TWindow --> { hBitmap, hPalette, nBmpWidth, nBmpHeight, lAlpha, cName, lResource } uSource can be bmpfile, resource, any imagefile, image buffer from memory or handle of a bitmap. Optional aResize ...
by Antonio Linares
Sun Jan 18, 2015 11:04 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2015 (FWH 15.01)
Replies: 0
Views: 1940

New FTDN August 2014 (FWH 14.08)

... * Fix: Fix in function DrawTransBmp() used from Class TBtnBmp: nBmpWidth() was used instead of nBmpHeight(). Now it is ok. * Enhancement: Class TTreeView new Methods SetItemImage( oItem, nImage ) and SetItemHeight( nHeight ), thanks to Manuel ...
by Antonio Linares
Sat Sep 06, 2014 11:55 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN August 2014 (FWH 14.08)
Replies: 2
Views: 1841

xBrowse Melhoria FOOTER.

... ], aBitmap[ BITMAP_WIDTH ], aBitmap[ BITMAP_HEIGHT ],; aBitmap[ BITMAP_ZEROCLR ], hDC, nBmpCol, nBmpRow, nBmpWidth( aBitmap[ BITMAP_HANDLE ] ),; nBmpHeight( aBitmap[ BITMAP_HANDLE ] ) ) endif endif elseif ::lFootAlignBtn .and. ; ::nEditType == EDIT_GET_BUTTON .and. ; ::nFootStrAlign == AL_RIGHT ...
by MGA
Mon Jul 07, 2014 2:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse Melhoria FOOTER.
Replies: 0
Views: 296

Re: tamaño imagen

Hola,

Prueba con nBmpHeight(hBmp) y nBmpWidth(hBmp)
by antolin
Thu Oct 18, 2012 9:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: tamaño imagen
Replies: 2
Views: 690

Metro-Bitmap with enhanced Quality on resize

... I changed in => METHOD LoadBitmaps( uBmp ) CLASS TMetroBtn hBmp := ResizeImg( ( hBmp1 := hBmp ), ::nBmpWidth, ::nBmpHeight ) to : hBmp := ResizeBmp( ( hBmp1 := hBmp ), ::nBmpWidth, ::nBmpHeight, .T. ) The difference using a JPG-file ( screenshot enlarged to show ...
by ukoenig
Wed Jun 27, 2012 1:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Metro-Bitmap with enhanced Quality on resize
Replies: 0
Views: 384

Possible changes in METRO ( Design ) ?

... Some BMP's are not equal in width and height. TMetroBtn():New( nX, nY, lLarge, Self, cCaption, cImgName, bAction, nAlign, ; nBmpAlign, nBmpWidth, nBmpHeight , oFont, cText, nTextAlign, oTextFont, oSubMetro, ; nGroup, cBackImage, cAction, cSub ) TMetroBtn():New( nX, nY, lLarge, Self, cCaption, ...
by ukoenig
Tue May 01, 2012 8:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible changes in METRO ( Design ) ?
Replies: 0
Views: 395

TTitle from RESOURCE a Image-problem ?

... TTitles from Resource , I getting a error on this line : 650 DEFAULT nRow := ::nHeight / if( ::oWnd:ClassName() == "TWINDOW", 2, 1 ) - nBmpHeight( hBmp ) / 2 - If( ::lBase, 3, 0 ) Error description: Error BASE/1081 Argument error: + Args: [ 1] = N 10 [ 2] = U Stack Calls =========== ...
by ukoenig
Fri Apr 27, 2012 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TTitle from RESOURCE a Image-problem ?
Replies: 5
Views: 1744
Next

Return to advanced search