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

how to make pretty button in pocket pc??


how to make pretty button in pocket pc??

Postby leolau » Feb 22, 2004 @ 11:15am

I'm doing a player in pocket pc. I only know how to make the default button, but I want to make it pretty. So, can anyone teach me how to make a pretty button? Thanks!
leolau
pm Member
 
Posts: 6
Joined: Dec 29, 2003 @ 11:12am


Postby Dan East » Feb 22, 2004 @ 10:14pm

Woa, that's a broad question. Are you wanting to do this within the standard Windows GUI? If so then you want an owner-drawn button.

If this is something you want to implement within a game that takes over the display, then each button is just a bitmap you blit. You keep track of regions for each button, and check to see if a mouse event falls within a button. You can then blit a secondary bitmap if you want a different image for various button states, etc.

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

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