Perparing for W8 tablets

This forum is for eXpress++ general support.
Post Reply
Message
Author
c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Perparing for W8 tablets

#1 Post by c-tec »

Hello Roger,
I have to prepare my software for using on Windows8 tablets. I think this is no big problem with eXPress++, but I need some help.
1. When the tablet changes orientation, the dialog should be automatically adjustest. Would it be a solution always to define two dialogs, hide the not fitting one, and change them on demand ?
2. Drawing functionality is a major part of tablet computing. I need to capture drawings and signatures with a stylus on the board. So I have to capture points on a static and draw lines or splines on signatures, this needs a special logic. I think I can also get the pressure of the pen from Windows.
Would be great to get support for this things in eXPress++ to make it fit for the future
regards
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Perparing for W8 tablets

#2 Post by rdonnay »

1. When the tablet changes orientation, the dialog should be automatically adjustest. Would it be a solution always to define two dialogs, hide the not fitting one, and change them on demand ?
This is not necessary. It is a better idea to use the eXpress++ automatic resizing system.
Look at the samples in \exp19\samples\resize.
2. Drawing functionality is a major part of tablet computing. I need to capture drawings and signatures with a stylus on the board. So I have to capture points on a static and draw lines or splines on signatures, this needs a special logic. I think I can also get the pressure of the pen from Windows.
Would be great to get support for this things in eXPress++ to make it fit for the future
regards
I am not sure what would be required for this but I doubt that it would require any changes to eXpress++ or Xbase++.
The eXpress train is coming - and it has more cars.

c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Re: Perparing for W8 tablets

#3 Post by c-tec »

Hello Roger,
for resizing I thougt that it is faster switching between two dialogs, but will try the resize example and test it.
For the drawing it would be nice to have for example a @ x,y DC_DRAWAREA ... or so. The value should be a array with strokes. So for example the signature can drawn again when displaying the dialog. It seems that Alaska supports the "InkRecognition" with the Tablet PC SDK


regards
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Perparing for W8 tablets

#4 Post by rdonnay »

I'm still not sure where to go with this.
Does the pad software save the signatures as meta-files or some other format?
The eXpress train is coming - and it has more cars.

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Perparing for W8 tablets

#5 Post by Auge_Ohr »

rdonnay wrote:I'm still not sure where to go with this.
Does the pad software save the signatures as meta-files or some other format?
we talk about this Sample
// Tablet PC Ink Sample
//
// Copyright:
// Alaska Software, (c) 2009. All rights reserved.
//
// Contents:
// This example is based on the "InkRecognition" sample that
// ships with the Tablet PC SDK.
//
// Note: This sample also shows how to use XbasePART names
// to access parts which are childs of a dialog without
// having declared a class. Only the dialog is referencing
// the child parts in its child list. A child part is queried
// using the :childFromName() method. (See XbpPartHandler)
so it is Object

Code: Select all

PROCEDURE InitInk()

    // Create the recognizers collection
    myRecognizers := CreateObject( "msinkaut.InkRecognizers" )

    // Create a new ink collector that uses the Frame's window
    myInkCollector      := CreateObject( "msinkaut.InkCollector" )
    myInkCollector:hWnd := SetAppWindow():ChildFromName(ID_STAFRAME):GetHWND()

    // Turn the ink collector on
    myInkCollector:Enabled = .T.

RETURN
greetings by OHR
Jimmy

c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Re: Perparing for W8 tablets

#6 Post by c-tec »

Hello,
here you can find more information:http://msdn.microsoft.com/en-us/library ... 85%29.aspx
Even Windows7 is prepared for this, a customer has tested it, seems to work very good. Actually I work with the Anoto digital pen & paper system, here I get strokes (vector data with pressure and timestamp for each point) and the data from the text recognition. I think the MS implementation will work similar.
regards
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Re: Perparing for W8 tablets

#7 Post by c-tec »

Hello,
Alaska sent me the sample that uses msinkaut.InkRecognizers and msinkaut.InkCollector, this I will try to integrate in a eXPress++ dialog.
regards
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

Post Reply