Search found 94 matches: drawimage

Return to advanced search

Brush

Good afternoon everybody, I would like to know if it is possible to define the size of the Brush on a dialog? I saw examples here with DrawImage. However, I need to place other images over the background image. I did a test by placing a background with DrawImage and other images on top, but ...
by oliveiros junior
Thu Apr 18, 2024 6:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Brush
Replies: 10
Views: 495

Using FW_SayText in WebView

Good morning, I'm using webview in a MDICHILD function googlemaps(app_oWnd)    local oWnd    local oWebView         DEFINE WINDOW oWnd MDICHILD of app_oWnd TITLE "Using a webview from an existing window"     oWnd:Center()    oWebView = TWebView():New(, oWnd:hWnd...
by alvaro533
Fri Dec 29, 2023 9:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using FW_SayText in WebView
Replies: 2
Views: 341

Re: New FTDN October/Octubre 2023 (FWH 23.10)

Agosto, Septiembre, Octubre 2023 ================================ * Fubción WebPageContents() en imgtxtio.prg: En caso de URLs inexistentes devuelve NIL, mientras que se espera que el valor de retorno sea siempre un valor de carácter. Ahora se ha corregido para que devuelva "" en lugar de ...
by Antonio Linares
Sun Dec 03, 2023 4:46 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3915

Re: BtnBmp and oPopup

>FW_DrawImage( hDC, "c:\fwh\bitmaps\alphabmp\ichat.bmp", {::nHeight-30, ::nWidth-25, ::nHeight - 10, ::nWidth-5}, .t. ) for me it's no good perhaps... data hBmpPop on METHOD Paint() CLASS TBtnBmp if ::oPopup != nil if ::hBmpPop != 0        DrawBitmap( ::hDC, ::hBmpPop, aRect[1&#...
by Silvio.Falconi
Wed Jun 07, 2023 8:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and oPopup
Replies: 4
Views: 408

Re: lIncrFilter + MDI

... oBar OF oWnd SIZE 45,45 2007 DEFINE BUTTON OF oBar PROMPT "TEST" CENTER ACTION Test() oWnd:oWndClient:bPainted := {||oWnd:oWndClient:DrawImage( "c:\fwh\bitmaps\logo.bmp", "BR" )} ACTIVATE WINDOW oWnd return nil Function Test() local oDlg, oBrw, oFont, nWild := ...
by cpheraclio
Sun Jun 04, 2023 11:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: lIncrFilter + MDI
Replies: 4
Views: 372

Re: BTNTRNS can use with WINDOW?

Dear Antonio,

I got the problem now. The TRANSLUCENT BUTTONS will work with background image from BRUSH. But it doesn't work with background image from FW_Drawimage().
Antonio Linares wrote:Dear Dutch,

Please post a small PRG to test, thanks
by dutch
Fri May 05, 2023 10:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BTNTRNS can use with WINDOW?
Replies: 10
Views: 420

Problem with TRANSPARENT BTNBMP or SBUTTON on WINDOW/DIALOG

... I have problem with BTNBMP and SBUTTON. It cannot make TRANSPARENT BUTTON, if I paint image on background. This screen I use ::ReadImage() and DrawImage() for background. SBUTTON or BTNBMP will not transparent. https://i.postimg.cc/fT8WbWjp/1683110245562.jpg windows 7 screenshot ...
by dutch
Wed May 03, 2023 10:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with TRANSPARENT BTNBMP or SBUTTON on WINDOW/DIALOG
Replies: 15
Views: 1138

Re: Frase se ajuste a un ancho

... method: HBMP Args: [ 1] = U Stack Calls =========== Called from: => HBMP( 0 ) Called from: .\source\classes\TGDIPLUS.PRG => GRAPHICS:DRAWIMAGE( 158 ) Called from: c:\fwteam\samples\crist.prg => TCWND:NCPAINT( 130 ) Called from: c:\fwteam\samples\crist.prg => TCWND:HANDLEEVENT( ...
by Antonio Linares
Fri Oct 07, 2022 11:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Frase se ajuste a un ancho
Replies: 22
Views: 2735

Re: Draw a bitmap

... (height is not important). I take a full screenshot and get a bitmap size of 1920x1080. Then I try to put it on the FW window using the method DrawImage().
by Natter
Thu Oct 06, 2022 6:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Draw a bitmap
Replies: 6
Views: 467

Re: Draw a bitmap

... tried all the modes. Everything works. However, it does not look very nice. After all, to insert a 1920-width bitmap into a 1536-width window, the drawimage() method compresses this bitmap. As a result, bitmap doesn't look very good :(
by Natter
Thu Oct 06, 2022 8:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Draw a bitmap
Replies: 6
Views: 467

Re: Draw a bitmap

... hBmp - bitmap 1920x1080  hCropBmp:=FW_TransformBitmap(hBmp, {1, 1, oWnd:nHeight, oWnd:nWidth})  bPnt:=&('{||oLay:DrawImage('+ltrim(str(hCropBmp))+ ;                      ', {1,1,oWnd:nHeight,oWnd:nWidth},,1)}')  DEFINE DIALOG oLay  PIXEL  STYLE ...
by nageswaragunupudi
Thu Oct 06, 2022 5:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Draw a bitmap
Replies: 6
Views: 467

Re: DC of the window

Method oWnd:DrawImage( cPngFile, aRect ) works. Is it possible to read from bitmap not all the picture, but only the required fragment ?
by Natter
Sat Aug 13, 2022 8:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DC of the window
Replies: 10
Views: 508

Re: DC of the window

oWnd:bPainted := { || oWnd:DrawImage( cPngFile, aRect )
by Antonio Linares
Fri Aug 12, 2022 4:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DC of the window
Replies: 10
Views: 508

Re: De xHarbour a Harbour

Gracias nuevamente Master, En esta oportunidad con los archivos go.bat y neuro32.hbp que me indicaste el compilado se ve mas extenso, incluso se crean los archivos .C en la carpeta temporal, los OBJ no se estan creando., luego del proceso, salen estos errores, me imagino que seran librerias que esta...
by JoseAlvarez
Mon Oct 04, 2021 2:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: De xHarbour a Harbour
Replies: 35
Views: 3328

Re: Botones dentro de la ventana principal

We recommend using oWnd:DrawImage( cLogo, [aRect] ) for showing logo. With this, the logo is displayed over any brush used but beneath all controls. Example: #include "fivewin.ch"function Main()   local oWnd, ...
by nageswaragunupudi
Fri Sep 24, 2021 5:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Botones dentro de la ventana principal
Replies: 3
Views: 471
Next

Return to advanced search