FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Activex 'Shell.Explorer' control keyboard..???
Posts: 109
Joined: Sun Nov 13, 2005 12:40 AM
Activex 'Shell.Explorer' control keyboard..???
Posted: Sun Feb 21, 2010 09:50 AM
Hi All.

Does the keyboard direction height do to be how control.
Code (fw): Select all Collapse
DEFINE DIALOG oWnd_h FROM 0, 0 TO 768, 1024 PIXEL COLOR CLR_BLUE, CLR_BLUE STYLE nOr( WS_POPUP, WS_VISIBLE ) TITLE "KeyBoard CTRL"

       html_h := "http://test/index.php"
       @ 0, 0 ACTIVEX oActiveX_h PROGID "Shell.Explorer" OF oWnd_h SIZE 512, 384

ACTIVATE DIALOG oWnd_h ON INIT ( oActiveX_h:Do( "Navigate", html_h ) ) //;
                                         //VALID iif ( GetKeyState( 27 ), .f., .t. )


Question ->

Keyboard control method ?
How control Key Arrow. right key, left key, up, down key, enter key .......?
FWH User

FWPPC User

FWLinux User
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Activex 'Shell.Explorer' control keyboard..???
Posted: Tue Feb 23, 2010 08:00 AM

You have to use the own events of the ActiveX.

Please review FWH\samples\webexp.prg to see the way to manage the activex events

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion