Re: AutoStart Apps

2004-09-22 Thread Neil Whitworth
Look at SysNotifyRegister function and the sysNotifyEarlyWakeupEvent and sysNotifyLateWakeupEvent Notifictions. Eka Gauranga Das wrote: sysAppLaunchCmdSystemReset tells about resets, what about On and Off? tnx in advance On Tue, 21 Sep 2004 10:32:54 +0100, Neil Whitworth [EMAIL PROTECTED] wrote:

Re: Does par tool work with Palm OS 6.1?

2004-09-22 Thread Jonatan Fernstad
Hi Jerry, Not sure I can answer your question, but I am sure that I would like to know which Palm OS 6.1 device you are working with? :) Jonatan Gerald McCobb [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I created a file stream database on the PC using the par tool: par c -a

Focus handling

2004-09-22 Thread Alexey Tikhvinsky
I have write a RichEdit control for Palm and I encountered a problem with focus handling with system fields/tables FrmGetFocus() may return index of the non-focused object if no focused controls at form :( Is there way to determine a focused attribute is set in control or form have no focused

Re: Does par tool work with Palm OS 6.1?

2004-09-22 Thread Gerald McCobb
I'm sorry I meant Cobalt -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How do you test to see if the Phone Application is in use on a Treo 600?

2004-09-22 Thread Jeff Gibson
Thank you for your reply! I'll try it later today. BTW: Do you know where there is better documentation for the Treo API's than the Developer Reference Guide: palmOne Treo 600 version 1? It has almost no explanation for many of the API calls and also does not include many of the API calls

images with depth 16

2004-09-22 Thread Marilia Mendes
please, somebody could give an example or something that can help me on as to place 16 bits in one bitmap? because I only know to place 256 colors, using pallete of colors, but with depht=16 does not use WinPallete. How I make? Thanks

how to sampling pen position?

2004-09-22 Thread tung wan
how to sampling pen position using some sampling frequency(e.g.50Hz)? thx a lot! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

log system calls

2004-09-22 Thread matt apt
Has anyone seen an application for 4.x or 5.x that will log all of the OS system calls that are made? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

pick up only needed functions from a static library

2004-09-22 Thread Pierre Brial
Hi all, I build a static library of input/output functions with PRC-tools. I wish that programs which link to this library pick up only the functions they need, so the prc file remains as small as possible. The tests I've done show that the whole library is linked. I looked into PRC-tools

Re: images with depth 16

2004-09-22 Thread Marilia Mendes
Hi my code: UInt32 r, g, b; UInt16 rgb565; UInt8 *srcBitsP; RGBColorType* teste; PalmBitmapType* srcBitmapP; MemHandle hRsc = DmGetResource(bitmapRsc,ImgIndexFigure);// BitmapType* bitmapP = (BitmapType*) MemHandleLock(hRsc); UInt32 x=16; //x coordinate of pixel UInt32

Re: images with depth 16

2004-09-22 Thread Jan Slodicka
Hello, 16 bit bitmaps do not use palette, but the color values. The code bellow converts 24 bit RGB (i.e. the array r,g,b,r,g,b,r,g,b,r,g,b,...) to 16 bit. It is an inplace conversion, therefore the complications at the beginning. With best regards, Jan Slodicka static void Convert24To16(

Placing Events in the Queue from Interrupt Handler

2004-09-22 Thread Lou Adornato
I have an application that needs to create keystrokes and character events from an interrupt handler. It's a test application and the intent is to send simulated user inputs into the serial port from a desktop computer that's managing the test. The problem I'm having is that the keystrokes don't

Re: pick up only needed functions from a static library

2004-09-22 Thread Ben Combee
At 01:35 PM 9/22/2004, you wrote: Hi all, I build a static library of input/output functions with PRC-tools. I wish that programs which link to this library pick up only the functions they need, so the prc file remains as small as possible. The tests I've done show that the whole library is

Table + ScrollBar

2004-09-22 Thread Darkseid
How Can I assign a ScrollBar to a Table?! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: log system calls

2004-09-22 Thread Keith Rollin
Palm OS Emulator has an option to do this. -- Keith Rollin -- Palm Developer Tools engineer On Sep 22, 2004, at 11:38 AM, matt apt wrote: Has anyone seen an application for 4.x or 5.x that will log all of the OS system calls that are made? -- For information on using the Palm Developer Forums,

Re: pick up only needed functions from a static library

2004-09-22 Thread Keith Rollin
On Sep 22, 2004, at 2:07 PM, Ben Combee wrote: At 01:35 PM 9/22/2004, you wrote: Hi all, I build a static library of input/output functions with PRC-tools. I wish that programs which link to this library pick up only the functions they need, so the prc file remains as small as possible. The tests

Problems with Tables

2004-09-22 Thread Darkseid
When I use these functions: TblSetItemType(table, i, 0, label TblSetItemPtr(table, i, 0, text); to show some text in a Table, the text appears with a : in the final. And I would want to left align the text. How can I solve this?! -- For information on using the Palm Developer Forums, or to

Re: Problems with Tables

2004-09-22 Thread Ben Combee
At 04:46 PM 9/22/2004, you wrote: When I use these functions: TblSetItemType(table, i, 0, label TblSetItemPtr(table, i, 0, text); to show some text in a Table, the text appears with a : in the final. And I would want to left align the text. How can I solve this?! Use a custom table cell type.

RCP files instead of RSRC files

2004-09-22 Thread Acrocat
I have a project I am converting over to CW 9.3. I am used to using RSRC files for my projects, but this one is using RCP files (which actually looks like it's much easier to make changes, etc.) If I covert my projects to RCP files, are there settings that I need to change in the Target

Re: How do you test to see if the Phone Application is in use on a Treo 600?

2004-09-22 Thread Jeff Gibson
Just tried it and it does not appear to work for me. First I am using a CDMA phone from Sprint. Do you know if this this a GSM only API call? Here is what I tried: { UInt16 refnum; UInt32 phnFlag; HsGetPhoneLibrary(refnum); err = PhnLibGetPhoneCallStatus(refnum, phnFlag); } Return

how to handle deleted category

2004-09-22 Thread Benoit Cerrina
Hi, I need to know if a category at a given index was deleted (my application is using the Category select dialog and is allowing the user to edit categories). Am I correct to think that the existence of a category can be determined by the value of the first character of the category label in the

Re: pick up only needed functions from a static library

2004-09-22 Thread LionScribe
How about CodeWarrior, does that also have the same problem LionScribe Keith Rollin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sep 22, 2004, at 2:07 PM, Ben Combee wrote: At 01:35 PM 9/22/2004, you wrote: Hi all, I build a static library of input/output functions with

Re: RCP files instead of RSRC files

2004-09-22 Thread Alan Ingleby
You should read Ben Combee's instructions at : http://www.palmoswerks.com/stories/storyReader$140 Alan On Wed, 22 Sep 2004 18:18:08 -0400, Acrocat [EMAIL PROTECTED] wrote: I have a project I am converting over to CW 9.3. I am used to using RSRC files for my projects, but this one is using

Re: pick up only needed functions from a static library

2004-09-22 Thread Ben Combee
At 07:36 PM 9/22/2004, you wrote: How about CodeWarrior, does that also have the same problem No. CodeWarrior's compile always generates functions in separate sections, and the linker will always remove code that isn't referenced. -- Ben Combee, Technical Lead, Developer Services, PalmSource,

Re: pick up only needed functions from a static library

2004-09-22 Thread Pierre Brial
Thanks, Ben, for these informations. Pierre Brial Ben Combee a écrit: At 01:35 PM 9/22/2004, you wrote: Hi all, I build a static library of input/output functions with PRC-tools. I wish that programs which link to this library pick up only the functions they need, so the prc file remains

Dynamically changing menu text

2004-09-22 Thread Alexander Galkin
How can I change dynamically at runtime menu text or construct menu and assign it to a form? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: RCP files instead of RSRC files

2004-09-22 Thread epross
Thanks Alan - I forgot about those articles... This is perfect. Edward Alan Ingleby wrote: You should read Ben Combee's instructions at : http://www.palmoswerks.com/stories/storyReader$140 Alan On Wed, 22 Sep 2004 18:18:08 -0400, Acrocat [EMAIL PROTECTED] wrote: -- For information on using

Re: how to handle deleted category

2004-09-22 Thread Benoit Cerrina
This doesn't work as this test only tests if the index is valid, not if the category was deleted. If the category was deleted and another one created, the same index can be reused. Can anybody help? Benoit Benoit Cerrina [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi,