Search found 274 matches: sendmessage

Return to advanced search

Re: Ctrl+C

Natter,

You could ty to find the browser window using FindWindow() and then do a SendMessage( hWndBrowser, WM_COPY, 0, 0 )
by Antonio Linares
Thu Feb 04, 2021 8:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ctrl+C
Replies: 6
Views: 497

Error on Resize xBrowse

... 0 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 1140 ) Called from: => SENDMESSAGE( 0 ) Called from: .\source\classes\MSGBAR.PRG => TMSGBAR:LBUTTONDOWN( 558 ) Called from: .\source\classes\CONTROL.PRG => TMSGBAR:HANDLEEVENT( ...
by mauri.menabue
Mon Nov 02, 2020 11:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error on Resize xBrowse
Replies: 0
Views: 284

HBMK2 Problem linking

... 0 )<-(b)VFAMANARQ( 141 )<-TBUTTONBMP:CLICK( 179 )<-TBUTTON:HANDLEEVENT( 1755 )<-TBUTTONBMP:HANDLEEVENT( 261 )<-_FWH( 3546 )<-SENDMESSAGE( 0 )<-TDIALOG:COMMAND( 425 )<-TWINDOW:HANDLEEVENT( 0 )<-TDIALOG:HANDLEEVENT( 923 )<-DIALOGBOX( 0 )<-TDIALOG:ACTIVATE( 305 ...
by vilian
Thu Jun 04, 2020 5:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HBMK2 Problem linking
Replies: 49
Views: 5339

WHY...No exported method: END (Error)

... .\source\classes\CONTROL.PRG => TBUTTON:HANDLEEVENT( 1781 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3559 ) Called from: => SENDMESSAGE( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:COMMAND( 433 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: .\source\classes\DIALOG.PRG ...
by RiazKhan
Sun May 17, 2020 8:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WHY...No exported method: END (Error)
Replies: 3
Views: 464

Tooltip color

... RGB( 255, 255, 225 ) OF Self then can I change the color of title or text ? where is the function CreateToolTipWNew I allready tried to make also SendMessage(::hwnd, TTM_SETTIPBKCOLOR, CLR_HRED, 0) to make a test but not run ok then If it is ::lballoon the text is blue if ::lbaloon = .f. the text ...
by Silvio.Falconi
Mon Mar 30, 2020 1:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tooltip color
Replies: 3
Views: 472

Re: Contents of the input field

Since I need to get the text from someone else's application, the Getwindowtext(hWn) function will return an empty value.
I solved this problem using clipboard

SendMessage(hWn, EM_SETSEL, 0, -1)
SendMessage(hWn, WM_COPY, 0, 0)
buf:=oClp:GetText()
by Natter
Wed Nov 13, 2019 6:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Contents of the input field
Replies: 2
Views: 506

Contents of the input field

... (class Edit). There is text in this field. I know the pointer of this field and want to get its contents #DEFINE WM_GETTEXT 13 buf:=space(200) SendMessage(hWn, WM_GETTEXT, 200, @buf) As a result, I get an empty value. What am I wrong about ? Windows 10, FWH 18.06
by Natter
Tue Nov 12, 2019 6:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Contents of the input field
Replies: 2
Views: 506

Re: XBrowse setget

... Called from TBUTTON:HANDLEEVENT(1755) in .\source\classes\CONTROL.PRG Called from _FWH(3513) in .\source\classes\WINDOW.PRG Called from SENDMESSAGE(0) Called from TDIALOG:COMMAND(433) in .\source\classes\DIALOG.PRG Called from TWINDOW:HANDLEEVENT(0) Called from TDIALOG:HANDLEEVENT(1136) ...
by ADutheil
Fri Nov 08, 2019 1:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse setget
Replies: 5
Views: 748

Re: Mejoras para scintilla

... => TBUTTON:HANDLEEVENT( 1761 ) 000008 Called from: .\source\classes\WINDOW.PRG => _FWH( 3951 ) 000009 Called from: => SENDMESSAGE( 0 ) 000010 Called from: .\source\classes\DIALOG.PRG => TDIALOG:COMMAND( 439 ) 000011 Called from: => TWINDOW:HANDLEEVENT( 0 ) 000012 ...
by caducca
Tue Jul 30, 2019 3:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mejoras para scintilla
Replies: 1037
Views: 840622

Re: ¿ Porqué se distorsiona XBROWSER con COLUMNS ?

... .\source\classes\CONTROL.PRG => TBUTTON:HANDLEEVENT( 1755 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3546 ) Called from: => SENDMESSAGE( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:COMMAND( 433 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: .\source\classes\DIALOG.PRG ...
by wyerco613
Fri Jun 21, 2019 4:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿ Porqué se distorsiona XBROWSER con COLUMNS ?
Replies: 5
Views: 752

Re: TWebCam Cambiar resolucion

... (WM_CAP_START + 41) METHOD Format() CLASS TWebCam // César E. Lozada, cesarlozada@hotmail.com If ::hWebCam <> NIL .and. ::isConnected SendMessage( ::hWebCam, WM_CAP_DLG_VIDEOFORMAT, 0, 0 ) EndIf Return NIL Saludos! Eduardo Borondón Muñiz
by EBM
Sat Apr 13, 2019 5:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWebCam Cambiar resolucion
Replies: 3
Views: 538

Accessing 32-bit DLLs from 64-bit code

... From all of them, the WM_COPYDATA seems the simplest way to go :-) SendMessage( hWndToReceiveTheMessage, WM_COPYDATA, hWndSender, pPointerToACOPYDATASTRUCT structure ) --> value returned from hWndToReceiveTheMessage
by Antonio Linares
Sat Apr 28, 2018 6:39 am
 
Forum: Utilities / Utilidades
Topic: Accessing 32-bit DLLs from 64-bit code
Replies: 2
Views: 868

Re: Error en la clase ssay

... Called from: .\_a_say_dinamico.prg => TDSAY:HANDLEEVENT( 189 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3368 ) Called from: => SENDMESSAGE( 0 ) Called from: .\source\classes\WINDOW.PRG => (b)TWINDOW( 590 ) Called from: .\source\classes\WINDOW.PRG => TDSAY:SENDMSG( 0 ) ...
by J. Ernesto
Mon Apr 02, 2018 10:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en la clase ssay Cambie el return y Funciona OK
Replies: 4
Views: 673

ACTIVEX ACCESS_VIOLATION

... Called from TBUTTONBMP:HANDLEEVENT(261) in .\source\classes\BUTTONB.PRG Called from _FWH(3348) in .\source\classes\WINDOW.PRG Called from SENDMESSAGE(0) Called from TDIALOG:COMMAND(424) in .\source\classes\DIALOG.PRG Called from TWINDOW:HANDLEEVENT(0) Called from TDIALOG:HANDLEEVENT(922) ...
by vilian
Wed Mar 28, 2018 11:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ACTIVEX ACCESS_VIOLATION
Replies: 22
Views: 3152

Re: Richedit ole object

Antonino,

FWH REGetOleInterface() basically does this (what you already posted in the provided example):

SendMessage( hEdit, EM_GETOLEINTERFACE, 0, ( LPARAM ) &tr_code );

IMO, in the example that you have posted you have everything you need to implement it :-)
by Antonio Linares
Tue Mar 13, 2018 8:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit ole object
Replies: 4
Views: 981
PreviousNext

Return to advanced search