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


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

Shared to all: On Screen Keyboard

Started by"Darmadi" <support@gfsoftindo.com>
First post2011-07-14 11:43 +0700
Last post2011-07-14 22:18 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  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

#1669 — Shared to all: On Screen Keyboard

From"Darmadi" <support@gfsoftindo.com>
Date2011-07-14 11:43 +0700
SubjectShared to all: On Screen Keyboard
Message-ID<ivls61$qhd$1@speranza.aioe.org>
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 

[toc] | [next] | [standalone]


#1675

From"Geoff Schaller" <geoffx@softwarexobjectives.com.au>
Date2011-07-14 22:18 +0000
Message-ID<4e1f6b4e$0$24350$c30e37c6@exi-reader.telstra.net>
In reply to#1669
Darmadi.

I don't understand what you're trying to achieve here. It is normal for 
a window being touched by the mouse to be activated. Even if it is just 
to move it out of the way.

Geoff



"Darmadi" <support@gfsoftindo.com> wrote in message 
news:ivls61$qhd$1@speranza.aioe.org:

> 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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web