Search found 129 matches: hbrush

Return to advanced search

Re: rc/res to source

... HINSTANCE hInst = GetModuleHandle(0); WNDCLASSEX wcex; ZeroMemory(&wcex, sizeof wcex); wcex.cbSize = sizeof wcex; wcex.hbrBackground = (HBRUSH)(COLOR_3DFACE + 1); wcex.lpszMenuName = 0; wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = DefWindowProc; wcex.hInstance = hInst; wcex.hIcon ...
by MdaSolution
Tue Aug 02, 2011 8:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: rc/res to source
Replies: 4
Views: 1017

Error al compilar TWBROWSE xHarbour build 1.2.1 y FWH 11.01

... hdcBack, hdcMem; POINT ptSize; COLORREF cColor; HBITMAP bmAndObject, bmAndBack, bmBackOld, bmObjectOld, bmAndTemp, bmTempOld, bmAndMem, bmMemOld; HBRUSH hBrush, hBrOld; ptSize.x = rct->right - rct->left + 1; ptSize.y = rct->bottom - rct->top + 1; hBrush = CreateSolidBrush(cBackgroundColor); ...
by alex_cyr
Sat Jul 09, 2011 2:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al compilar TWBROWSE xHarbour build 1.2.1 y FWH 11.01
Replies: 7
Views: 2728

Re: Bug in brush gradient?

... colfinB,tgr ) // da TSBUTTON * Gradient( hDC, {0, 0, oDlgK:nHeight, oDlgK:nWidth }, rgb(250, 255, 255),colfinB ,.T. ) DeleteObject( oDlgK:oBrush:hBrush ) oDlgK:oBrush:hBitmap = hBmp oDlgK:oBrush:hBrush = CreatePatternBrush( hBmp ) SelectObject( hDC, hBmpOld ) oDlgK:ReleaseDC() * endif RETURN ...
by stefano
Thu Jul 07, 2011 8:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in brush gradient?
Replies: 12
Views: 2470

Re: Problems with Checkbox

... // ParentImage( ::hWnd, hDC ) // chidiak // DrawPBack( ::hWnd, hDC ) // chidiak remove this line endif endif return ::oBrush:hBrush I tried this test #include"fivewin.ch"FUNCTION TEST()   LOCAL oDlg,oFont,aGet[14],oFld   Local ...
by Silvio
Mon May 09, 2011 8:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with Checkbox
Replies: 43
Views: 7208

Re: Invoice

... kreski Local oBRUSH // tlo cienia // cienie //DEFINE BRUSH oBrush COLOR GET_LAB_KOL(60) //FillRect( oPrn:hDcOut, { 100,100,200,200 }, oBrush:hBrush ) DEFINE PEN oPen WIDTH 3 // kreski poziome xWERT :=6 xSTART:=oPRN:Cmtr2Pix(xWERT,xLEFT2) xSTOP :=oPRN:Cmtr2Pix(xWERT,xRIGHT2) oPRN:Line(xSTART[1],xSTART[2],xSTOP[1],xSTOP[2],oPEN) ...
by Robert Frank
Thu May 05, 2011 3:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Invoice
Replies: 7
Views: 1638

Re: Logo en ventana principal con areas transparentes

... aRect[3]=0 for n = 1 to nSteps aRect[ 3 ] += 3 DEFINE BRUSH oBrush COLOR RGB( 0, 0, nBlue ) FillRect(hDC,aRect,oBrush:hBrush) RELEASE BRUSH oBrush aRect[ 1 ] += 3 nBlue -= 1 next IF oBmp<>NIL // pinta bmp PalBmpDraw(hDC,; (oVentPrinc:nHeight()/2)-(oBmp:nHeight()/2)-50, ...
by jbrita
Wed Apr 06, 2011 9:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Logo en ventana con areas transparentes (Solucionado)
Replies: 8
Views: 2268

Re: help to compile c5new.c

... 3029: void functions may not return a value in function HB_FUN_POW Warning W8004 G:\policia\C5\C5LIB\Source\c5cnew.c 3398: 'hBrush' is assigned a value that is never used in function HorizontalGradient Warning W8004 G:\policia\C5\C5LIB\Source\c5cnew.c 3398: 'height' is assigned ...
by Andrés González
Mon Mar 07, 2011 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: help to compile c5new.c
Replies: 8
Views: 3006

help to compile c5new.c

... BrowseCallbackProc Warning W8081 c5cnew.c 3029: void functions may not return a value in function HB_FUN_POW Warning W8004 c5cnew.c 3398: 'hBrush' is assigned a value that is never used in function HorizontalGradient *** 5 errors in Compile *** the lib is created but then I cannot show ...
by Silvio
Fri Feb 18, 2011 8:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: help to compile c5new.c
Replies: 8
Views: 3006

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

... aPoint[ 2 ] - 1, aPoint[ 1 ] + oWndBtn:nTop + 80 ) //+ WndMain():oBar:nHeight - 1 ) FillRect( hDC, GetClientRect( oWndBtn:hWnd ), oWndBtn:oBrush:hBrush ) RETURN NIL Best Regards Uwe :?:
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: 4303

FILLRECT y Tprint

... aFont[3]) Pero no se como utilizar el fillrect para pintar eso./ FillRect( :hdcout, LAS COORDENADAS NO SE COMO CALCULLARLAS, oBCGris:hBrush ) Utilizo ese FillRect cuando pinto los encabezados que son fijos, pero no se como ir haciendo para pintar " el dato" que va cambiando. ...
by goosfancito
Wed Dec 08, 2010 4:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FILLRECT y Tprint
Replies: 2
Views: 396

Re: Alguien conoce FONT libre para codebar

... Es una Barra Negra //MSGALERT("ES NEGRA") IF lHorz FillRect ( oDlg:GetDC (), { __nx, __ny, __nx + nAlto , ( __ny += nAncho ) }, oBrush:hBrush ) && las coordenadas ya estan en Pixeles ELSE FillRect ( oDlg:GetDC (), { __nx, __ny, ( __nx += nAncho ), __ny + nAlto } , oBrush:hBrush ...
by FiveWiDi
Thu May 27, 2010 8:29 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Alguien conoce FONT libre para codebar
Replies: 2
Views: 804

Alguien conoce FONT libre para codebar

... Es una Barra Negra //MSGALERT("ES NEGRA") IF lHorz FillRect ( oDlg:GetDC (), { __nx, __ny, __nx + nAlto , ( __ny += nAncho ) }, oBrush:hBrush ) && las coordenadas ya estan en Pixeles ELSE FillRect ( oDlg:GetDC (), { __nx, __ny, ( __nx += nAncho ), __ny + nAlto } , oBrush:hBrush ...
by Vladimir Zorrilla
Wed May 26, 2010 1:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Alguien conoce FONT libre para codebar
Replies: 2
Views: 804

AYUDA AL DIBUJAR CODEBAR

... && Es una Barra Negra MSGALERT("ES NEGRA") IF lHorz FillRect ( oDlg:GetDC (), { nx, ny, nx + nAlto , ( ny += nAncho ) }, oBrush:hBrush ) && las coordenadas ya estan en Pixeles ELSE FillRect ( oDlg:GetDC (), { nx, ny, ( nx += nAncho ), ny + nAlto } , oBrush:hBrush ) && ...
by Vladimir Zorrilla
Sat May 22, 2010 9:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA AL DIBUJAR CODEBAR
Replies: 0
Views: 315

Re: A problem with GradientBrush()

... example: CREATE BRUSH oBrush FILE cFile // nCount is 1 CREATE WINDOW oWnd BRUSH oBrush // nCount is 2 RELEASE BRUSH oBrush // nCount is 1 and so hBrush is not destroyed ACTIVATE WINDOW ownd // here nCount becomes zero and the hBrush is released return nil Even this code works well with the present ...
by nageswaragunupudi
Tue Feb 02, 2010 1:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with GradientBrush()
Replies: 63
Views: 11887

Re: UPDATE new VTitle-Painter 4.1 ( Download )

... be helpful for FWH-Users, to create nice VTitles. One Question : Is it possible, to add the Gradient-Direction in VTitle METHOD Paint ? Lines : hBrush = GradientBrush( ::hDC, aRect[ 1 ] + ::nYOffSetTitle, aRect[ 2 ] + ::nXOffSetTitle, aRect[ 4 ], aRect[ 3 ], ::aGrdBack ) // .T. or .F. and : ...
by ukoenig
Wed Dec 02, 2009 9:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: UPDATE new VTitle-Painter 4.2 ( Download )
Replies: 7
Views: 1735
PreviousNext

Return to advanced search