Search found 46 matches: setbkcolor

Return to advanced search

Re: WBrowse - color fondo cabecera y Congelar columnas- consulta

... debe venir en cero) hBrush = CreateSolidBrush( CLR_BRWHS ) FillRect( hDC, { nTop, nLeft, nBottom, nRight }, hBrush ) DeleteObject( hBrush ) SetBkColor( hDC, CLR_BRWHS ) if aJustify != nil .and. aJustify[ n ] SetTextAlign( hDC, TA_RIGHT ) ExtTextOut( hDC, nTop, nRight - 2, { nTop, nLeft, ...
by José
Tue Mar 21, 2023 2:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: WBrowse - color fondo cabecera y Congelar columnas- consulta
Replies: 6
Views: 616

Re: To Mister Nages - xBrowser

... Nages, I put the SetBkMode (hDC, 1) straight into the function and it worked. If nClrBack != NIL nBkMode := SetBkMode( hDC, OPAQUE ) nOldClr := SetBkColor( hDC, nClrBack ) Else SetBkMode( hDC, 1 ) EndIf Thank you very much. Att., Oliveiros Junior
by oliveiros junior
Wed Aug 19, 2020 7:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Mister Nages - xBrowser
Replies: 21
Views: 2265

harbour_for_mod_harbour error compiler

Hi Antonio. I'm trying to test mod_harbour . The first impression is EXCELLENT !!! Using harbour language on the web with Apache is absolutely amazing . WOW ...... Toady I’m trying to build the harbour for mod_harbour exe compiler for later building an hrb file to include inside my project. The comm...
by giuliano
Tue Aug 20, 2019 9:01 am
 
Forum: mod_harbour
Topic: harbour_for_mod_harbour error compiler
Replies: 14
Views: 1683

Re: Rpreview issues - PDF

... @ 1580,100 PRINT TO oPrn TEXT "YELLOW ON RED"   SIZE 2000,200 PIXEL FONT oFont COLOR CLR_YELLOW,oBrushRed      SetBkColor( oPrn:hDCOut, CLR_HRED )      oPrn:Say(  300, 2600, "YELLOW ON RED", oFont, 2000, CLR_YELLOW, 2 ...
by nageswaragunupudi
Tue Apr 23, 2019 5:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview issues - PDF
Replies: 58
Views: 7336

Re: an image on btnbmp and other

... nWidth, nHeight,color,color2 ) LOCAL hFontOld:= SelectObject( hDC, hFont ) LOCAL nBkOld := SetBkMode( hDC, nBkMode ) SetTextColor( hDC, color ) setBkColor( hDC, color2 ) DrawText( hDC, cText, { nTop, nLeft, nTop+nWidth, nLeft+nHeight } ) SelectObject( hDC, hFontOld ) SetBkMode( hDC, nBkOld ) ...
by Silvio.Falconi
Wed May 23, 2018 9:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: an image on btnbmp and other
Replies: 21
Views: 3884

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

Re: Imprimir texto con brush (SOLUCIONADO)

hmpaquito wrote:Resuelto: Utilizando la funcion SetBkColor() se resolvió.


Como en el ejemplo: GENREP.PRG?

Gracias, saludos.
by karinha
Mon Oct 10, 2016 7:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imprimir texto con brush (SOLUCIONADO)
Replies: 6
Views: 856

Re: Imprimir texto con brush (SOLUCIONADO)

Resuelto: Utilizando la funcion SetBkColor() se resolvió.
by hmpaquito
Mon Oct 10, 2016 6:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imprimir texto con brush (SOLUCIONADO)
Replies: 6
Views: 856

New FTDN December/Diciembre 2015 (FWH 15.12)

... object can now be created from hFont. Eg: oFont := TFont():New( hFont ) * Enhancement: Usage of TransBmp() simplified. It is not necessary to call SetBkColor(), SetTextColor() etc and not necessary to provide zerozeroclr before calling TransBmp() function.
by Antonio Linares
Sun Jan 03, 2016 11:03 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2015 (FWH 15.12)
Replies: 0
Views: 704

Re: Leer pixeles de un bitmap monocromo

Antes del BitBlt() prueba a hacer:

SetBkColor( hDCMem, GetPixel( hBitmap, 0, 0 ) );
by Antonio Linares
Fri Jul 24, 2015 10:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Leer pixeles de un bitmap monocromo
Replies: 30
Views: 4224

Re: problema con SetFont

... utilizados SelectObject( hDC, hOldPen ) IF !DeleteObject( hPen2 ) MsgInfo("El objeto no se destruyo") ENDIF // Se dibuja el texto... SetBkColor( hDC, aClrDias[ A][ 2] ) nCOLOR:=ASCAN(aFESTIVOS, {|aVal| aVal[1] == VAL(aDias[A]) }) //Comprobar festivos IF nCOLOR>0 //Bingen SetTextColor( ...
by MOISES
Mon Feb 23, 2015 1:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con SetFont
Replies: 17
Views: 4733

Re: problema con SetFont

... LOCAL aPuntos[4] LOCAL A // Formato letra SelectObject(hDC, oFont:hFont) //Se selecciona el tipo de letra. SetTextColor( hDC, aColorTitulo[5] ) SetBkColor( hDC, aColorTitulo[2] ) // Se dibujan los titulos de los dias. A := 0 aPuntos[ 1] := nAltoFila aPuntos[ 3] := nAltoFila * 2 FOR A = 0 TO ...
by MOISES
Mon Feb 23, 2015 11:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con SetFont
Replies: 17
Views: 4733

Re: Is it possible to specify background color of printed text?

Enrico, Your sample works but when I tried inserting SetBkCOlor() in fwh\samples\testprn2.prg as below, the background color doesn't change // Sample showing how to manage the printer object#include "FiveWin.ch"static oWnd//----------------------------------------------------------------------------//function ...
by hua
Mon Sep 29, 2014 1:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Is it possible to specify background color of printed text?
Replies: 6
Views: 1258

Re: Progress Bars, no funciona correctamente.

A ver, estos son los mensajes que tenemos para usar este control: #define PBM_SETRANGE (WM_USER+1) #define PBM_SETPOS (WM_USER+2) #define PBM_DELTAPOS (WM_USER+3) #define PBM_SETSTEP (WM_USER+4) #define PBM_STEPIT (WM_USER+5) #if (_WIN32_IE >= 0x0300) #define PBM_SETRANGE32 (WM_USER+6) // lParam ...
by Antonio Linares
Tue Jul 22, 2014 6:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Progress Bars, no funciona correctamente (Solucionado)
Replies: 27
Views: 5488

xBrowse Melhoria FOOTER.

... nBmpRow, aBitmap[ BITMAP_HANDLE ], ::nAlphaLevelFooter ) else DEFAULT aBitmap[ BITMAP_ZEROCLR ] := GetZeroZeroClr( hDC, aBitmap[ BITMAP_HANDLE ] ) SetBkColor( hDC, nRGB( 255, 255, 255 ) ) TransBmp( aBitmap[ BITMAP_HANDLE ], aBitmap[ BITMAP_WIDTH ], aBitmap[ BITMAP_HEIGHT ],; aBitmap[ BITMAP_ZEROCLR ...
by MGA
Mon Jul 07, 2014 2:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse Melhoria FOOTER.
Replies: 0
Views: 296
Next

Return to advanced search