Search found 84 matches: postmsg

Return to advanced search

Re: Definir font richedit5

... OF oDlg PIXEL SIZE 200, 200 oDlg:oClient = oMemo omemo:SetFont( oFont ) ACTIVATE DIALOG oDlg CENTERED ; ON INIT ( oMemo:LoadRtf( cText ), oMemo:PostMsg( WM_KEYDOWN, VK_HOME, 0 ) , BuildRichEditBar( oDlg, oMemo, { | c | cText := c } ), oDlg:ReSize(), SendMessage( oMemo:hWnd, EM_SETLANGOPTIONS, ...
by jpcavagnaro
Tue Dec 26, 2023 11:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Definir font richedit5
Replies: 3
Views: 559

error TXBROWSE:CARGOS

... xLiderAudit = xNUsuario // cancel ACTIVATE DIALOG princfac CENTERED nowait ON INIT ( princfac:Move( 0, 0 ) ) //, oRich:LoadRtf( xobserva ), oRich:PostMsg( WM_KEYDOWN, VK_HOME, 0 )) oWndChild:nWidth := princfac:nWidth + 7 oWndChild:nHeight := princfac:nHeight + 32 ACTIVATE WINDOW oWndChild on init ...
by jpcavagnaro
Wed Aug 30, 2023 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error TXBROWSE:CARGOS
Replies: 3
Views: 263

Re: Concept of REDEFINE for Dummy

...   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) in ...
by Jimmy
Sun Apr 02, 2023 3:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Concept of REDEFINE for Dummy
Replies: 13
Views: 789

Ayuda por favor con folder y listbox

... oWndChild:End() ) // cancel ACTIVATE DIALOG princfac CENTERED nowait ON INIT princfac:Move( 0, 0 ) //, oRich:LoadRtf( xobserva ), oRich:PostMsg( WM_KEYDOWN, VK_HOME, 0 )) oWndChild:nWidth := princfac:nWidth + 7 oWndChild:nHeight := princfac:nHeight + 32 ACTIVATE WINDOW oWndChild // ON ...
by jpcavagnaro
Wed Mar 29, 2023 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ayuda por favor con folder y listbox
Replies: 1
Views: 233

Re: how to "activate" Spacebar ?

Dear Jimmy,

Please try with:

oControl:PostMsg( WM_KEYDOWN, 32 )

or

oControl:PostMsg( WM_CHAR, 32 )
by Antonio Linares
Sun Jan 15, 2023 7:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to "activate" Spacebar ?
Replies: 1
Views: 151

Consulta Sobre Richedi5 ??

... en el activate del Dialog debo usar ON INIT, de la siguiente forma? ACTIVATE DIALOG oDlg CENTERED ON INIT ( oRich:LoadRtf( cTxt ), oRich:PostMsg( WM_KEYDOWN, VK_HOME, 0 ) ) ; VALID ( cTxt := oRich:SaveAsRTF(), .T. ) Muchas gracias, saludos. Antonio
by remtec
Mon Aug 22, 2022 12:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta Sobre Richedi5 ??
Replies: 3
Views: 434

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

Re: get -oSortCbx

Silvio, Instead of: ON RESIZE oGet:setfocus() use: ON RESIZE oGet:PostMsg( WM_SETFOCUS ) I allready tested all two commands and not run ok when I move the mdichild I not see the get control, then if I move the mouse over or another windows I see the get ...
by Silvio.Falconi
Sat Oct 23, 2021 6:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: get -oSortCbx
Replies: 6
Views: 451

Re: get -oSortCbx

Silvio,

Instead of:
ON RESIZE oGet:setfocus()

use:
ON RESIZE oGet:PostMsg( WM_SETFOCUS )
by Antonio Linares
Sat Oct 23, 2021 4:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: get -oSortCbx
Replies: 6
Views: 451

Re: get -oSortCbx

Dear Silvio, Please try it this way: oGet:PostMsg( WM_SETFOCUS ) I must insert it where ? on init ? not run this my source static function Clienti()   local oBrw, cClrBack, cAlias   local oBar, oMsgBar, oMsgDeleted   local oIscritti  ...
by Silvio.Falconi
Fri Oct 22, 2021 7:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: get -oSortCbx
Replies: 6
Views: 451

Re: get -oSortCbx

Dear Silvio,

Please try it this way:

oGet:PostMsg( WM_SETFOCUS )
by Antonio Linares
Thu Oct 21, 2021 5:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: get -oSortCbx
Replies: 6
Views: 451

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

Re: Insertar un texto en un get Memo desde un menu setkey

Lubin,

En source\classes\mget.prg en el método Paste() prueba a cambiar:

::SendMsg( WM_PASTE )

con:

::PostMsg( WM_PASTE )
by Antonio Linares
Fri Aug 24, 2018 7:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Insertar un texto en un get Memo desde un menu setkey
Replies: 2
Views: 524

Re: Possible to run 2 browser synchronously ?

Uwe, this is a bit tricky, but this might work:     oBrw1:bChange := {|| oBrw2:PostMsg( WM_KEYDOWN )}    oBrw2:bChange := {|| oBrw1:PostMsg( WM_KEYDOWN )}    oBrw1:lColChangeNotify := .t.    oBrw2:lColChangeNotify ...
by gkuhnert
Mon Jul 24, 2017 6:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to run 2 or 3 browser synchronously ?
Replies: 10
Views: 2984

Re: TAB AUTOMATICO EN DTPICKER

Adhemar,

Prueba asi:

oDTPicker:bChange = { || If( oDTPicker:lClosed .and. oDTPicker:lFocused, oDTPicker:PostMsg( WM_KEYDOWN, VK_RIGHT ),) }
by Antonio Linares
Wed Mar 02, 2016 8:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TAB AUTOMATICO EN DTPICKER
Replies: 14
Views: 2080
Next

Return to advanced search