you can use following code to check which button is pressed: UInt16 id = eventP->data.ctlEnter.controlID; if(id== Btn0)..... else if(id==Btn1)... //Btn0, Btn1, ... are button IDs.
Eric *********** REPLY SEPARATOR *********** On 08/04/2004 at 3:52 PM Jefferson Samuel wrote: >I tried using Graphic Buttons to show keyboard characters. >Now I have problems Capitalizing the characters b'coz they are all bitmaps. >Should I create one more set of Capital letter bitmap to do this. > >Please help > >Jeffy > >"Jefferson Samuel" <[EMAIL PROTECTED]> wrote in message news:... >> Hello all, >> >> I want to create a custom keyboard (with numeric & character buttons) in >the >> top of my form. >> Relevant values displayed in controls, and when they are pressed my event >> handler will append the value to the current text in the focused field. >> >> Question: >> 1. I am not able to create squared graphic buttons. I want the controls >to >> be very similar to those in the palm system keyboard. What is the UI >object >> used in system keyboard? are they Gadgets?? >> >> 2. How to create a graphic button with squared edges? >> I created a graphic button of Width - 18 & Height - 18 >> Bitmap Resource - Width - 16 & Height - 16 >> Frame property - selected. >> Non-bold Frame - not selected. >> >> I see the graphic button with round edges.. it doesn't look like >a >> square button. >> >> Please help. >> >> Jeffy >> >> >> >> >> > > > >-- >For information on using the Palm Developer Forums, or to unsubscribe, please see >http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
