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

Drawing Text


Drawing Text

Postby Guest » May 9, 2004 @ 10:01am

Guest
 


Postby j.edwards » May 10, 2004 @ 1:26am

User avatar
j.edwards
pm Member
 
Posts: 240
Joined: Oct 29, 2003 @ 11:09am
Location: Australia


Postby fzammetti » May 10, 2004 @ 3:27am

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby BapDude » May 10, 2004 @ 5:37am

BapDude
 


Postby PointOfLight » Jun 9, 2004 @ 5:12pm

Eric Pankoke
Programmer
Point Of Light Software
http://www.polsoftware.com/
PointOfLight
pm Member
 
Posts: 525
Joined: Nov 2, 2003 @ 8:39pm


GAPI and text (PocketFrog?)

Postby dxmonger » Jun 30, 2004 @ 4:13pm

Gurus

I'm hoping that someone here can help me. I have been toying with an app that uses GAPI. I want to have a region of the screen (a rectangle/window) that contains scrolling text. I don't need to use fancy/bitmapped fonts. Standard system text will do fine.

The C++ GAPI code is stable and basically works as-is. I really need something simple and (if possible) an example.

I see there are various packages out there that may answer some of this (GAPIDraw, Pocketfrog, ...) but these may be overkill. I just want a plain ole window with a scrollbar to post text to... Is there a way to do this? Perhaps display a MFC dialog box over the top of the GAPI app (and have everything still update as expected)?

Ideas? Examples?
dxmonger
 


Postby Conan » Jun 30, 2004 @ 4:28pm

It's not quite as simple as you would like however you can use GDI fonts with GAPI applications like PocketFrog (documented by me in my articles).
In the text strings you can use things like /n/r to format text to wrap but most people design their own systems to display help files etc. see
re: GDI fonts.



How you approach this depends on how much text you have and how fast you want it to run.

There's GDI font source here which may help:-
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

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

cron