Search found 68 matches: tclipboard

Return to advanced search

Re: whatsapp

Saludos y gracias a la ayuda de jose Alberto alvares, voy a validar con METHOD CopyToClipboard() CLASS TBitmap

local oClipboard := TClipboard():New( CF_BITMAP )

oClipboard:SetBitmap( Self )

oClipboard:End()

return nil
by jnavas
Wed Nov 22, 2023 1:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: whatsapp
Replies: 9
Views: 1201

Re: enviar mensajes a whatsapp, ¿posible solucion?

Good. From now onwards please use this function to copy any image to clipboard. Do not use any other existing functions and not even tclipboard class (till we improve in next version) function CopyImageToClipboard( cImage )   local hBitmap  := FW_ReadImage( nil, ...
by nageswaragunupudi
Fri Oct 27, 2023 4:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: enviar mensajes a whatsapp, ¿posible solucion?
Replies: 55
Views: 3686

Re: SetClipboardData to UTF-8

... so that we can assume, that the clipboard runs well under UTF-8 :D From now onwards, please use the above two functions. I noticed a small bug in TClipboard class and do not use it till it is fixed (for Unicode only) Both the above functions are available in FWH2204 but the second function requires ...
by nageswaragunupudi
Sat Jul 01, 2023 8:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetClipboardData to UTF-8
Replies: 14
Views: 888

Re: Problem with xBrowse

... TRECT 21 TMSGITEM 22 TTIMER 23 TBITMAP 24 TIMAGE 25 TCURSOR 26 TBAR 27 TBTNBMP 28 TMDICHILD 29 TDIALOG 30 TXBROWSE 31 TXBRWCOLUMN 32 TSCROLLBAR 33 TCLIPBOARD 34 TSTRUCT Memory Analysis =============== 598 Static variables Dynamic memory consume: Actual Value: 2031616 bytes Highest Value: 2031616 ...
by Armando
Tue May 16, 2023 5:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with xBrowse (Fixed)
Replies: 34
Views: 2120

Re: Error in database.prg?

... 18 TIMAGELIST 19 TBITMAP 20 TMSGBAR 21 TDIALOG 22 TSAY 23 TXBROWSE 24 TXBRWCOLUMN 25 GET 26 TCLIPGET 27 TBUTTON 28 TBUTTONBMP 29 TSCROLLBAR 30 TCLIPBOARD 31 TMSGITEM 32 TTIMER 33 TFOLDER 34 TSTRUCT Memory Analysis =============== 2467 Static variables Dynamic memory consume: Actual Value: 0 ...
by wartiaga
Tue Feb 15, 2022 4:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can you use a field named End with Class TDataBase ? yes!
Replies: 15
Views: 943

Re: Clipboard question

... oClp will arrive as a nil to function ColToString() and there should be no error TGet():MsgNotFound(0) also you need to define a local oClp := TClipboard():New() inside function ColToString()
by Antonio Linares
Thu Jan 20, 2022 6:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Clipboard question
Replies: 1
Views: 162

Re: New FTDN June/Junio (FWH 21.06)

... * Nueva función FW_CopyToClipBoard( uValue, [nFormat] ) --> lSuccess Función simple para copiar al portapapeles, sin tener que crear un objeto TClipboard. El segundo parámetro no es necesario si el valor es texto (ansi/utf8) o un manejador de imagen GDI+. * Nueva función (source\function\filename.prg) ...
by Antonio Linares
Wed Jul 28, 2021 2:07 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio (FWH 21.06)
Replies: 7
Views: 1971

New FTDN June/Junio (FWH 21.06)

... * New function FW_CopyToClipBoard( uValue, [nFormat] ) --> lSuccess Simple function to copy to clipboard, without having to create TClipboard object. Second parameter is not necessary of the value is text (ansi/utf8) or hBitmap of GDI+ image. * New function (function\filename.prg) ...
by Antonio Linares
Tue Jul 27, 2021 4:47 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio (FWH 21.06)
Replies: 7
Views: 1971

New FTDN June/Jnio (FWH 21.06)

... * New function FW_CopyToClipBoard( uValue, [nFormat] ) --> lSuccess Simple function to copy to clipboard, without having to create TClipboard object. Second parameter is not necessary of the value is text (ansi/utf8) or hBitmap of GDI+ image. * New function (function\filename.prg) ...
by Antonio Linares
Tue Jul 27, 2021 4:46 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Jnio (FWH 21.06)
Replies: 0
Views: 452

Re: Clipboard without a window

Hi Antonio,
no, in my TClipboard Class I have this code :

METHOD Open() INLINE OpenClipboard( ::oWnd:hWnd )

Now I make the change and rebuild the exe again.
I'll be back to give you the new result.
Thanks a lot.
Massimo
by Massimo Linossi
Sat May 15, 2021 4:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Clipboard without a window
Replies: 3
Views: 547

Re: Clipboard without a window

Massimo,

Please check that you have this code in Class TClipboard

METHOD Open() INLINE OpenClipboard( If( ::oWnd == nil, GetDeskTopWindow(), ::oWnd:hWnd ) )
by Antonio Linares
Sat May 15, 2021 3:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Clipboard without a window
Replies: 3
Views: 547

Clipboard without a window

... strings inside an excel file, using the clipboard for pasting the datas. The problem is that if I don't have a window or a dialog I cannot use the tclipboard class because it gives error saying this : Application===========   Path and name: C:\fw\excel_export.exe (32 bits)   Size:   1.755.648 ...
by Massimo Linossi
Sat May 15, 2021 2:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Clipboard without a window
Replies: 3
Views: 547

Re: New FTDN February/Febrero 2021 (FWH 21.02)

... - Se ha solucionado una pérdida de recursos en el método Paste(). * TClipboard: - El método SetBitmap( ohBitmap ) informa de pérdida de recursos. Solucionado !!! http://forums.fivetechsupport.com/viewtopic.php?f=6&t=40035&p=239130&sid=32a11be08a7956146c2a481125f368d1#p239130 ...
by Antonio Linares
Mon Apr 05, 2021 6:43 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February/Febrero 2021 (FWH 21.02)
Replies: 2
Views: 1422

New FTDN February/Febrero 2021 (FWH 21.02)

... - Resource leak in Paste() method fixed. * TClipboard: method SetBitmap( ohBitmap ) reports resource leakage. Fixed: http://forums.fivetechsupport.com/viewtopic.php?f=6&t=40035&p=239130&sid=32a11be08a7956146c2a481125f368d1#p239130 ...
by Antonio Linares
Wed Mar 24, 2021 8:56 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February/Febrero 2021 (FWH 21.02)
Replies: 2
Views: 1422

Re: Memory Leak - Richedit

The main issue raised in the topic is "Resource Leakage." The method oImage:CopyToClipboard() has apparent resource leakage because TClipBoard():SetBitmap( ohBmp ) has the leakage again because the C level function "SetClipboardData( CF_BITMAP, hBitmap ) )" has this "apparent" ...
by nageswaragunupudi
Sun Mar 07, 2021 2:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Memory Leak - Richedit
Replies: 29
Views: 3582
Next

Return to advanced search

cron