Search found 96 matches: drawimage

Return to advanced search

Re: Transparent Png on MDI Parent

No the version I sent you is the new, the other was xHb, I don't think it had the Method DrawImage. I am good now, your version works great, and seems better than what I was doing before. Thanks,
by byron.hopp
Mon May 13, 2024 7:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Transparent Png on MDI Parent
Replies: 11
Views: 393

Re: Transparent Png on MDI Parent

I once again repeat please. As I suggested above, the method oWnd:DrawImage(...) is the best suited for this purpose. Please DO NOT create controls like BITMAP,IMAGE,XIMAGE etc. Please test this example in samples folder: I have used one Png to display at ...
by nageswaragunupudi
Mon May 13, 2024 4:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Transparent Png on MDI Parent
Replies: 11
Views: 393

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

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

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

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

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

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

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

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

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

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

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

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

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: 521
Next

Return to advanced search