Search found 83 matches: sendmsg

Return to advanced search

Error en Listbox.

... => SENDMESSAGE( 0 ) Called from: .\source\classes\WINDOW.PRG => (b)TWINDOW( 555 ) Called from: .\source\classes\WINDOW.PRG => TWBROWSE:SENDMSG( 0 ) Called from: .\source\classes\WINDOW.PRG => TWBROWSE:SETFONT( 2769 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:INITIATE( ...
by José Camilo
Sun Mar 24, 2024 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en Listbox.
Replies: 1
Views: 310

Re: Concept of REDEFINE for Dummy

... BUTTON i have try   REDEFIBE BTNBMP this seems to work but "Parent Window" seem not to get "Userdef Event" ... i have try oWnd:SendMsg() or oWnd:PostMsg() but i got no Result Question : can i can change BUTTON to "something" else ? ( or is there a limitation IsKinof("BUTTON) ...
by Jimmy
Sun Apr 02, 2023 3:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Concept of REDEFINE for Dummy
Replies: 13
Views: 820

Re: FWH: All functions, classes, methods with source code

... ) @ 50,420 GET oGet VAR cText MEMO SIZE nWd - 440, 530 PIXEL OF oDlg FONT oFixed static function GetSetTopRow( oGet, nRow ) local nTopRow := oGet:SendMsg( EM_GETFIRSTVISIBLELINE ) oGet:SendMsg( EM_LINESCROLL, 0, nRow - nTopRow ) return nil I don't understand when I change the size of the get the ...
by Marc Venken
Thu Oct 06, 2022 9:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: All functions, classes, methods with source code
Replies: 15
Views: 1580

Re: BTNBMP default button

Damiano,

Try this:

#define BM_SETSTYLE 244

oDlg:bInit := { || oBtnBmp:SendMsg( BM_SETSTYLE, BS_DEFPUSHBUTTON, 1 ) }

or

oDlg:bInit := { || oBtnBmp:PostMsg( BM_SETSTYLE, BS_DEFPUSHBUTTON, 1 ) }
by Antonio Linares
Thu May 26, 2022 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP default button
Replies: 9
Views: 619

Re: Richedit5 SendMsg

Sebastian,

Prueba PostMsg() en vez de SendMsg()

Prueba tambien con:
orichedit:SendMsg( EM_SETTOUCHOPTIONS, 1, 1 ) // ya que el tercer parámetro tiene que ser numérico
by Antonio Linares
Thu Aug 12, 2021 5:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Richedit5 SendMsg
Replies: 5
Views: 760

Re: Richedit5 SendMsg

Que tal algo asi:

Code: Select all  Expand view

   SendMessage(hWn, EM_SETSEL, 0, -1)
   SendMessage(hWn, WM_COPY, 0, 0)
   buf:=oClp:GetText()
 


Regrads, saludos.
by karinha
Thu Aug 12, 2021 2:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Richedit5 SendMsg
Replies: 5
Views: 760

Re: Richedit5 SendMsg

... he intenado: #DEFINE EM_SETTOUCHOPTIONS 1335 #DEFINE EM_GETTOUCHOPTIONS 1334 orichedit:SendMsg( EM_SETTOUCHOPTIONS, 1, .t. ) sin embargo no hace nada, le pido que me devuelva el valor: nvalor := orichedit:SendMsg( EM_GETTOUCHOPTIONS, 1, ...
by Sebastián Almirón
Thu Aug 12, 2021 9:52 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Richedit5 SendMsg
Replies: 5
Views: 760

Re: Richedit5 SendMsg

Sebastian, no he llegado a utilizar este control en otro dispositivo que no sea un ordenador/portátil, por lo que no puedo comentar la problemática que planteas, pero, en cualquier caso, cuando estuve desarrollando esta clase, si me planteé poder hacer una selección rectangular al estilo que hago co...
by cnavarro
Thu Aug 12, 2021 7:21 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Richedit5 SendMsg
Replies: 5
Views: 760

Re: Richedit5 SendMsg

by Antonio Linares
Wed Aug 11, 2021 5:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Richedit5 SendMsg
Replies: 5
Views: 760

Richedit5 SendMsg

... y luego cuando hacen click (en el método LButtonDown) de manera que ahí ya tengo las cuatro coordenadas del rect. Pensaba que enviando un ::SendMsg( EM_SETRECT, 0, @arect ) se quedaría seleccionado el texto que me interesa, pero no, no hace nada. Las coordenadas las he guardado tanto con ...
by Sebastián Almirón
Wed Aug 11, 2021 5:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Richedit5 SendMsg
Replies: 5
Views: 760

Error log location

... <-TWINDOW:HANDLEEVENT(0) <-TBUTTON:HANDLEEVENT(0) <-_FWH(0) <-SENDMESSAGE(0) <-(b)TWINDOW(0) <-TMDICLIENT:SENDMSG(0) <-TMDICLIENT:CHILDCLOSE(0) Fixing the error is simple, that's not my question, what I want to know is how do I redirect appname.log so ...
by rhlawek
Thu Jun 24, 2021 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error log location
Replies: 4
Views: 430

Re: problemas con xBrowse: NO FUNCIONA oBrw:VGoBottom()

Muchas gracias por tu respuesta.

El problema es que con SQLRRD, al hacer dbgobottom() no baja la barra de scroll, ni tampoco funciona el método para forzarlo, ni sendmsg.
by MOISES
Tue Jun 09, 2020 12:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problemas con xBrowse: NO FUNCIONA oBrw:VGoBottom() [solucio
Replies: 3
Views: 696

Re: Brw:VGoBottom() does not work in xBrowse

Just define the needed position from inside the used DBF
and not from a defined xBrowse row-position like :

activate dialog oDlg centered ;
on init DBGOBOTTOM() // seek or anything else

// on init ( oBrw:VGoBottom(), oBrw:oVScroll:SendMsg( VK_DOWN ) )

regards
Uwe :D
by ukoenig
Tue Jun 09, 2020 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Brw:VGoBottom() does not work in xBrowse [SOLVED]
Replies: 4
Views: 809

problemas con xBrowse: NO FUNCIONA oBrw:VGoBottom() [solucio

... de xBrowse y SQLRDD, dado que Nages no contesta a los mensajes, necesito poder mover la barra de scroll vertical. Sin embargo, oBrw:VGoBottom() ni SendMsg( VK_DOWN ) funcionan. No hacen nada. Aquí va un ejemplo. #Include "FiveWin.Ch"#include "xbrowse.ch"#include "hbcompat.ch"FUNCTION ...
by MOISES
Tue Jun 09, 2020 8:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: problemas con xBrowse: NO FUNCIONA oBrw:VGoBottom() [solucio
Replies: 3
Views: 696

Brw:VGoBottom() does not work in xBrowse [SOLVED]

... of xBrowse and SQLRDD, since Nages doesn't answer the messages, I need to be able to move the vertical scroll bar. However, oBrw:VGoBottom() and SendMsg( VK_DOWN ) do not work. They don't do anything. Here is an example. #Include "FiveWin.Ch"#include "xbrowse.ch"#include "hbcompat.ch"FUNCTION ...
by MOISES
Tue Jun 09, 2020 8:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Brw:VGoBottom() does not work in xBrowse [SOLVED]
Replies: 4
Views: 809
Next

Return to advanced search