Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #1669

Shared to all: On Screen Keyboard

From "Darmadi" <support@gfsoftindo.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Shared to all: On Screen Keyboard
Date 2011-07-14 11:43 +0700
Organization Aioe.org NNTP Server
Message-ID <ivls61$qhd$1@speranza.aioe.org> (permalink)

Show all headers | View raw


Hi to all,

I have search google the code for On Screen Keyboard, but nothing seem like 
the one from Windows On Screen Keyboard (I mean Win7)
They are using SetActiveWindow(), so the current window/control will be lost 
focus temporaly and then they set back the active window.

Just share to all:

METHOD Dispatch(oEvent) CLASS NewWindow1
    IF oEvent:Message == WM_MOUSEACTIVATE
        SELF:EventReturnValue := MA_NOACTIVATE
        RETURN 1L
    ENDI
    RETURN SUPER:Dispatch(oEvent)

I have done this, then still could trap the event of mouse, but the window 
never activated, but still allowed be moved.

This one would be nice to design another On Screen Keyboard, that will be 
use in a touch screen application.

TIA,
Darmadi 

Back to comp.lang.clipper.visual-objects | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Shared to all: On Screen Keyboard "Darmadi" <support@gfsoftindo.com> - 2011-07-14 11:43 +0700
  Re: Shared to all: On Screen Keyboard "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-07-14 22:18 +0000

csiph-web