how to make pretty button in pocket pc??

Posted:
Feb 22, 2004 @ 11:15am
by leolau
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!

Posted:
Feb 22, 2004 @ 10:14pm
by Dan East
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