Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Programming for Pocket PC (PPC) and lack of events.

Status
Not open for further replies.

Sorwen

Technical User
Joined
Nov 30, 2002
Messages
1,641
Location
US
So I'm trying to make a few tools to use on PPC devices. The problem I'm running into it the total lack of simple events for some/most controls. With my limited knowledge there did seem a way to add (for example) an on click event. I hate to cobble together some other controls to get this done. I don't know what kind of problems could arise creating a class that inherits from two totally different control types.

-I hate Microsoft!
-Forever and always forward.
 
No, I didn't know anything about it. Thank you I'll look into it. :)

-I hate Microsoft!
-Forever and always forward.
 
I really meant to type my response in proper English :P
 
It doesn't work for me or I'm not using it right. I have found the click event in some way does exist for a label for example. The other thing is from the way I understood that code and tried to use it the event has to be fired from another event or it does nothing at all the other way I tried to use it.

-I hate Microsoft!
-Forever and always forward.
 
I completed a pocket pc app a couple of months ago.

What control are you trying to use? What exactly are you trying to do? I may be able to help.
 
ThatRickGuy - Yea if worse comes to worse I was thinking of something with a Panel. I'll look at picture though as it might have other events I might like to use later. Thanks for the idea.

zarkon4 - Right now I'm just trying for click on a Label or Text box, but another I know I'll need soon is click and hold (if that isn't some combo of click and something).


I find it hugely strange it tells me the event exists, but it seems it cannot be used.

-I hate Microsoft!
-Forever and always forward.
 
Couldn't you use a button...or use the gotfocus event for a textbox?
 
Possibly a button, but not likely. I'll have to look to be sure though. The problem with gotfocus is that it never gets focus.

-I hate Microsoft!
-Forever and always forward.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top