Re: popup trigger with drawings

2005-03-25 Thread Yuen Kwee
yup! you are right! it dissapears right after i tap on the popup trigger again... even with the list showing, the icon is not there. if i don't choose anything i list closes and the icon is permenatly missing To unsubscribe send an email to [EMAIL PROTECTED] -- For information on using the

Re: popup trigger with drawings

2005-03-25 Thread Robert Moynihan
Yuen Kwee wrote: yup! you are right! it dissapears right after i tap on the popup trigger again... even with the list showing, the icon is not there. if i don't choose anything i list closes and the icon is permenatly missing To unsubscribe send an email to [EMAIL PROTECTED] I'm trying to

Re: popup trigger with drawings

2005-03-25 Thread Logan Shaw
Yuen Kwee wrote: i have success fully add bitmaps to my list. the problem now is that, the popup trigger does not have the bitmap. from my understanding, popup triggers can only accept strings right? I think the easiest way to handle this is to just forget about real popup triggers and draw your

Re: App writing to globals

2005-03-25 Thread Miro Pomsar
Which emulator are you using? Does the emulator reset without the warning? Do you have any other application installed on the emulator. (Using a saved session?) The sony emulator often cause this warning (among others) while booting. Regards, Miro Pomsar - Original Message - From:

Re: popup trigger with drawings

2005-03-25 Thread Yuen Kwee
i think i know what the problem was. when i handled the popSelectEvent i entered the OnSelIcon() function. in this function i have m_trgIcon.SetLabel(__ many spaces not displayed in htlm __); which sets the label longer. i thought i wanted it longer so that when i press on the icon i can pop

re: stl-vector alternative

2005-03-25 Thread Sebastian Noack
Thanks for your reply. Now, I will use linked lists. Do you now if there is a struct and some functions for linked list? Or must I code it self? Best regards Sebastian To unsubscribe send an email to [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: PODS 1.1 debugging

2005-03-25 Thread bioinfonews
Hi again, gladly I said I was a newbie. The problem was not with XP, but with some strange error in my code for drawing a table. Why that should make the debugger ignore several routines is a mystery, but anyway it works now. Sorry for the inconvenience, Anne-Marie To unsubscribe send an

Re: stl-vector alternative

2005-03-25 Thread Logan Shaw
Sebastian Noack wrote: Thanks for your reply. Now, I will use linked lists. Do you now if there is a struct and some functions for linked list? Or must I code it self? Linked lists can be useful a lot of the time. But still, I think an array is better if you know in advance (before you start

Table, first row scrambled

2005-03-25 Thread bioinfonews
Hi, I've managed to populate a table, with two columns custom style, using a custom drawing function, and working scrollbars. The slight problem that remains is that the first time the table is drawn, the first row is scrambled while all subsequent rows are drawn correctly. More specifically,

RE: Device Debugging: Connection Attempt Failed Error:

2005-03-25 Thread Prabakar MP
Thanks Ben, Downloaded DotDotTwo program and able to Debug now. - Martin. -Original Message- From: Ben Combee [mailto:[EMAIL PROTECTED] Sent: Friday, March 25, 2005 12:49 PM To: Palm Developer Forum Subject: Re: Device Debugging: Connection Attempt Failed Error: At 01:00 AM 3/25/2005,

Preferred tools for layout design?

2005-03-25 Thread Jens Ratsey-Woodroffe
[This is a repost of yesterday's post with a better subject line] I'm new to Palm development and am using Codewarrior 9.0 for Palm OS. On a 21 monitor at 1600x1200, the layout window is far too small to be of any use when positioning controls. Is there any way to 'zoom' the window, or would

RE: Device Debugging: Connection Attempt Failed Error:

2005-03-25 Thread Jens Ratsey-Woodroffe
I'm trying the same but with no luck. I have DotDotTwo installed and running - it says Status: in console mode I have the USBPort.dll in My Documents \ Palm OS Desktop In Codewarrior, I select 'Debug', it tells me to put the device into console mode, but then gives me the same error:

Bug Report of Treo 650: Turning off Wireless Mode does not disconnect socket connection

2005-03-25 Thread Tony Yat-Tung Cheung
When there is a TCP/IP connection, I've found that turning off the wireless mode on the Treo does not disconect the socket. All socket operations, such as send(), receive() and select(), continue to run without any error. Is it a bug of Treo 650? Is there any workaround? Thank you. To

No form event handler error at notification

2005-03-25 Thread Tam Hanna
Hi you all, I have a program that responds to the sysExternalConnectorAttachEvent notification by popping up a form with an own event handler. The form pops up just fine with the following code: LocalID idx;UInt16 cardno; FormPtr myform; SysCurAppDatabase(cardno,idx);

Problem setting event handler

2005-03-25 Thread JSY
Hi. I got 3 forms in my application and i keep getting an error message that says the below about one of my forms. The other two forms are ok. Why is this? Please help. What is wrong? Error : undefined identifier 'WelcomeFormHandleEvent' Restaurant.cpp line 240 FrmSetEventHandler(frmP,

Re: popup trigger with drawings

2005-03-25 Thread Dave Johnson
You can just make the popup trigger a graphical control, and use CtlSetGraphics to change the bitmap. It works very well for me... A question for the experts: is there some reason NOT to do it this way? (Aside, of course, for requiring a version of the PalmOS that supports graphical controls).

RE: Device Debugging: Connection Attempt Failed Error:

2005-03-25 Thread Prabakar MP
Hi, I think u need to explain what version of codewarrior you are using and which device you are trying to debug. Because I guess treo 600 will not support for USB device debugging[I am not sure, please clarify this somebody]. - Martin. -Original Message- From: Jens Ratsey-Woodroffe

RE: Device Debugging: Connection Attempt Failed Error:

2005-03-25 Thread Jens Ratsey-Woodroffe
I'm also trying to debug on a Treo 650, and am using Codewarrior 9.0 for Palm OS. J. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prabakar MP Sent: Friday, March 25, 2005 11:56 AM To: Palm Developer Forum Subject: RE: Device Debugging: Connection

RE: Device Debugging: Connection Attempt Failed Error:

2005-03-25 Thread Prabakar MP
Hi, Update the Codewarror version to 9.3. Go to Codewarrior website, First get 9.2 patch, update that first, then get 9.3 version update patch and Update your codewarrior to 9.3 then start your Debugging. It will work. [Note: Before update 9.3 ver. patch, You should update with 9.2 patch] -

How to hide and to show the command bar in T3/T5?

2005-03-25 Thread A.Kazantsev
How to hide the command bar and to show it again from within an application? How to intercept the commands? Is the approach similar to hard keys interception mechanism? Please point me to the right direction. To unsubscribe send an email to [EMAIL PROTECTED] -- For information on using the

RE: Device Debugging: Connection Attempt Failed Error:

2005-03-25 Thread Jens Ratsey-Woodroffe
Sorry, my bad. I am running 9.0 with the 9.2 and 9.3 patches. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prabakar MP Sent: Friday, March 25, 2005 12:29 PM To: Palm Developer Forum Subject: RE: Device Debugging: Connection Attempt Failed Error: Hi,

RE: Device Debugging: Connection Attempt Failed Error:

2005-03-25 Thread Prabakar MP
Hi, 1. Check USBPort.dll is placed at hardrive\program files\palm desktop or palmone folder. [ Mine is, C:\Program Files\palmOne ] 2. Are using Palm Desktop software for Treo 650? 3. Right click hotsync and check USB is selected there. - Martin. -Original Message- From: Jens

Re: No form event handler error at notification

2005-03-25 Thread Henk Jonas
Tam Hanna wrote: Hi you all, I have a program that responds to the sysExternalConnectorAttachEvent notification by popping up a form with an own event handler. The form pops up just fine with the following code: LocalID idx;UInt16 cardno; FormPtr myform;

Re: Problem setting event handler

2005-03-25 Thread Henk Jonas
JSY wrote: Hi. I got 3 forms in my application and i keep getting an error message that says the below about one of my forms. The other two forms are ok. Why is this? Please help. What is wrong? Error : undefined identifier 'WelcomeFormHandleEvent' Restaurant.cpp line 240

Re: Table, first row scrambled

2005-03-25 Thread Greg Sepesi
[EMAIL PROTECTED] wrote: Hi, I've managed to populate a table, with two columns custom style, using a custom drawing function, and working scrollbars. The slight problem that remains is that the first time the table is drawn, the first row is scrambled while all subsequent rows are

Re: How to hide and to show the command bar in T3/T5?

2005-03-25 Thread Henk Jonas
A.Kazantsev wrote: How to hide the command bar and to show it again from within an application? How to intercept the commands? Is the approach similar to hard keys interception mechanism? Please point me to the right direction. There are functions in Menu... to hide and show the Command bar.

Re: stl-vector alternative

2005-03-25 Thread Sebastian Noack
Thanks, I will consider it. To unsubscribe send an email to [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: IMMEDIATE HELP NEEDED: Codewarrior 9.0 installation problem:

2005-03-25 Thread Eric Cloninger
Cathy, I am happy to help out, as are those others who have responded to this thread. They weren't trying to be smart so much as trying to get you to follow the standards of our community. Some of the people who are answering your questions may be your competitors, yet they still answer

Re[2]: How to hide and to show the command bar in T3/T5?

2005-03-25 Thread A.Kazantsev
OK, there must be a confusion. I'm asking about the command bar shown at the very bottom of the screen (or this is a tool bar, please correct me if I'm wrong). The bar I'm talking about contains the Home icon, the Find icon, the Menu icon, the BT icon, etc. My application performs the real time

Re: How to hide and to show the command bar in T3/T5?

2005-03-25 Thread Russell Cagle
Read DynamicInputAreas.pdf in Palm OS 5 SDK. Under the section Hiding and Showing the Control Bar, it mentions StatHide() and StatShow(). You can also catch the keyDownEvent that the home icon generates. A.Kazantsev wrote: OK, there must be a confusion. I'm asking about the command bar shown at

Re: How to hide and to show the command bar in T3/T5?

2005-03-25 Thread Henk Jonas
A.Kazantsev wrote: OK, there must be a confusion. I'm asking about the command bar shown at the very bottom of the screen (or this is a tool bar, please correct me if I'm wrong). The bar I'm talking about contains the Home icon, the Find icon, the Menu icon, the BT icon, etc. My application

Re: App writing to globals

2005-03-25 Thread Richard Coutts
Which emulator are you using? Does the emulator reset without the warning? Do you have any other application installed on the emulator. (Using a saved session?) The sony emulator often cause this warning (among others) while booting. Miro, Thanks for the response. Sorry for not posting enough

Re: Reassembling fragments (WAP SAR)

2005-03-25 Thread Donald C. Kirker
Ok, so what I have now is: Boolean SARaddSegment(Int32 pos, Boolean last, char *data, UInt32 size, int type, GlobalsType *g) { SARPtr tmp, sar; Int32 j = 0; sar = g-segment; while(sar != NULL) { if (pos == sar-pos)

Dates prior to 1904

2005-03-25 Thread Clive Walden
How do I handle dates prior to 1904? If I set a year prior to 1904, I get back a year in the future. Thanks, Clive Clive Walden Walden Consulting Phone: 760-632-5856 Web site: www.clivewalden.com To unsubscribe send an email to [EMAIL PROTECTED] -- For information on using the Palm

RE: Device Debugging: Connection Attempt Failed Error:

2005-03-25 Thread Jens Ratsey-Woodroffe
Thanks Martin - all working now. The web page that I read about DotDotTwo said to put the USBPort.dll file into the My Documents\Palm OS Desktop folder. All working now! J. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prabakar MP Sent: Friday,

Re: Reassembling fragments (WAP SAR)

2005-03-25 Thread Ben Combee
At 02:27 PM 3/25/2005, you wrote: tmp = Malloc(sizeof(SARType)); MemSet(tmp,sizeof(SARType),0); ErrFatalDisplayIf (!tmp, Malloc Failed); Move the MemSet after the ErrFatalDisplayIf line. tmp-pos = pos; tmp-last = last; if (type == 2)

Re: Dates prior to 1904

2005-03-25 Thread Robert Moynihan
Clive Walden wrote: How do I handle dates prior to 1904? If I set a year prior to 1904, I get back a year in the future. The PalmOS time management functions won't go before 1904. You'll have to roll your own solution. Bob. To unsubscribe send an email to [EMAIL PROTECTED] -- For

re: where i can download PODS ( palm os develop suit) ?

2005-03-25 Thread roderick young
I'm not aware of any websites other than the palmsource developer pavilion where you can get the development suite. I suspect there would be licensing issues, since you would need to do the developer agreement to log in, there. But it looks like you logged in, already. I'd say, give it a try

Re: Dates prior to 1904

2005-03-25 Thread Clive Walden
Bob, The PalmOS time management functions won't go before 1904. You'll have to roll your own solution. OK. But that seems incredibly short sighted of Palm. Especially give all the Y2K issues! There are still lots of people alive with dates of birth prior to 1904. And lots of legal entities

Re: Dates prior to 1904

2005-03-25 Thread Ben Combee
But that seems incredibly short sighted of Palm. Especially give all the Y2K issues! There are still lots of people alive with dates of birth prior to 1904. And lots of legal entities that started before 1904. Even more so in Europe than in the USA. Palm was just following the lead of Mac OS,

re: SclSetScrollBar sometimes does not redraw scrollbars in Treo 600/650

2005-03-25 Thread roderick young
I'm not sure what OS is on your device, but if it's 6.x, then I noticed a similar thing with lack of update in my program. Works great on OS 5.4 and earlier, but not on 6.x I doubt this will help you, but in my case, OS 6.x wasn't putting out enough nilEvents, which I was using to trigger

Re: Dates prior to 1904

2005-03-25 Thread Clive Walden
Ben, Those date calls where always intended to handle current data (like datebook entries) and system objects Thanks for the historical perspective. I understand. Howeverg, it would also have made sense (IMO) once we got to multi-megabyte storage, to offer an alternate/additional LongDate

re: Freeware distribution?

2005-03-25 Thread roderick young
palmgear.com seems to be the mother of all Palm software sites. They also seem to have taken over many other places, such as www.freewarepalm.com . One warning on freewarepalm.com - they will display your email address as author openly. This is bad, because I never got spam until posting a

Re: Dates prior to 1904

2005-03-25 Thread Logan Shaw
Clive Walden wrote: But that seems incredibly short sighted of Palm. Especially give all the Y2K issues! There are still lots of people alive with dates of birth prior to 1904. And lots of legal entities that started before 1904. Even more so in Europe than in the USA. Most computers' clocks

RE: Dates prior to 1904

2005-03-25 Thread Aaron Hansen
Don't reinvent the wheel or anything. This problem has been solved many times over. A Google on date algorithms reveals many many sites with the math you are looking for already done... http://www.google.com/search?hl=enq=date+algorithms Hope that helps, Aaron -Original Message-

RE: Dates prior to 1904

2005-03-25 Thread Clive Walden
Aaron Hansen wrote: Don't reinvent the wheel or anything. Yes, I have already Googled there. What I did not find (or recognize) was an algorithm to return a Date xxx days prior to another Date. I know I can roll my own without too much difficulty; but I did not really want to reinvent it.

RE: Dates prior to 1904

2005-03-25 Thread Jeffry Loucks
Date/time math is simply: 1. convert dates/times to a common base unit of time since a reference epoch, eg. days or seconds since 1904 2. add or subtract or compare converted dates 3. convert result back to desired date/time format Works for all time, so to speak... What I did not find (or

Re: Dates prior to 1904

2005-03-25 Thread Mike Durian
I'm sure you can find code to do what you want here: http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/stdtime/ It's covered under the BSD license so you can use it any way you wnat. mike -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Dates prior to 1904

2005-03-25 Thread Clive Walden
Thanks Logan. You can certainly use the current calendar to express any date in the past, but there is no guarantee that the people at the place and the time used our current calendar. Yes. I am aware of that. I have read several amusing articles in the past(whenever that wass). However, I

Re: Reassembling fragments (WAP SAR)

2005-03-25 Thread Donald C. Kirker
Ok. So I have done what you suggest, but I still get the problem about all of the data not being properly copied to the buf in SARreassemble. What happes is I receive two WDP SAR packets with the following data (split at the ---): ?xml version=1.0? !DOCTYPE wml PUBLIC -//WAPFORUM//DTD WML

Flashing square in bottom right after DotDotTwo

2005-03-25 Thread Jens Ratsey-Woodroffe
After I run DotDotTwo, I noticed a small square flashing in the lower right corner of my Treo 650 screen, even when I exit the application.  Does this mean I'm still running in console mode?  If so, is there any way, short of a soft reset, to exit console mode? J. -- For information on using

RE: Dates prior to 1904

2005-03-25 Thread Clive Walden
Date/time math is simply: 1. convert date to days since some past day 2. subtract xxx days 3. convert back to original date format I think we all know thats The issue is converting from the day count to the correct date allowing for leap years and whether the date includes or excludes

Re: Dates prior to 1904

2005-03-25 Thread Chris Tutty
From: Clive Walden [EMAIL PROTECTED] Don't get me wrong. I can do the math if I have to. Just surprised I have to roll my own for people still living today. How many applications actually want to do date math on people back to their DoB? While many apps will record different significant dates

Re: Dates prior to 1904

2005-03-25 Thread Clive Walden
Chris Tutty wrote: After all, if we're talking about missing functions I would have thought that not providing a function to parse floats in text was more of a deficiency than no multi-century date math. OKs I had no intention of starting one of those software religious war flames. It really

Re: where i can download PODS ( palm os develop suit) ?

2005-03-25 Thread SEAn
Thanks. ---SEAn - Original Message - From: roderick young [EMAIL PROTECTED] To: Palm Developer Forum palm-dev-forum@news.palmos.com Sent: Saturday, March 26, 2005 7:13 AM Subject: re: where i can download PODS ( palm os develop suit) ? I'm not aware of any websites other than the

2D Graphics Library for Color PalmOS devices (e.g. Treo 600) with StretchBlt and Fill Polygon

2005-03-25 Thread Alec Barker
I'm new to PalmOS development and I'm porting a WinCE app to PalmOS that uses StretchBlt and Polygon fill. The target device is a Treo 600. As far as I can tell, these 2D graphics function are not part available natively on the device. Is this correct? If not, I'm looking for a library that I

Re: Dates prior to 1904

2005-03-25 Thread Chris Tutty
From: Clive Walden [EMAIL PROTECTED] Chris Tutty wrote: After all, if we're talking about missing functions I would have thought that not providing a function to parse floats in text was more of a deficiency than no multi-century date math. OKs I had no intention of starting one of those