HI all,
sorry for posting analogues quiestion again, but I really need some answer.
is it possible to overlap controls, say list over table or vice versa, under
PalmOS?. 'upper' control in z-order should get all events. and are there
differences in event handling between PalmOS 3.5 and 4.x regar
Is there any overhead associated with an opened database? I'm trying to
figure out if it's a really bad idea to keep open a total of 18
different databases.
Regards,
Martijn Stalenhoef
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/d
On PalsOS4 to close dialog I use this code with success
if(frmP->attr.doingDialog) { //FrmDoDialog is active
frmP->attr.exitDialog = 1; //for to exit from loop
}
But on PalmOS5 it`s doesn`t work.
How I can take same effect?
Thanks.
--
For information on using the Palm Developer Forums
You can untick the fields 'Editable' attribute in Constructor and
programmatically set the fields text using FldSetText, FldSetTextHandle or
FldSetTextPtr (FldSetTextPtr only to be used with non-editable fields).
Regards,
Ger
From: "Jeremy Roberson" <[EMAIL PROTECTED]>
Reply-To: "Palm Devel
Hi,
I'm developing a little aplication for Palm. Now I'm facing a little
problem. I have to convert a string in to a hex and I don't now how.
The string would be like this:"FF A1 23 D2 5E". First I have to take
out all of the spaces. I tried to use StrCopy but I got no sucess. After
taking t
> Subject: RE: How to use a non editable text field to display
> text during runtime?
>
>
> You need to set the field to usable but not editable. The
...
> I believe (haven't done this for a while) that you may need
> to set the field to editable for the duration of your calls
> to update it
> I'm developing a little aplication for Palm. Now I'm facing a little
> problem. I have to convert a string in to a hex and I don't now how.
> The string would be like this:"FF A1 23 D2 5E". First I have to take
> out all of the spaces. I tried to use StrCopy but I got no sucess. After
> ta
Just a suggestion:
Don't use a text field. Use a label or write the text directly to the
screen.
- Original Message -
From: "Jeremy Roberson" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, April 02, 2003 12:00 AM
Subject: How to use a non editable text
Context: GCC prc-tools, Palm OS Emulator 3.5, SDK 4.0, cygwin.
I am trying to implement a 30-day trial period, and have tried two
different approaches, neither of which works. I have checked the
archives under "TimGetSeconds" and "DateAdjust" but found nothing
appropriate.
what am I doing wrong?
> Context: GCC prc-tools, Palm OS Emulator 3.5, SDK 4.0, cygwin.
>
> I am trying to implement a 30-day trial period, and have tried two
> different approaches, neither of which works. I have checked the
> archives under "TimGetSeconds" and "DateAdjust" but found nothing
> appropriate.
i have an e
> DateTimeType *dt_expiry;
> DateType *d_expiry;
these should be:
DateTimeType dt_expiry;
DateType d_expiry;
> UInt32 gExpiry;
>
> /* first attempt: bus error (read from non-mapped memory)*/
> TimSecondsToDateTime( timenow, dt_expiry );
> DateSecondsToDate( timenow, d_expiry );
and..
TimSecon
I'm a little confused:
>I have to convert a string in to a hex
- convert a string of numbers? into a string of Hex numbers?
>so the return would be something like this:"255 161 35 210 94..."
But this implies you convert a string of Hex numbers into a single string of
decimal numbers
Which is it?
Thank you, miracle recovery!
I'll include the corrections so the next hunt through the archives will
be rewarded:
/* add 30 days to current time */
UInt32 timenow = TimGetSeconds();
UInt32 gExpiry;
TimSecondsToDateTime( timenow, &dt_expiry );
DateSecondsToDate( timenow, &d_expiry );
DateAdjust(
>> Subject: RE: How to use a non editable text field to display
>> text during runtime?
>>
>>
>> You need to set the field to usable but not editable. The
>>...
>> I believe (haven't done this for a while) that you may need
>> to set the field to editable for the duration of your calls
>> to
hi .. i'm new to this list and just learn about palm
programming
anyone can give me url pr book as reference fpr
programming palm device using code warrior?
tia
boed
__
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and mor
It shold be noted, that you need not use BITMAPFAMILYSPECIAL
A regulare BITMAPFAMILY will work just fine.
And wow, someone else actually uses this, yay!
"Aaron Ardiri" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> > > tell pilrc to map the bitmap data to a specific palette (PA
> It shold be noted, that you need not use BITMAPFAMILYSPECIAL
> A regulare BITMAPFAMILY will work just fine.
> And wow, someone else actually uses this, yay!
oh yeah :) sorry.. BITMAPFAMILYSPECIAL is used simply because
lemmings runs in 4bpp *g* i just cut+pasted from existing code
i already had
Making my first real foray into PilRC (been using Constructor) and I have
encountered a problem while trying to use FORMBITMAP with high density
bitmap families I have the following:
FORM ID MainForm AT (0 0 160 160) USABLE NOSAVEBEHIND HELPID 0 DEFAULTBTNID
0 MENUID 1000
BEGIN
TITLE "test"
On OS 4.1/POSE 3.5, I'm able to send myself a message using the local
exchange library with the following socket setup:
ExgSocketType exgSocket;
MemSet ( &exgSocket, sizeof ( exgSocket ), 0 );
exgSocket.target= MyAppCreatorID
exgSocket.name = "_local:SMS.sms";
ExgPut
ExgSend (send a NULL
I have been following the signature.c example and was
able to let the user draw his signature on palm
screen. When the user clicks on the "submit" button, I
would like to turn the drawing into a bitmap and save
it along with other fields into a database. I don't
need to re-display the signature any
Should I be sending something other than a string to the SMS
application, or should I be doing something entirely different (like
talking directly to the SMS Exchange Library)?
Additional information: on a real Tungsten-W, the error message I get
(twice per attempt) is "Invalid parameter in ex
> Making my first real foray into PilRC (been using Constructor) and I have
> encountered a problem while trying to use FORMBITMAP with high density
> bitmap families I have the following:
>
> FORM ID MainForm AT (0 0 160 160) USABLE NOSAVEBEHIND HELPID 0
DEFAULTBTNID
> 0 MENUID 1000
> BEGIN
>
> hi .. i'm new to this list and just learn about palm programming
> anyone can give me url pr book as reference fpr
search Amazon.com for the word "Palm Programming" under the Books
category. 46 entries last time I looked.
http://www.amazon.com/exec/obidos/search-handle-form/002-7973369-423602
Hello,
There's also the set that are recommended by Palm on their website:
http://www.palmos.com/dev/support/docs/other.html
HTH,
John...
--- David Martin <[EMAIL PROTECTED]> wrote:
>
> > hi .. i'm new to this list and just learn about palm programming
> > anyone can give me url pr book a
At 17:06 2003-4-2 +0400, you wrote:
On PalsOS4 to close dialog I use this code with success
if(frmP->attr.doingDialog) { //FrmDoDialog is active
frmP->attr.exitDialog = 1; //for to exit from loop
}
But on PalmOS5 it`s doesn`t work.
How I can take same effect?
Use FrmEraseForm and FrmDeleteF
At 11:51 2003-4-2 -0600, you wrote:
Making my first real foray into PilRC (been using Constructor) and I have
encountered a problem while trying to use FORMBITMAP with high density
bitmap families I have the following:
FORM ID MainForm AT (0 0 160 160) USABLE NOSAVEBEHIND HELPID 0 DEFAULTBTNID
> Have you applied the 9.1 update to CW V9 -- it includes an updated PilRC
> Designer. I don't see anything wrong with your syntax here -- have you
> looked at the output PRC file using PRC Explorer to see if the resources
> look OK?
bradly emailed me privately. he was using an out-of-date versio
> hi .. i'm new to this list and just learn about palm
> programming
Welcome!
> anyone can give me url pr book as reference fpr
> programming palm device using code warrior?
It's a bit hard to make recommendations without more
information about your background. In any case, there
are a couple
I have used SndPlayResource to play IMA ADPCM compressed wave files in
Tungsten T without success. Installing Audio Update from Palm didn't
help either. However, I have found out that Voice Memo in Tungsten T
can record voices in IMA ADPCM compressed format and play them back
nicely. I wonder ho
I think you were closer with your second attempt, you just need to tell the
compiler to use 32-bit integers.
gExpiry = TimGetSeconds() + 30 * daysInSeconds;
Matt
- Original Message -
From: "David Martin" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, A
> I think you were closer with your second attempt, you just need to tell
the
> compiler to use 32-bit integers.
>
> gExpiry = TimGetSeconds() + 30 * daysInSeconds;
i didn't see anything wrong with his latest attempt actually if your
not going to pick on code efficiency or so :) of course, doing a
How can I prevent the app on Palm OS from being moved from main memory to
storage card?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
At 17:01 2003-4-2 -0500, you wrote:
How can I prevent the app on Palm OS from being moved from main memory to
storage card?
Set the copy-prevention bit in your application's PRC header. It will only
stop casual copying, however, as its very easy to work around.
--
Ben Combee <[EMAIL PROTECTED]>
>On PalsOS4 to close dialog I use this code with success
>
> if(frmP->attr.doingDialog) { //FrmDoDialog is active
> frmP->attr.exitDialog = 1; //for to exit from loop
> }
If your situation allows it, you should use CtlHitControl() to hit the appropriate
button in your dialog. I like this appr
I know that this couldbe a kind of dumb issue, but I can't figure out by my
self.
The first one.
I created a database of about 10 records to store some configuration that I
don't want to store in the Prefs. Now I can get the info using fields in my
config form, but I'm not able to get the info an
Hello,
If you haven't already found it, check out the tutorial at
http://tangentsoft.net/palmfaq/articles/tutorial/index.html - read it all
though, including the debugging section, as there are some "bugs" in the code
in the earlier section that are "fixed" in the debugging portion of the
tutorial
Now I'm porting some old version palm application to newer version
original code have some codes that changes FromBitmapType's attr member to
hide bitmap button icon..
but, when I try to build that original code for newer version of palmOS
, some error has arisen...
I try to find the reason, and
I haven't found the built-in float support to suffice for decimal
calculations or comparisons. I have built a couple of different
iterations of myFloat classes. The first represented float values as
Int32 values, e.g. an int value of 123456 with precision of two digits
really means 1234.56. This w
In article <[EMAIL PROTECTED]>, "Eduardo Orea" <[EMAIL PROTECTED]>
wrote:
> It's a matter of floats, I have to make some calculations about time and
> cost per minute, but I get a nice 1.111e01 kind of result. How can I
> make it seems like 11.12 in order to be easy of undestand? if you can h
39 matches
Mail list logo