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

Windowed Mode and Events


Windowed Mode and Events

Postby mlepage » Sep 29, 2003 @ 9:11pm

www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby ppcStudios » Sep 29, 2003 @ 11:03pm

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


Postby mlepage » Sep 29, 2003 @ 11:40pm

True. But it still leaves problems.

On the PC build I have a fancy toolbar that works just like in Visual Studio 6. When you move the mouse over the buttons, they pop out with a rollover effect. This is without pressing the mouse button.

So, if I move outside the toolbar, they all go back to normal. But if I move off the toolbar outside the window, that button retains its rollover effect which is unaesthetic. Normally I would just handle this on window exit, but I'm unsure where to do that in GapiDraw.

I suppose a brutish hack would be to try to detect a mouse leaving the window. But you can always move the mouse really quickly and defeat that attempt.

When I move the mouse back in the window, not on the toolbar, the rollover effect disappears because I'm not on the toolbar.

But let's say instead of a toolbar rollover effect, I was instead dragging something. Normally I would stop draggin on mouse up, but in this case I have left the window without a mouse up event.

Now, I could let go of the mouse button and reenter the window at any place. My app still thinks it is dragging the object, but now there is a dire consequence. The object I was dragging will snap to whatever position I reentered the window, which is startling and not intended.

Are these little problems we just have to live with when using GapiDraw on the PC in windowed mode? I know they sound like insignificant details, but these little things always bother me. That's why I gave the Tower Mogul folks such a hard time on doing button actions on mouse down when they should be on mouse up. :-)
www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby ppcStudios » Sep 30, 2003 @ 12:50am

How about simply checking the stylus location to see if it is out of bounds of your window size?
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


Postby mlepage » Sep 30, 2003 @ 3:19am

www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby Johan » Sep 30, 2003 @ 7:42am

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 » Sep 30, 2003 @ 11:20am

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


Postby mlepage » Sep 30, 2003 @ 6:09pm

www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby maurice » Sep 30, 2003 @ 10:26pm

maurice
pm Member
 
Posts: 37
Joined: Feb 26, 2003 @ 9:08pm
Location: Rotterdam


Postby InexorableTash » Oct 1, 2003 @ 6:34am

User avatar
InexorableTash
pm Member
 
Posts: 99
Joined: Sep 13, 2002 @ 6:14am


Postby Johan » Oct 1, 2003 @ 7:30am

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 maurice » Oct 1, 2003 @ 7:53am

maurice
pm Member
 
Posts: 37
Joined: Feb 26, 2003 @ 9:08pm
Location: Rotterdam


Postby InexorableTash » Oct 1, 2003 @ 3:59pm

User avatar
InexorableTash
pm Member
 
Posts: 99
Joined: Sep 13, 2002 @ 6:14am


Postby Johan » Oct 1, 2003 @ 4:07pm

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 mlepage » Oct 1, 2003 @ 9:13pm

www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Next

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

cron