Search found 41 matches: createsolidbrush

Return to advanced search

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

... Concha, desde aquí mí código <--- if n == nColuAct --> (si es orden natural o si es otro oBrw variable nColuAct debe venir en cero) hBrush = CreateSolidBrush( CLR_BRWHS ) FillRect( hDC, { nTop, nLeft, nBottom, nRight }, hBrush ) DeleteObject( hBrush ) SetBkColor( hDC, CLR_BRWHS ) if aJustify ...
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: 618

Re: cyclometric circle

... ::hDC, aPoints, aGrad) } or ::bPainted := { |hDC|FloodFill( ::hDC, aPoints [1][1], aPoints [5][1], nil, nColor ) } or local hBru := CreateSolidBrush( nColor ) local hOld := SelectObject( ::hDC, hBru ) local hpen:=CreatePen(0,8,nColor) FillRect( ::hDC, { aPoints [1][1],aPoints [1][2],aPoints ...
by Silvio.Falconi
Sat Dec 03, 2022 3:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3031

Re: problema con DrawBitmap() usando tCodeBars

... Build() CLASS TCodeBars local hBmpOld local hDCDesk := GetDC( GetDesktopWindow() ) local hDCMem := CreateCompatibleDC( hDCDesk ) local hBrush := CreateSolidBrush( 0 ) local hBack := CreateSolidBrush( CLR_WHITE ) ::hCodeBar = CreateCompatibleBitMap( hDCDesk, ::nWidth, ::nHeight ) hBmpOld = SelectObject( ...
by rterraz
Mon Mar 15, 2021 12:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con DrawBitmap() usando tCodeBars
Replies: 10
Views: 1034

Como grabar un codiigo en qr a un Archivo BMP

... hDC ) local hZebra local cCode := "20219719443 | 01 | F001 | 00045256 | 25/01/2018 | 18.00 | 118.00 | 6 | 10087302682 |" local hBrush := CreateSolidBrush( 0 ) hZebra := hb_zebra_create_qrcode( cCode, NIL ) hb_zebra_draw( hZebra, {| x, y, w, h | FillRect( hDC, { y, x, y + h, x + w }, hBrush ...
by Dioni
Fri Jan 26, 2018 12:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como grabar un codiigo en qr a un Archivo BMP
Replies: 8
Views: 1315

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

Re: Ribbon tab color MICROSOFT OFFICE 2016

Exactly we must use a logic new data l2016 and insert before my lines hBrush2 = CreateSolidBrush( ::nClrPaneRB ) FillRect( hDCMem, aRect, hBrush2 ) IF ::l2016 GradientFill( hDCMem, aRect[ 1 ] - 2, aRect[ 2 ] - 3, aRect[ 3 ] + 1, aRect[ 4 ] + 5,; { { 1, ::nClrPaneRB,CLR_WHITE ...
by Silvio.Falconi
Tue May 09, 2017 10:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon tab color MICROSOFT OFFICE 2016
Replies: 38
Views: 9874

Re: Ribbon tab color MICROSOFT OFFICE 2016

Also Itried it and also I saw the black line perhaps can change ( for 2016) the type of Brush from blue to white something as hBrush2 = CreateSolidBrush( ::nClrPaneRB ) //*FillRect( hDCMem, aRect, hBrush2 ) GradientFill( hDCMem, aRect[ 1 ] - 2, aRect[ 2 ] - 3, aRect[ 3 ] + 1, aRect[ 4 ] + ...
by Antonio Linares
Mon May 08, 2017 4:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon tab color MICROSOFT OFFICE 2016
Replies: 38
Views: 9874

Re: Ribbon tab color MICROSOFT OFFICE 2016

Also Itried it and also I saw the black line perhaps can change ( for 2016) the type of Brush from blue to white something as hBrush2 = CreateSolidBrush( ::nClrPaneRB ) //*FillRect( hDCMem, aRect, hBrush2 ) GradientFill( hDCMem, aRect[ 1 ] - 2, aRect[ 2 ] - 3, aRect[ 3 ] + 1, aRect[ 4 ] + ...
by Silvio.Falconi
Mon May 08, 2017 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon tab color MICROSOFT OFFICE 2016
Replies: 38
Views: 9874

Re: Ribbon tab color MICROSOFT OFFICE 2016

Silvio, I have tried this: hBrush2 = CreateSolidBrush( ::nClrPaneRB ) aRect[ 3 ] -= 3 FillRect( hDCMem, aRect, hBrush2 ) aRect[ 3 ] += 3 but then the color of those bottom lines is black > because ::nClrPaneRB give the color to all ribbonbar ...
by Antonio Linares
Mon May 08, 2017 10:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon tab color MICROSOFT OFFICE 2016
Replies: 38
Views: 9874

Re: Ribbon tab color MICROSOFT OFFICE 2016

Antonio, I think we can change these lines ( METHOD Paint() CLASS TRibbonBar ) hBrush2 = CreateSolidBrush( ::nClrPaneRB ) FillRect( hDCMem, aRect, hBrush2 ) because ::nClrPaneRB give the color to all ribbonbar but the line is down the group must be the same color of ...
by Silvio.Falconi
Sun May 07, 2017 3:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon tab color MICROSOFT OFFICE 2016
Replies: 38
Views: 9874

Re: problema con SetFont

... // Se dibujan los dias. SelectObject( hDC, oFont:hFont) FOR A = 1 TO 42 // Se crea brocha para pintar el fondo del recuadro... hBrocha := CreateSolidBrush ( aClrDias[ A][ 2] ) // se carga la brocha, se guarda la brocha anterior y se pinta hBrochaAnterior := SelectObject (hDC, hBrocha) ...
by MOISES
Mon Feb 23, 2015 1:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con SetFont
Replies: 17
Views: 4734

Re: xHarbour 1.2.3 build 20141106

... LOADIMAGE,LOADBITMAP,LOADBITMAPEX,OPENIMAGE,OPENBITMAP,CREATESOLIDBRUSH,CREATEHATCHBRUSH,CREATEFONT,LOADICON,WINDOW2BITMAP WVW_DLGSETICON,WVW_CREATEDIALOGDYNAMIC,WVW_CREATEFONT,WVW_SETPOPUPMENU,WVW_CREATEMENU,WVW_CREATEPOPUPMENU,WVW_GETMENU ...
by Enrico Maria Giordano
Thu Dec 04, 2014 5:09 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour 1.2.3 build 20141106
Replies: 16
Views: 5821

Re: FWH 14.09 y xHarbour Compilation errors

... LOADIMAGE,LOADBITMAP,LOADBITMAPEX,OPENIMAGE,OPENBITMAP,CREATESOLIDBRUSH,CREATEHATCHBRUSH,CREATEFONT,LOADICON,WINDOW2BITMAP WVW_DLGSETICON,WVW_CREATEDIALOGDYNAMIC,WVW_CREATEFONT,WVW_SETPOPUPMENU,WVW_CREATEMENU,WVW_CREATEPOPUPMENU,WVW_GETMENU ...
by Enrico Maria Giordano
Tue Nov 18, 2014 2:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 14.09 y xHarbour Compilation errors (Solved)
Replies: 14
Views: 4700

Re: TGRAPH Repopulate

... 0 6. in popmenu "&No Degrade", ; "&Degrade horiz.", ; "&Degrade vert.", ; 7. in Method _FillRect hBru := CreateSolidBrush( nColor ) hOld := SelectObject( ::hDC, hBru ) IF ::nDegrade > 0 IF ::nDegrade = 1 nMid:=(nRight-nLeft)/2 Gradient( ::hDC, { nTop, ...
by ukoenig
Thu Jun 26, 2014 2:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: DelItem en TFolderEx

... estas forzando al Folder a la pestaña 2 y luego eliminas la uno Linea 1358 LOCAL hBrush, hDlgBrush := ::aDialogs[ ::nOption ]:oBrush:hBrush//CreateSolidBrush( CLR_WHITE )// Lo más probable es que aquí ::nOption sea 2
by Pedro
Wed May 29, 2013 6:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DelItem en TFolderEx (Solucionado)
Replies: 3
Views: 873
Next

Return to advanced search