Search found 45 matches: nbmpheight

Return to advanced search

... hDC, 0, 0 ) local nOldClr SelectObject( hDC, hBmpOld ) nOldClr = SetBkColor( hDC, nRGB( 255, 255, 255 ) ) TransBmp( hBitmap, nBmpWidth( hBitmap ), nBmpHeight( hBitmap ),; nZeroZeroClr, hDC, 10, 20, nBmpWidth( hBitmap ), nBmpHeight( hBitmap ) ) SetBkColor( hDC, nOldClr ) return nil http://www.atzwanger.com/fw/bmponbmp.jpg
by Otto
Fri Mar 07, 2008 5:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: a TBitmap behind of a TBitmap?
Replies: 18
Views: 3372

Enrico, Fixed: TransBmp( ::hBitmap1, nBmpWidth( ::hBitmap1 ), nBmpHeight( ::hBitmap1 ), nZeroZeroClr, ::hDC,; ( ::nWidth / 2 ) - ( nBmpWidth( ::hBitmap1 ) / 2 ) + If( ::lPressed, 2, 1 ),; Max( 0, ( ::nHeight / 3 ) - ( nBmpHeight( ::hBitmap1 ) / 2 ) + If( ...
by Antonio Linares
Tue Oct 09, 2007 6:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in the new 2007 clause
Replies: 19
Views: 2810

COLORES EN GROUP BOX

... , ::nClrPane ) SetTextColor( hDC, ::nClrText ) SetBkColor( hDC, ::nClrPane ) if ::oBrush:hBitmap != nil SetBrushOrgEx( hDC, ::nLeft(), nBmpHeight( ::oBrush:hBitmap ) - ::nTop ) endif return ::oBrush:hBrush // Donde esta mi erro?? Muchas gracias. Regards, saludos.
by karinha
Fri Aug 31, 2007 7:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COLORES EN GROUP BOX
Replies: 11
Views: 3566

Re: Amigos AYUDA URGENTE

... hDC, oWnd, oBmp ) local nWidth := oWnd:nWidth(), nHeight := oWnd:nHeight() local nRow := 0, nCol := 0, n local nBmpWidth := oBmp:nWidth(), nBmpHeight := oBmp:nHeight() while nRow < nHeight nCol = 0 while nCol < nWidth PalBmpDraw( hDC, nRow, nCol, oBmp:hBitmap ) nCol += nBmpWidth end ...
by Miguel Rivera
Tue Feb 20, 2007 6:08 pm
 
Forum: FiveWin para CA-Clipper
Topic: Amigos AYUDA URGENTE
Replies: 3
Views: 1450

Re: Amigos AYUDA URGENTE

... hDC, oWnd, oBmp ) local nWidth := oWnd:nWidth(), nHeight := oWnd:nHeight() local nRow := 0, nCol := 0, n local nBmpWidth := oBmp:nWidth(), nBmpHeight := oBmp:nHeight() while nRow < nHeight nCol = 0 while nCol < nWidth PalBmpDraw( hDC, nRow, nCol, oBmp:hBitmap ) nCol += nBmpWidth end ...
by wmormar
Tue Feb 20, 2007 5:39 pm
 
Forum: FiveWin para CA-Clipper
Topic: Amigos AYUDA URGENTE
Replies: 3
Views: 1450

Amigos AYUDA URGENTE

... hDC, oWnd, oBmp ) local nWidth := oWnd:nWidth(), nHeight := oWnd:nHeight() local nRow := 0, nCol := 0, n local nBmpWidth := oBmp:nWidth(), nBmpHeight := oBmp:nHeight() while nRow < nHeight nCol = 0 while nCol < nWidth PalBmpDraw( hDC, nRow, nCol, oBmp:hBitmap ) nCol += nBmpWidth end ...
by Miguel Rivera
Tue Feb 20, 2007 4:49 pm
 
Forum: FiveWin para CA-Clipper
Topic: Amigos AYUDA URGENTE
Replies: 3
Views: 1450

... , ::nClrPane ) SetTextColor( hDC, ::nClrText ) SetBkColor( hDC, ::nClrPane ) if ::oBrush:hBitmap != nil SetBrushOrgEx( hDC, ::nLeft(), nBmpHeight( ::oBrush:hBitmap ) - ::nTop ) endif return ::oBrush:hBrush //-> RECOMPILE YOUR FIVEHX.LIB Regards, saludos.
by karinha
Thu Aug 24, 2006 4:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: trasparent error in dialog
Replies: 8
Views: 2352

... mi codigo para desplegar una imagen centrada en mi ventana principal oWnd:bPainted = { | hDC | PalBmpDraw( hDC,; (oWnd:nTop()-50)+((oWnd:nHeight()-nBmpHeight( oBmp:hBitmap ))/2),; oWnd:nLeft()+((oWnd:nWidth()-nBmpWidth( oBmp:hBitmap ))/2),; oBmp:hBitmap ) } ACTIVATE WINDOW oWnd ; ON INIT ( If( ...
by dbzap
Mon Apr 10, 2006 5:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TImage:Hbmppal error
Replies: 5
Views: 1267

Rossine,

nBmpHeight( ::hBmpRecSel )
by Antonio Linares
Tue Apr 04, 2006 2:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Para Antonio - Como rolar header e Footer de THEADER
Replies: 42
Views: 12515

... , ::nClrPane ) SetTextColor( hDC, ::nClrText ) SetBkColor( hDC, ::nClrPane ) if ::oBrush:hBitmap != nil SetBrushOrgEx( hDC, ::nLeft(), nBmpHeight( ::oBrush:hBitmap ) - ::nTop ) endif return ::oBrush:hBrush
by karinha
Tue Mar 28, 2006 9:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Message not found: TSAY:LTRANSPARENT
Replies: 21
Views: 6608

... , ::nClrPane ) SetTextColor( hDC, ::nClrText ) SetBkColor( hDC, ::nClrPane ) if ::oBrush:hBitmap != nil SetBrushOrgEx( hDC, ::nLeft(), nBmpHeight( ::oBrush:hBitmap ) - ::nTop ) endif return ::oBrush:hBrush //----------------------------------------------------------------------------//
by karinha
Mon Mar 27, 2006 8:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Message not found: TSAY:LTRANSPARENT
Replies: 21
Views: 6608

... em 20/02/2006 Para TRANSPARENT if ::lTransparent .and. ! Empty( ::oBrush:hBitmap ) SetBrushOrgEx( ::hDC, nBmpWidth( ::oBrush:hBitmap ) - ::nLeft, nBmpHeight( ::oBrush:hBitmap ) - ::nTop ) FillRect( ::hDC, GetClientRect( ::hWnd ), ::oBrush:hBrush ) endif for n := 1 to len( ::aCaption ) WSay( ::hWnd, ...
by karinha
Tue Feb 21, 2006 2:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CLASSE DSAY.PRG CON COMANDO TRANSPARENT
Replies: 5
Views: 1911

En el método Paint() de la Clase TButtonBmp hay este código: if ! Empty( ::hBitmap ) nTop = ( ::nHeight() / 2 ) - ( nBmpHeight( ::hBitmap ) / 2 ) nLeft = ( ::nWidth() / 2 ) - ( nBmpWidth( ::hBitmap ) / 2 ) if ::lActive DrawMasked( ::hDC, ::hBitmap, nTop + If( lPressed, 1, 0 ),; nLeft ...
by Antonio Linares
Mon Nov 28, 2005 6:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: BUTTONBMP el bmp sale encima del texto
Replies: 2
Views: 825

Resuelto!!

... hDC, oWnd, oBmp ) local nWidth := oWnd:nWidth(), nHeight := oWnd:nHeight() local nRow := 0, nCol := 0, n local nBmpWidth := oBmp:nWidth(), nBmpHeight := oBmp:nHeight() if oBmp:hBitmap == 0 return nil endif while nRow < nHeight nCol = 0 while nCol < nWidth PalBmpDraw( hDC, nRow, nCol, ...
by Patricio Avalos Aguirre
Wed Oct 19, 2005 7:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: imagen al inicio del sistema
Replies: 3
Views: 1899

Re: Help to antonio

Silvio,

Silvio wrote:I trying to convert old program ( 16 bit) to xharbour and now my xmate make me errors :

::nWidth := pBmpWidth ( ::hBmp )
::nHeight := pBmpHeight( ::hBmp )

these func exist or not ?


Use:

::nWidth := nBmpWidth ( ::hBmp )
::nHeight := nBmpHeight( ::hBmp )
by Antonio Linares
Tue Oct 11, 2005 7:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help to antonio
Replies: 8
Views: 3305
Previous

Return to advanced search