Re: Battery status view

2006-09-01 Thread Durgesh Trivedi
i m working with simple palm application in that i have to create my own icon Is it? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Battery status

2006-09-01 Thread Durgesh Trivedi
I want to show the batter status by the help of status bar at the top of my application wat should i do I found an api but it only give the information but not give the status bar icon. help me please. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see ht

Re: Urgent help regarding Chunk under-locked Error

2006-09-01 Thread BatisMal
Hi,   If you comment out that last unlock, and does not crash, that is your one too many unlocks, that is the only way an exception can occur...   In a message dated 9/1/2006 2:11:47 P.M. Pacific Daylight Time, [EMAIL PROTECTED] writes: Hi Manish,It's hard to think without a code to look

Re: Urgent help regarding Chunk under-locked Error

2006-09-01 Thread BatisMal
Manish,   The Underlock issue arrises only if you unlock your variables more than you lock them, go through your code very carefully and make sure that every time you lock a variable that you unlock it also, and that you do not unlock too many times.   In a message dated 9/1/2006 2:11:47 P.M

Re: Urgent help regarding Chunk under-locked Error

2006-09-01 Thread Ricardo Cordeiro
Hi Manish, It's hard to think without a code to look at. Could you post the parts of your code that call MemHandleLock and MemHandleUnlock? Thanks, Ricardo On 8/31/06, Manish <[EMAIL PROTECTED]> wrote: Hi Friends, In my application, I found a crash mentioning that "MemoryMgr.c, Line:4738,

Re: Problem: Adding Calendar items with Alarms

2006-09-01 Thread P. Douglas Reeder, aka Skapti
Ambrose Krapacs wrote: Our application works with the Calendar database directly adding, updating, and deleting items. One possible approach is to add the items using the Exchange Manager, and possibly the PDI library as well. The vCalendar standard allows you to set alarms; the following i

Treo 650 crashing Phone Application

2006-09-01 Thread amilton_sp
I have a Treo 650 with Palm OS 5 and I developed an application in C that is registered on Phone Application and capture the caller phone number .On update event I open a Form. So far so good, but when I close the application the palm has been crashed.. Anybody have an idea how to fix that? Or why

NVFS flash dump

2006-09-01 Thread krishna prasad
As palm OS 5 uses NVFS for storing in flash, I read in various articles that whenever a sector has to be written in flash it has to be erased first . Due to this NVFS has taken approach to mark sector for delete and write data into another sector, I am curious on when the marked sectors get era

Re: OT: Need WM5 equivalent to WinSaveBits

2006-09-01 Thread Richard Coutts
I'm porting my app to WM5 and am having trouble finding the equivalent to WinSaveBits and WinRestoreBits so that I can save a rectangular area of the screen and then restore it. If someone could enlighten me, it would be much appreciated. BitBlt() - create an offscreen window, get a drawing co

Re: Problem: Adding Calendar items with Alarms

2006-09-01 Thread Robert Moynihan
Ambrose Krapacs wrote: I know there are certain system events that trigger the Calendar to recalculate the alarms (like hotsync and soft reset) but we obviously do not want to do this every time we add a calendar item with an alarm. You don't actually have to "do" a reset. I think you coul

Problem: Adding Calendar items with Alarms

2006-09-01 Thread Ambrose Krapacs
Our application works with the Calendar database directly adding, updating, and deleting items. We have found a problem that we have not been able to find a solution for. The problem is when a Calendar item is added that contains an alarm that SHOULD be the next Calendar alarm to be displayed.

Re: Errtry and ErrCatch

2006-09-01 Thread Gary
That's my understanding as well. You will never ErrCatch anything, unless you ErrThrow it yourself. Jerome Chapdelaine wrote: As far as I know, no function in Palm SDK will ever throw exceptions... all errors are signaled by special return values. After that, feel free to throw / catch excep

Re: Errtry and ErrCatch

2006-09-01 Thread Jerome Chapdelaine
As far as I know, no function in Palm SDK will ever throw exceptions... all errors are signaled by special return values. After that, feel free to throw / catch exceptions based on those return values. Jerome Bharathi Kumaraswamy wrote: But when can I use ErrTry and ErrCatch statements? Can I

Re: Battery status view

2006-09-01 Thread Neil Whitworth
Durgesh Trivedi wrote: iwant to show the battery status in my application by the icon of the battey how i do this? On a Treo (600/650/700p) you can use this:- Put a gadget on your form (10x12 for battery, 16x12 for signal indicator) and call HsStatusSetGadgetType HsStatusSetGadgetT

Battery status view

2006-09-01 Thread Durgesh Trivedi
iwant to show the battery status in my application by the icon of the battey how i do this? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: question about targets in codewarrior

2006-09-01 Thread Regis St-Gelais
"Riekey" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] >I am using codewarrior. I want to build several targets in my project for >different palm devices and make something different for each of the >devices. How can I, in my code, make the compiler to compile only the c

A general question about graffiti input

2006-09-01 Thread Sinisa Marovic (AC/EDD)
Hi, I have a device with keyboard and don't know how graffiti input is handled. My question is: is there anything special I need to do to implement this or it is automatically handled by OS? Does it generate keyDownEvent and/or pen events? Do I have to call SysHandleEvent for them to be process

Re: globals & #defines

2006-09-01 Thread Neil Whitworth
Thats true, but it depends on what the #define is for.. simple data types (Ints, longs chars etc) are o.k. #define SomeInt (0) void f ( ) { int i = SomeInt; } Will work, the compiler can make code that does not access globals #define SomeString "This is a string" void f ( ) {

question about targets in codewarrior

2006-09-01 Thread Riekey
I am using codewarrior. I want to build several targets in my project for different palm devices and make something different for each of the devices. How can I, in my code, make the compiler to compile only the code for the current target. I hope I made my question understandable. Thanks --

event for outgoing SMS

2006-09-01 Thread V. Sriram
hi, i am writing an application for Treo650. i need to get the sender (recipient) number through my app from the outgoing SMS(SMS being composed in "Messaging"). in HsPhoneEvent.h, only phnEvtMessageStat event is relevant to outgoing SMS. but this event is NOT broadcast to all. it is sent only t

Dynamictime

2006-09-01 Thread Durgesh Trivedi
i m displaing time and date in my application by geting system time and date in a sting and draw that string in the textfiled or lable but it will not show changes dynamically with the system date and time . Bcz by coping the date and time in text field or lable it become static and refresh onl