Re: Hooking systraps in OS5

2005-10-15 Thread megabyte48
OK, I figured out how to change the form title for any form, using the following code (please excuse the AWFUL Romanian translation..I don't actually speak it): UInt32 ARMlet_Main(FormType *formP){ pfnFrmDrawForm oldTrap; Char *ourTitle; Char *oldTitle;

Re: How to insert text in field problem

2005-10-15 Thread Del Ventruella
Thank you once again. - Original Message - From: "Logan Shaw" <[EMAIL PROTECTED]> To: "Palm Developer Forum" Sent: Saturday, October 15, 2005 11:41 AM Subject: Re: How to insert text in field problem > Del Ventruella wrote: > > I believe this was probably due to the way that the form wa

Re: Z22 Sim thinks it's a LifeDrive?

2005-10-15 Thread George Henne
On an actual device, the Device ID is D051. HAL is P051. >When I run the line below, the Z22 Release Simulator returns a device id >of 'TunX'. > > error = FtrGet (sysFtrCreator, sysFtrNumOEMDeviceID, &deviceID); > >That id happens to be reserved for the LifeDrive. Is this just a quirk >of the

Re: Hooking systraps in OS5

2005-10-15 Thread megabyte48
Not every title that can exist, but only the ones in the OS (and built-in applications). For example, the "Delete" dialog or the "Info" dialog. I'll look into overlays, though. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/

Re: Hooking systraps in OS5

2005-10-15 Thread Aaron Ardiri
On 10/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > have you looked into overlays? > > > >you'll find that changing the forms and dialogs can be done using >overlays . > > Wouldn't I need the source to an application to be translated in order to > use overlays? Is there something I missed

Re: How to create menu dynamically?

2005-10-15 Thread Michael Yam
[EMAIL PROTECTED] wrote: Hi I want to create menu dynamically, in which i can put some menus depending on conditions. Also i want to chane the caption of one menu frequently. For ex. Current Date. How can i do it? Thanks in advance Regards Amit Ditto, regarding MenuAddItem(). Note that th

Z22 Sim thinks it's a LifeDrive?

2005-10-15 Thread Michael Yam
When I run the line below, the Z22 Release Simulator returns a device id of 'TunX'. error = FtrGet (sysFtrCreator, sysFtrNumOEMDeviceID, &deviceID); That id happens to be reserved for the LifeDrive. Is this just a quirk of the simulator? I noticed some curious lines in the Z22 sim ini file

Re: Hooking systraps in OS5

2005-10-15 Thread megabyte48
> have you looked into overlays? > >you'll find that changing the forms and dialogs can be done using >overlays . Wouldn't I need the source to an application to be translated in order to use overlays? Is there something I missed when I read the docs? I looked into YAHM, and hooked FrmSetTitle.

Re: How to insert text in field problem

2005-10-15 Thread Logan Shaw
Del Ventruella wrote: I believe this was probably due to the way that the form was being loaded, and failure to associate the field object with the form object on which it appears. I was using FrmInitForm() to try to load forms, and apparently there is some problem with this if used from non-mai

Re: Hooking systraps in OS5

2005-10-15 Thread Aaron Ardiri
On 10/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Does anybody know how hook the system traps in OS5? It's possible to some > degree as far as I know, due to the existence of YAHM. yes, its possible - its r9 table patching. but it isn't officially documented and supported by palmsource.

Hooking systraps in OS5

2005-10-15 Thread megabyte48
Does anybody know how hook the system traps in OS5? It's possible to some degree as far as I know, due to the existence of YAHM. I'm trying to create an open-source application similar to PiLoc, and I THINK that if I hook, for example, FrmSetTitle (which I assume is called at some point while a

Re: How to insert text in field problem

2005-10-15 Thread Del Ventruella
Thank you. I put the recommended code in the "about" menu item on the second (non-main) form. It works wonderfully (eliminating the need to create an "about" form handler, which seemed like too much overhead for such a simple form). I had taken your earlier advice with regard to the placement of

Re: How to create menu dynamically?

2005-10-15 Thread Tony Yat-Tung Cheung
Yes, you should also call the MenuAddItem() when handling the menuOpenEvent inside your form's event handler. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: italic fonts?

2005-10-15 Thread Tony Yat-Tung Cheung
All latest Palm devices (such as TX, Treo 650, T5) comes with the VersaMail Font library. The font libraries provide at least two italic fonts. You can check out the details on the Palm Developer Guide from Palm's pluggedin program (http://pluggedin.palm.com). -- For information on using the Pa