Search found 55 matches: erasebkgnd

Return to advanced search

Re: Tpanel con color

Carlos, Prueba a modificar el método EraseBkGnd() de la Clase TPanel así: METHOD EraseBkGnd( hDC ) CLASS TPanel   if ::oWnd != nil .and. IsAppThemed() .and. ;      Upper( ::oWnd:ClassName() ...
by Antonio Linares
Wed Nov 28, 2018 5:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tpanel con color
Replies: 6
Views: 947

possible changing BtnBmp-gradient at runtime ?

... PROMPT "&1. Color " ; FILENAME c_path1 + "Paint.Bmp" ; ACTION ( nBColorF1 := ChooseColor(), oBmp[4]:Refresh(), ; oBtn[10]:EraseBkGnd( hDC ), ; // NO effect ! oBtn[10]:bClrGrad = { | lMouseOver | If( ! lMouseOver,; { { 0.50, nBColorF1, nBColorB1 }, ; { 0.50, nBColorB1, nBColorF1 ...
by ukoenig
Fri Feb 13, 2015 1:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: possible changing BtnBmp-gradient at runtime ?
Replies: 3
Views: 557

Re: Bitmap Compatible (Solucionado)

...  *   SelectObject(hCDC,hBmp)   ::ReleaseDc()   ::hDc := hCDC    // PARA QUE SE EVALUE EL bPainted   ::EraseBkGnd(hCDC)   ::Paint()        // PARA QUE SE EVALUE EL bPainted   DeleteDc(hCDC)   ::hDc := NILRETURN hBmp     // NO OLVIDAR ...
by antolin
Mon Mar 24, 2014 7:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Bitmap Compatible
Replies: 12
Views: 1741

error en control.prg

... 0 ) Called from: .\\source\\classes\\CONTROL.PRG => TSCROLLBAR:PAINTBACK( 1581 ) Called from: .\\source\\classes\\CONTROL.PRG => TSCROLLBAR:ERASEBKGND( 1108 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: .\\source\\classes\\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1733 ) Called ...
by elvira
Tue Nov 19, 2013 7:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: error en control.prg
Replies: 1
Views: 425

Re: "Snap" for Clipper

...  1227  1539  1541 BDROPOVER              WINDOW.PRG      428  3733  3734 BEGINPAINT()           (function  in ?)    WINDOW.PRG      501  3751 BERASEBKGND            WINDOW.PRG      452  2923  2924 BFIND                  WINDOW.PRG      431   585   585 BFINDNEXT              WINDOW.PRG      432 ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6713

Re: ActiveX en Harbour + Visual Studio 2012

... de la implementación de Harbour. Como THActiveX deriva de TControl he probado a declarar como VIRTUAL los métodos Display(), Paint(), Link(), EraseBkGnd() y nada, el mismo resultado. Si hago oActiveX:Hide() el control se oculta, luego está ahí, pero por que no se muestra ? A ver si se ...
by Antonio Linares
Sat Jul 06, 2013 9:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ActiveX en Harbour + Visual Studio 2012 (SOLUCIONADO)
Replies: 23
Views: 6602

Re: Bug in Transparent Group

Rao, If we do:   if ::oWnd:IsKindOf( 'TDIALOG' )      return Super:EraseBkGnd( hDC )  ...  then we are calling Class TControl Method EraseBkGnd() which does nothing for DATA lTransparent. No transparency is managed from there, ...
by Antonio Linares
Sat Jan 02, 2010 9:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in Transparent Group
Replies: 20
Views: 3638

Re: Bug in Transparent Group

May I propose the following change to the EraseBkgnd method of TGroup? METHOD EraseBkGnd( hDC ) CLASS TGroup   if ::oWnd:IsKindOf( 'TDIALOG' )      return Super:EraseBkGnd( hDC )   else      if ! Empty( ::bEraseBkGnd ...
by nageswaragunupudi
Sat Jan 02, 2010 4:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in Transparent Group
Replies: 20
Views: 3638

Re: Bug in Transparent Group

Hakan,

Your example works fine here on Windows 7 with the new EraseBkGnd() code:

Image
by Antonio Linares
Sun Dec 27, 2009 9:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in Transparent Group
Replies: 20
Views: 3638

Re: Bug in Transparent Group

Antonio, Can you try this sample using DIALOG with new EraseBkGnd and without. Thanks, #include 'fivewin.ch'function Main()   local oWnd, cGet := SPACE(15)   DEFINE DIALOG oWnd COLOR CLR_WHITE,CLR_BLUE SIZE 600,400      @ 20, 20 TO 100,200 ...
by Horizon
Sun Dec 27, 2009 6:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in Transparent Group
Replies: 20
Views: 3638

New FTDN December/Diciembre 2009 (9.12)

... lTransparent". * Enhancement: FWH\samples\mallorca.prg enhanced to show pajama painting with arrays and Class TXBrowse. * New: New Method EraseBkGnd() in Class TGroup. It properly implements the clause TRANSPARENT and also uses its container bitmapped brush if defined, with the proper ...
by Antonio Linares
Sun Dec 27, 2009 9:39 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2009 (9.12)
Replies: 0
Views: 2587

Re: FWH/xHarbour Menus

... INLINE ::BeginPaint(), ::Paint(), ::EndPaint(),; If( ::bStart != nil,; Eval( ::bStart, ::bStart := nil ),), .f. METHOD End( nResult ) METHOD EraseBkGnd( hDC ) METHOD GetHotPos( nChar, hCtrlAt ) METHOD GetItem( nId ) INLINE GetDlgItem( ::hWnd, nId ) METHOD GotFocus() INLINE ::lFocused := .t.,; ...
by E. Bartzokas
Mon May 25, 2009 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH/xHarbour Menus
Replies: 20
Views: 7786

Re: Memoria no liberada en ActiveX - arreglado!

... ) CONSTRUCTOR METHOD Do( cMethodName, uParam1, uParam2, uParam3 ) METHOD Display() INLINE ::BeginPaint(), ::Paint(), ::EndPaint(), 0 METHOD EraseBkGnd( hDC ) INLINE 1 METHOD GetProp( cPropName ) INLINE ; ActXGetProperty( ActXPdisp( ::hActiveX ), cPropName ) METHOD Initiate( hDlg ) METHOD ...
by MGA
Wed Apr 08, 2009 1:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Memoria no liberada en ActiveX - arreglado!
Replies: 18
Views: 6391

Re: Help For create a Class

As the first step, please fix these warnings: LISTCHECK.prg(49) Warning W0001 Ambiguous reference: 'AITEMS' LISTCHECK.prg(51) Warning W0001 Ambiguous reference: 'OLIST' LISTCHECK.prg(52) Warning W0001 Ambiguous reference: 'OLIST' LISTCHECK.prg(52) Warning W0001 Ambiguous reference: 'AITEMS' LISTCHEC...
by Enrico Maria Giordano
Wed Sep 24, 2008 10:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help For create a Class
Replies: 11
Views: 2044

* ============================================================================ * TSBrowse.PRG Version 7.0 Jul/15/2004 * ============================================================================ /* This Classs is a recapitulation of the code adapted by Luis Krause Mantilla, of FiveWin classes: TCB...
by Natter
Mon Sep 08, 2008 11:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bChange
Replies: 9
Views: 5482
Next

Return to advanced search