Search found 84 matches: postmsg

Return to advanced search

... oDlgBus:End()) FUNCTION Teclado(oDlg,nKey,nVeces) LOCAL nVez DEFAULT nVeces := 1 oDlg:SETFOCUS() FOR nVez := 1 TO nVeces oDlg:POSTMSG(WM_KEYDOWN,nKey,0) NEXT RETURN (NIL) Ojalá te sirva Saludos, Armando
by Armando
Thu Oct 26, 2006 1:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Escape en PostMsg
Replies: 3
Views: 918

Escape en PostMsg

... otra funcion y se abre un dialogo con botones, si en este dialogo presionan un boton, hago un proceso cierro mi dialogo secundario y mando un oGet:postmsg(256,27,0) que se supone esta en el primer get de mi dialogo principal y mando una supuesta pulsacion de la tecla "ESCAPE", ok. Pues no funciona ...
by Francisco Horta
Thu Oct 26, 2006 5:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Escape en PostMsg
Replies: 3
Views: 918

Enrico, > oGet:bGotFocus := { || oGet:PostMsg( WM_KEYDOWN, VK_HOME ) } I already tried that. First it only has an effect when tabbing or shift-tabbing into the Get. What it does is select the text from position 1 to the current postion without ...
by Enrico Maria Giordano
Sat Jul 08, 2006 8:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oGet:bGotFocus Problem
Replies: 13
Views: 3595

Enrico,

>oGet:bGotFocus := { || oGet:PostMsg( EM_SETSEL, Len( RTrim( cName ) ), 0 ) }

This one selects all the text from 1 to the current cursor position. Still not what I need.

James
by James Bott
Sat Jul 08, 2006 7:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oGet:bGotFocus Problem
Replies: 13
Views: 3595

Enrico, > oGet:bGotFocus := { || oGet:PostMsg( WM_KEYDOWN, VK_HOME ) } I already tried that. First it only has an effect when tabbing or shift-tabbing into the Get. What it does is select the text from position 1 to the current postion without ...
by James Bott
Sat Jul 08, 2006 7:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oGet:bGotFocus Problem
Replies: 13
Views: 3595

... has worked and the __Keyboard(VK_TAB) has performed an illegal operation! >FUNCTION FwKeyboard( oWnd, nKey ) >oWnd:SetFocus() >oWnd:PostMsg( WM_KEYDOWN, nKey, 0) >RETURN NIL Regards - Ramesh Babu P
by RAMESHBABU
Wed Mar 08, 2006 3:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: What is the suitable function to Clipper's KEYBOARD()
Replies: 3
Views: 889

Here is how you can simulate Clipper's keyboard() function:

FUNCTION FwKeyboard( oWnd, nKey )

oWnd:SetFocus()
oWnd:PostMsg( WM_KEYDOWN, nKey, 0)

RETURN NIL
by James Bott
Tue Mar 07, 2006 6:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: What is the suitable function to Clipper's KEYBOARD()
Replies: 3
Views: 889

Thank for answer but don't works. With "POSTMSG(WM_SETFOCUS)" it makes something strange, because I see the cursor in the get but the "real" focus is in some other control.

Regards
Gianni
by Gianni
Fri Feb 24, 2006 11:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetFocus problem
Replies: 18
Views: 5236

In a TGet, make the cursor jump one position to thr right

Hi everybody

In a TGet(), how can I make the cursor step one position to the right. I have tried oGet:PostMsg( WM_KEYDOWN, VK_RIGHT, 0 ) but it does not seem to work
Any suggestion? Thanks

Rafael
by Rafael Clemente
Tue Oct 11, 2005 3:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: In a TGet, make the cursor jump one position to thr right
Replies: 7
Views: 1866
Previous

Return to advanced search