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

Help me!


Help me!

Postby KaiserG » May 26, 2003 @ 8:16am

Hi!all
I.
When I build an application with the CGapiApplication,I find I can only capture the input messages in KeyDown(),StylusDown()...,and recognize the position stylus down(up) with PtInRect().then process these messages in ProcessNextFrame(),so I define a lot of variables in type of BOOL.Through these variables,I determinate which surface will be Blt to the backbuffer in ProcessNextFrame().More trouble with more BOOL variables in my code.I try to find better ways to improve my code!help me!

II.
On my application's start screen,I set three buttons(bitmap in a rect)on it,and to blink these buttons with FillRect() when the stylus touch on them,but the program runs to the next frame so fast that I can not see the blink,anyone has the better ways:after the stylus touch,the program delay in a second time,so the blink shows clearly,then into the next frame.help me!
KaiserG
pm Member
 
Posts: 2
Joined: Apr 2, 2003 @ 7:43pm


Postby ppcStudios » May 26, 2003 @ 2:15pm

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