PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

user input in GapiDraw

Hi

I am coding an application that connects to a server which renders 3D graphics and passes them to a PDA as a 2D image to be displayed. I'm using gapidraw on the PDA but i need to put in the address of the server.

Can anyone suggest a useful way of making a user interface to type in this kind of information? since i cant use the mfc dialog boxes with gapidraw.

thanks..
nerK
You can use a simple bitmap of a numeric keyboard an draw the image of an input field to the display. Then just define some rectangles and check where the user pressed and adjust a string containing the numbers. Then just draw the string to the input field image. While it may not sound "generic" as using an MFC dialog, you can have it done in a few minutes.
If you are using a fullscreen app, you can also use the jojosip keyboard. It's very simple to implement and should work well for your application.