Search found 14 matches: setbrushorgex

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( ...
by Modesto
Thu Feb 11, 2021 1:29 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE transparente
Replies: 4
Views: 536

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: 6384

Re: How to rebuild FWH libs

Hi Antonio, I added new compiled objs to fiveh32.lib and fivewhc32.lib (FWH 13.9) and now I get the following errors in linking exe. fiveh32.lib(xbrowse.obj) : error LNK2001: unresolved external symbol _HB_FUN_SETBRUSHORGEX fiveh32.lib(window.obj) : error LNK2001: unresolved external symbol _HB_FUN_...
by Roberto Parisi
Fri Nov 08, 2013 1:16 pm
 
Forum: Utilities / Utilidades
Topic: How to rebuild FWH libs
Replies: 11
Views: 6595

Re: A Strange Error in TGroup in 12.02

Hakan,

In our first tests it was needed, but now, yes you are right we could remove it, as the SetBrushOrgEx() is properly filling the background where we paint the text :-)
by Antonio Linares
Mon Apr 02, 2012 8:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Strange Error in TGroup in 12.02
Replies: 14
Views: 3076

Re: TestTitl.prg Sample MDI

... FUNCTION CHILDPAINT( hDC, oWnd ) local aPoint aPoint := ClientToScreen( WndMain():hWnd, { 0, 0 } ) aPoint := ScreenToClient( oWnd:hWnd, aPoint ) SetBrushOrgEx( hDC, aPoint[ 2 ], aPoint[ 1 ] + WndMain():oBar:nHeight - 1 ) FillRect( hDC, GetClientRect( oWnd:hWnd ), oWnd:oBrush:hBrush ) RETURN NIL ...
by ukoenig
Mon Feb 27, 2012 6:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TestTitl.prg Sample MDI
Replies: 20
Views: 11780

Re: A transparent MDI-child to show Backgrd. of MDI-frame ?

... hDC, oWnd7, oWndBtn ) LOCAL aPoint aPoint := ClientToScreen( oWnd7:hWnd, { 0, 0 } ) // WndMain() aPoint := ScreenToClient( oWndBtn:hWnd, aPoint ) SetBrushOrgEx( hDC, aPoint[ 2 ] - 1, aPoint[ 1 ] + oWndBtn:nTop + 80 ) //+ WndMain():oBar:nHeight - 1 ) FillRect( hDC, GetClientRect( oWndBtn:hWnd ), ...
by ukoenig
Wed Feb 16, 2011 4:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A transparent MDI-child to show Backgrd. of MDI-frame ?
Replies: 9
Views: 4277

COLORES EN GROUP BOX

... hDC ),; ::oBrush := TBrush():New( , ::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, ...
by karinha
Fri Aug 31, 2007 7:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COLORES EN GROUP BOX
Replies: 11
Views: 3437

Jose Luis,

En source\classes\control.prg método Colors() tienes un ejemplo de como hay que llamar a SetBrushOrgEx() y a FillRect() para rellenar el fondo correctamente.
by Antonio Linares
Sun Nov 12, 2006 12:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Transparencias
Replies: 20
Views: 7457

REDEFINE BITMAP

... TCONTROL:HANDLEEVENT(0) DIALOGBOX(0) TDIALOG:ACTIVATE(0) SHOWDIALOG(156) ... I found in the BITMAP CLASS - Paint method this line SetBrushOrgEx( ::hDC, 8 - ::nLeft() % 8, 8 - ::nTop() % 8 ) Any idea? Regards Pier Luigi
by Pier Luigi
Fri Oct 20, 2006 9:14 pm
 
Forum: FiveWin for Pocket PC
Topic: REDEFINE BITMAP
Replies: 0
Views: 616

... hDC ),; ::oBrush := TBrush():New( , ::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: 2222

... hDC ),; ::oBrush := TBrush():New( , ::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: 6449

... hDC ),; ::oBrush := TBrush():New( , ::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: 6449

Error en clase TBitmap

... Mirando el código he visto que se produce aquí: if ! ::lTransparent FillRect( ::hDC, GetClientRect( ::hWnd ), ::oBrush:hBrush ) else SetBrushOrgEx( ::hDC, 8 - ::nLeft() % 8, 8 - ::nTop() % 8 ) FillRect( ::hDC, GetClientRect( ::hWnd ), ::oWnd:oBrush:hBrush ) endif ¿Como se podría solucionar? ...
by jmartial
Mon Mar 20, 2006 11:16 am
 
Forum: FiveWin para Pocket PC
Topic: Error en clase TBitmap
Replies: 2
Views: 948

... if ::lActive if ::lView //-> Modificado Por Antonio Linares, 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 ...
by karinha
Tue Feb 21, 2006 2:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CLASSE DSAY.PRG CON COMANDO TRANSPARENT
Replies: 5
Views: 1892

Return to advanced search