Search found 88 matches: drawbitmap

Return to advanced search

... creo perdite di risorse ? Esempio: function ShowBmp( oDlg ) local oBmp1,oDc oDc:=oWnd:oWndClient:GetDC() DEFINE BITMAP oBmp1 RESOURCE "IMAGE1" DrawBitmap( oDC, oBmp1:hBitmap, 0, 0, 0, 0, SRCPAINT ) oBmp1:End() DEFINE BITMAP oBmp1 RESOURCE "IMAGE2" DrawBitmap( oDC, oBmp1:hBitmap, 0, 0, 0, 0, ...
by Marco Turco
Fri Jun 08, 2007 6:37 am
 
Forum: All products support
Topic: Visualizzare una bitmat su oWnd:oWndClient
Replies: 6
Views: 1511

Visualizzare una bitmat su oWnd:oWndClient

Salve, ho qualche problema a visualizzare una bitmap su una finestra MDI. Sbaglio forse qualcosa nell'utilizzare la funzione drawbitmap ? Grazie Marco ---- #include "FiveWin.ch" #define SRCPAINT 15597702 // 0xEE0086 #define SRCAND 8913094 static oWnd //----------------------------------------------------------------------------// ...
by Marco Turco
Wed Jun 06, 2007 7:29 am
 
Forum: All products support
Topic: Visualizzare una bitmat su oWnd:oWndClient
Replies: 6
Views: 1511

... HDC hDC, RECT * rct, HPEN hPUpLeft, HPEN hPBotRit ); void WindowInset( HDC hDC, RECT * pRect ); void WindowRaised( HDC hDC, RECT * pRect ); void DrawBitmap( HDC, HBITMAP, WORD, WORD, WORD, WORD, DWORD ); void DrawMasked( HDC, HBITMAP, WORD, WORD ); void DrawGrayed( HDC, HBITMAP, int, int ); void ...
by saviotti
Fri May 18, 2007 2:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error ao atualizar para FWH 7.04
Replies: 29
Views: 9872

... Si la Ventana tiene Barra de botones nHeight -= oWnd:oBar:nHeight ENDIF nHeight -= 40 // +- Altura de la barra de titulo y menu #IFDEF __HARBOUR__ DrawBitmap( hDC, oBmpFondo:hBitmap , 0, 0, nWidth, nHeight ) #ELSE IF At("2.1",FWVERSION) > 0 DrawBitmap( hDC, oBmpFondo:hBmpPal , 0, 0, nWidth, ...
by Miguel Salas
Sun Apr 01, 2007 2:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
Replies: 22
Views: 6605

... ; SIZE 074, 10 ; ACTION( WinExec( "Notepad.exe Error.Log" ) ) // Bloco de Notas SET FONT OF oDlg TO oFont ACTIVATE DIALOG oDlg CENTERED ; ON PAINT DrawBitmap( hDC, hLogo, 6, 6 ) DeleteObject( hLogo ) oFont:End() If lRet == Nil .Or. ( !LWRunning() .And. lRet ) DBCLOSEALL() SET RESOURCES TO ErrorLevel( ...
by karinha
Mon Jan 22, 2007 9:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: To Antonio - GPF com MDICHILD + DIALOG
Replies: 5
Views: 1725

Gustavo,

En el módulo wbrwline.c del browse de Hernán se está llamando a DrawMasked(). Hay que cambiarlo para que llame a DrawBitmap() y modificar un poco los parámetros que se le pasan
by Antonio Linares
Fri Jan 05, 2007 7:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una Foto en listado twbrowse se muestra transparente
Replies: 7
Views: 2008

... } * SetWindowLong( ::hWnd, GWL_EXSTYLE, nOr( GetWindowLong( ::hWnd, GWL_EXSTYLE ), WS_EX_TRANSPARENT ) ) RETURN lFocus METHOD Paint() CLASS TDIAG DrawBitmap( ::hDc, ::hFond, -::nDif, -::nDif ) IF ::bPainted # NIL EVAL(::bPainted,::hDc) ENDIF RETURN NIL * METHOD StartPaint() CLASS TDIAG IF ::lSomb ...
by manuramos
Mon Apr 24, 2006 6:37 pm
 
Forum: FiveWin para CA-Clipper
Topic: Para Manu Ramos (diálogo con sombra)
Replies: 1
Views: 1018

... } * SetWindowLong( ::hWnd, GWL_EXSTYLE, nOr( GetWindowLong( ::hWnd, GWL_EXSTYLE ), WS_EX_TRANSPARENT ) ) RETURN lFocus METHOD Paint() CLASS TDIAG DrawBitmap( ::hDc, ::hFond, -::nDif, -::nDif ) IF ::bPainted # NIL EVAL(::bPainted,::hDc) ENDIF RETURN NIL * METHOD StartPaint() CLASS TDIAG IF ::lSomb ...
by manuramos
Wed Mar 15, 2006 6:27 pm
 
Forum: Utilities / Utilidades
Topic: Sugerencias GET's
Replies: 6
Views: 3832

16 bits tranparentes

... ) * ::nDif := IF(lAnd(GetWindowLong(::hWnd,GWL_STYLE),WS_BORDER),1,0) ::bStart := { || ::StartPaint() } RETURN lFocus METHOD Paint() CLASS TDIAG DrawBitmap( ::hDc, ::hFond, -::nDif, -::nDif ) IF ::bPainted # NIL EVAL(::bPainted,::hDc) ENDIF RETURN NIL * METHOD StartPaint() CLASS TDIAG ::GetDc() ...
by manuramos
Thu Feb 02, 2006 5:36 pm
 
Forum: FiveWin para CA-Clipper
Topic: 16 bits tranparentes
Replies: 6
Views: 1924

Hola Rufer

Depende de como estas dibujando la imágen. Si estas poniendo un @ fila, columna BITMAP y lo que sea o si estas haciendo un DrawBitmap en el bPaint del dialogo.

Dime como estas haciendo y te cuento

Un saludo
by Paco Garcia
Thu Jan 19, 2006 8:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber posicion del mouse en una imagen
Replies: 10
Views: 2619

... :-) I don't want to blame MS but I can't understand how they don't provide this functionality built-in as it was on 16 bits, same as there is no a DrawBitmap() for a GUI since the early days of Windows... I agree. The MS guy who designed the API layer did not make a good work for me. Thats why ...
by Enrico Maria Giordano
Sat Dec 24, 2005 6:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in comm.c
Replies: 6
Views: 1585

... I don't want to blame MS but I can't understand how they don't provide this functionality built-in as it was on 16 bits, same as there is no a DrawBitmap() for a GUI since the early days of Windows... Thats why we were doing some research on mscomm32.ocx
by Antonio Linares
Sat Dec 24, 2005 5:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in comm.c
Replies: 6
Views: 1585

imagen al inicio del sistema

... ; MENU BuildMenu() ; MENUINFO 2 ; MDI DEFINE BITMAP oBmp FILE "Imagen\Fondo.bmp" OF _oWnd bla....bla.. ACTIVATE WINDOW _oWnd MAXIMIZED ; ON PAINT DrawBitmap( hDC, oBmp:hBitmap, ; ( _oWnd:nHeight() / 2 ) - ( oBmp:nHeight() / 2 ), ; ( _oWnd:nWidth() / 2 ) - ( oBmp:nWidth() / 2 ),0,0 ) El problema ...
by Patricio Avalos Aguirre
Wed Oct 19, 2005 3:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: imagen al inicio del sistema
Replies: 3
Views: 1887
Previous

Return to advanced search