Search found 88 matches: drawbitmap

Return to advanced search

CAMBIAR IMAGEN DE FONDO

... WINDOW oWnd TITLE cTitle ; COLORS CLR_BLACK, CLR_NBLUE ; MENU BuildMenu() MENUINFO 8 ; ICON oIco MDI ACTIVATE WINDOW oWnd MAXIMIZED ; ON PAINT DrawBitmap( hDC, oBmpTIT:hBitmap, 0, 0, oWnd:oWndClient:nWidth(), ; oWnd:oWndClient:nHeight() ) COMO LA PUEDO CAMBIAR EN TIEMPO DE EJECUCION ? GRACIAS
by Marco Augusto
Mon May 10, 2010 6:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CAMBIAR IMAGEN DE FONDO
Replies: 10
Views: 3821

Re: Se necesita ayuda en el wiki !

... DibRead() DibWidth() DibWrite() Ditbackgrd() DlgFindText() Dotsadjust() DPToLP() Draftmode() DragAcceptFiles() Dragfinish() DragqueryPoint() DrawBitmap() DrawfocusRect() DrawGrayed() Drawgrid() DrawIcon() DrawMasked() DrawMenuBar() DrawMsgItem() DrawText() DupRecord() Un abrazo, Carlos Gallego
by Cgallegoa
Sat Feb 20, 2010 8:13 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5504

Re: Escalar BMP capturado con WndBitmap

... oDlg:getDC(), hEMF, oDlg:hWnd )rectangle( hDc, 0,0,60,80 )PlayEnhMetaFile( hDc, hEMF, oBmp:hWnd )DrawBitmap( oDlg:GetDC(), hBmp, 0, 0, 50, 75 )hDib := DibFromBitmap( hBmp )DibWrite( "file.bmp" , hDib )GloBalFree( ...
by Marcelo Via Giglio
Wed Dec 16, 2009 8:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Escalar BMP capturado con WndBitmap
Replies: 17
Views: 3543

Re: Escalar BMP capturado con WndBitmap

... ) el problema puede estar en que si haces un bitmap con un hDC "NULO" este se crea monocromatico despues de crear el bitmap puedes usar DrawBitmap o PalBmpDraw para probar que este bien
by Daniel Garcia-Gil
Wed Dec 16, 2009 3:03 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Escalar BMP capturado con WndBitmap
Replies: 17
Views: 3543

Using Stand-Alone Ribbonbar-Buttons.

... and Alpha-Blended-BMP on Top // ---------------------------------------------------------- ACTIVATE WINDOW oWnd MAXIMIZED ; ON PAINT ( DRAWBITMAP( hdc, oBMP1:hbitmap, 0, 0,; nWidth, nHeight ), W_ALPHA( oWnd, hDC, "Ampel.bmp", 620, 120 ) ) RETURN NIL ----------------- FUNCTION ...
by ukoenig
Fri Oct 02, 2009 3:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Stand-Alone Ribbonbar-Buttons.
Replies: 0
Views: 295

Re: oGet:SetBrush ( daniel )

I tryed use DrawBitmap( hDc, gBmp, 0, 0 ) it´s Work, more make hidden in Text of Get. :cry: //-----------------------------------------------------------------------//function filldis( hDC, oGet)local gBmpif .not. oGet:lActive ...
by lailton.webmaster
Sun Sep 13, 2009 9:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oGet:SetBrush ( daniel )
Replies: 7
Views: 902

I think it should work with JPEG but i'm not familiar with freeimage functions.

Try to load the jpeg image and then replace the drawbitmap with the correspondent function from freeimage lib.

Also you may try to use it as a brush.

Antonio
by AHF
Tue Dec 09, 2008 7:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: No Wnd-backgrd.-image after chang. MODAL to MDI => SOLVED
Replies: 5
Views: 975

I think you need to paint the client area of the mdi and not the mdi window itself.

This works for me.

ON PAINT (drawbitmap( hdc, obmp:hbitmap, 0, 0,;
oWnd:owndclient:nWidth(), oWnd:owndclient:nHeight()))

Antonio
by AHF
Tue Dec 09, 2008 6:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: No Wnd-backgrd.-image after chang. MODAL to MDI => SOLVED
Replies: 5
Views: 975

Lailton,

I am not quite sure about what you want to do, but you can try:

oMsgBar:bPainted = { | hDC | DrawBitmap( hDC, ... ) }
by Antonio Linares
Mon Oct 27, 2008 11:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Antonio
Replies: 25
Views: 3133

DrawBitmap( hDC, hBmp, 2, nLeft - 4 )
by Antonio Linares
Mon Oct 27, 2008 5:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Antonio
Replies: 25
Views: 3133

Bitmaps

... 5 BITMAP oBmp FILENAME "Icon\ams.bmp" ADJUST SIZE 280, 200 OF oWnd ; //ON CLICK ( oBmp:lStretch := ! oBmp:lStretch, oBmp:Refresh(.t. ) ) oBmp := DrawBitmap( oWnd, "Icon\ams.bmp",5,5) Set message of oWnd to "Sales Commission Program Version 1.0" Keyboard Date activate window oWnd valid( MsgYesNo( ...
by Antonio Linares
Wed Aug 27, 2008 7:34 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65506

... TVS_HASBUTTONS 1 #define TVS_HASLINES 2 #define TIS_NORMAL 0 #define TIS_FIRST 1 #define TIS_LAST 2 #define TIS_PARENT 4 #define TIS_OPEN 8 void DrawBitmap( HDC, HBITMAP, int, int, int, int, LONG ); HARBOUR HB_FUN_TreeMeasur() // e( LPMEASUREITEMSTRUCT mi, nHeight ) { LPMEASUREITEMSTRUCT pMeasure ...
by alex_cyr
Sat Jul 26, 2008 5:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: error al compilar TREEDRAW.C
Replies: 6
Views: 1478

Silvio wrote:Antonio,
I not understand ...
with this func how now I can show an Hires transparent ?

Silvio,

You can use it instead DrawBitmap() function. But it displays only 32bit bitmaps with transparencies, not png files. Maybe maestro Antonio can optimize it for us :P

Regards,

Toninho.
by toninhofwi
Sun Feb 10, 2008 3:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hires
Replies: 8
Views: 1903

Antonio,

Do it this way:

...
ON PAINT (drawbitmap( hDC, obmp:hbitmap, 0, 0,;
...
by Antonio Linares
Wed Jan 02, 2008 12:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hidden MDI Child windows
Replies: 5
Views: 1032

Hidden MDI Child windows

... all mdichilds can't be seen anymore they are hidden by the bitmap. How can I make it work ? ACTIVATE WINDOW oWnd MAXIMIZED VALID ; ON PAINT (drawbitmap( oWnd:owndclient:hdc, obmp:hbitmap, 0, 0,; oWnd:owndclient:nWidth(), oWnd:owndclient:nHeight())); ON DROPFILES DropArquiva(aFiles) ; ON RESIZE ...
by AHF
Wed Jan 02, 2008 11:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hidden MDI Child windows
Replies: 5
Views: 1032
PreviousNext

Return to advanced search