This site is no longer active and is available for archival purposes only. Registration and login is disabled.

MFC and GapiDraw


MFC and GapiDraw

Postby norwy » Oct 12, 2004 @ 2:48pm

Hi guys,


I'd like to run a GapiDraw program after choosing a file with a CFileDialog Dialog Box.

It means that the GapiDraw program is lauched by a main program or something like that?
How can I do this? by changing the CGapiApplication.cpp file?
norwy
pm Member
 
Posts: 39
Joined: Aug 13, 2004 @ 4:10pm
Location: Paris


Postby Johan » Oct 12, 2004 @ 3:02pm

You cannot use MFC and CGapiApplication together... Look at the MFC sample for tips... It definitely is possible to do what you suggest. My advice is to avoid MFC if you can...
Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Guest » Oct 15, 2004 @ 7:11am

Guest
 


Postby Johan » Oct 15, 2004 @ 10:14am

If you want to develop simple GUI-based applications, MFC is a good choice. But since you want to use GapiDraw I assume that you do not want those type of applications.

If you want to use MFC for it's class library (such as strings, set, list, maps, etc), a much better choice is STL (the standard template library) which is faster and more memory-efficient. And cross-platform.
Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Guest » Oct 15, 2004 @ 10:58am

Hi Johan

Thanks for your reply. My main motivation for wanting to use MFC is to allow text input into the application by making use of the keyboard and letter recognizer. I can't see an easy way of using these with GapiDraw. For the rest of the application I would like to use GapiDraw, but users should be allowed to edit their setting at any time. So the app must be able to switch between editmode and gapidraw mode.

What would you do? I would like to be able to just use GapiDraw as I will be able to run the App on a number of different platforms. How else could I achieve this?

thanks
Guest
 


Postby Johan » Oct 15, 2004 @ 11:29am

For keyboard input, simply show a keyboard bitmap and catch the positions of the stylus clicks. You should be able to have a keyboard input done in an hour or so at most. And you don't need to use MFC for this.
Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby ppcStudios » Oct 15, 2004 @ 12:53pm

I agree with Johan. An animated SIP isn't very difficult to implement (see Warlords II for an example of this), and a static SIP is available via jojosip (jojosoft.gapidraw.com).
G.R. Moore
President/CEO
Pocket PC Studios
www.ppcstudios.com

Image
User avatar
ppcStudios
pm Insider
 
Posts: 744
Joined: Aug 23, 2002 @ 3:53pm
Location: Canfield, Ohio


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum