We plan to start using XML project files instead of the binary ones because
we need to put different build options for different builds.
We are using PilRC and want to build using the CodeWarrior command line
interface, but can't figure out how to supply PilRC options this way.
Perhaps we should r
You can stop the device going to sleep by playing with the auto off timer.
See Evt***AutoOffTimer(). There are several functions that call this
internally, but FrmDoDialog should not do this, unless you provide your own
event handler and do it yourself. Other than that, I don't know what would
caus
You have a MemPtrFree or MemHandleFree somewhere in your code which is
freeing the handle of a database record. This may be because you associate a
record with a field and do not disassociate the handle before closing the
form.
Matt
- Original Message -
From: "Brian Preston" <[EMAIL PROTE
If my parents are anything to go by then
"Blah, blah, blah memory"
and
"Mumble, mumble, mumble memory"
should just about convey as much information as they can take in.
Matt
- Original Message -
From: "Mike" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[E
Since you only get a copy of the event in OS5, you must post a new event to
the queue, and return handled = true for the current character.
Note that this topic has been covered. Search the forum. There are issues
with paste, etc.
Matt
- Original Message -
From: "Kevin" <[EMAIL PROTECTED
The alignment is determined by the processor, but you may be able to force a
higher alignment with the compiler.
Generally, you do not need to worry about alignment. The problem is when you
store data on one system and read it on another, or transfer data between
systems. You should use operators
With 16 bit alignment, only single byte types may be accessed in memory not
aligned to 16 bits. 2 and 4 byte types must be aligned on 16 bit boundaries.
Similarly, with 32 bit alignment, 4 byte types must be aligned on 32 bit
boundaries.
When you use DmWrite, (or any other memory copy), you are co
I understand the exchange manager works in two phases: receive by the OS,
send to the destination. I guess this is because of it's origins beaming to
another device. So after the app has sent the object, it never knows what
happens to it. You are right that this makes the user experience a little
l
Have you tried FrmDoDialog? It has its own event loop.
Matt
- Original Message -
From: "Chris Faherty" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 12:47 PM
Subject: Re: Launching an app at interupt time
> On Thursday 03 April 2003 06:0
Yep, that is the way it is supposed to work: errNone -> connected.
Brilliant!
I have support known devices (e.g. Treo) by attempting to load their phone
lib. I only want to know if the device supports data (i.e. may connect to a
phone), so I never found out if you can tell if a device has a phone
Will they continue to be supported? I get nervous when I read in the
description of FieldAttrType:
WARNING! Palm, Inc. does not support or provide backward
compatibility for the FieldAttrType structure. Never access its
structure members directly, or your code may break in future
versions. Use
Before OS4.0 you have to ask the user and remember this yourself.
Matt
- Original Message -
From: "Vinu Raj" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 5:27 AM
Subject: RE: Daylight Saving Time
> Hi,
>
> is there a function I can cal
Sorry. Your variable is 32 bit.
But if you write 60 * 60 * 24 ... etc. the compiler (may) think these are 16
bit and try to multiply them together and get an overflow. This is what the
warning was about.
If you write (UInt32)60 * 60 * 24 ... you will force the compiler to use 32
bit for the first
You have pretty much described what you want to do. Call your app with
SysAppLaunch with a launch code, possibly, SysAppLaunchCmdCustomBase
(SysAppLaunchCmdDisplayAlert might work, but I don't know in what other
conditions it is sent to you).
In your app respond to this launch code and open whatev
This may not give expected results on Emulator.
UInt32 ipAddress;
ipAddress = netIPAddrLocal;
for (i = 0; netIPAddrLocal == ipAddress; i++) {
err = NetLibIFGet(netlibRefnum, i, &ifCreator, &ifInstance);
if (err) {
break;
}
if (netIFCreator
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 am writing an browser app and having trouble with gremlins.
I left them running overnight, and they seem to have broken passwords at 3
financial institutions and stolen a large amount of money. I've tried using
the minimise feature, but can't figure out what they are doing.
Can anybody help?
M
If you grub around in the OS source code long enough, you can find code to
invert coloured text, maybe the table code. It makes several calls to
WinPaintRectangle, IIRC. It might work on graphics.
Matt
- Original Message -
From: "John Cramer" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
Check out sending a vcd (calendar) object via the exchange manager. I
haven't done it, but it might help you...
Matt
- Original Message -
From: "Martin Vuille" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, March 27, 2003 3:47
Or just create a hidden stub in RAM that registers for reset and searches
for and deletes your program in RAM.
You would have to think about getting rid of the stub when the user
"uninstalls" you app from the card... Maybe use the
sysNotifyDeleteProtectedEvent. Then unprotect yourself and delete t
Apparently, if
TelIsPhoneConnected
returns no error, the phone is connected. Haven't tried it.
Matt
- Original Message -
From: "Miron Ophir" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, March 20, 2003 12:09 AM
Subject:
If you think about what happens when the field resizes the memory to allow
for more text, you will see why you cannot have two fields related to the
same handle. When the field resizes the handle, it must move data located
after the text storage such that the data is not overwritten, or similar
whe
TelIsPhoneConnected does not seem to have a return value in synchronous
mode.
Err TelIsPhoneConnected(UInt16 iRefnum, TelAppID iAppId, UInt16
*ioTransIdP);
In synchronous mode, ioTransIdP is NULL, so the only thing that can return
information is Err. (In async mode, the event type doesn't see
It is all quite complicated. You can have an exchange library, or an
application that looks like an exchange library. It just depends on how you
wish to have these things install, lock, and register themselves. A lot can
be learned by looking through the Exchange Manager OS code.
Here is one tip I
Is there a definition of the values a hotsync ID can take? Presumably it can
have no latin characters on devices with a locale such as Japanese.
Usually "strangeness" is stripped from the hotsync ID to make the algorithm
more robust to user inaccuracies when they enter their ID (say in a
website).
You merely need to cast the pointer returned by MemPtrNew and assign it to a
variable of type struct data*.
struct data* myPointer;
myPointer = (struct data*)MemPtrNew(sizeof(struct data));
Bear in mind that myPointer may be NULL if there is no more memory left.
Also, check out MemHandleN
How are you going to be a background driver, and have you tested it? If your
application code is sub-launched by another application, I believe
SysCurAppDatabase returns the details of the other application, not yours.
Matt
- Original Message -
From: "Tim Niu" <[EMAIL PROTECTED]>
To: "Pa
One option is to create the databases using you application on POSE, extract
the PDBs using POSE, and ship them. This may or may not suit your needs.
Matt
- Original Message -
From: "Kerry Twibell" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, Decembe
Does anyone have any documentation on the "Connect" or "Quick Connect"
function in the Tungsten's Address Book app? Specifically, how does one
register to get on the connect list, and what does the Address Book send you
when you are registered?
Matt
--
For information on using the Palm Develope
FYI, sometimes if I cancel a debug session, and hit debug again while POSE
is still resetting, I can get an error like this.
Matt
- Original Message -
From: "Bill MacAdam" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 6:34 AM
Subject
Aha, the old form-object-processing-order-switcheroo between OS3.5 and OS4.0
Always a good thing to check when things are strange changing OS!
Matt
- Original Message -
From: "Steve Mann" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002
- Original Message -
From: "Ron Nicholson" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, November 21, 2002 12:04 PM
Subject: Re: Passing variables between forms
> Of course, the famous computer scientist Edsger W. Dijkstra once
> observed that "It is
Perhaps the system can't get at your icon when it wants to. Do you know when
you have to have the bitmap resource available and how the system gets its
hands on it?
Matt
- Original Message -
From: "Matthew Bevan" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wed
I've found it useful to grub around in the source when getting these kinds
of warnings. The fields are validated and the line generating the assert can
tell you why.
Matt
"Paul Gilbert" <[EMAIL PROTECTED]> wrote
Hi there. When I create a dynamic field and start editting it, I always
get
a emu
I was also led to believe that they were identical. Apparently, you can even
write
0[paletteTemp] = 0[paletteGet];
if you are into obfuscated code, not that I spend much time inside a
disassembler...
Matt
- Original Message -
From: "Mark Wilden" <[EMAIL PROTECTED]>
To: "Palm Developer
Beaming on the Palm expects the destination device to support the OBEX
(object exchange) standard (or something close to it). I don't believe that
cellphones can support this and route the object to another device.
AFAIK, IR-to-Phone only works for NetLib connections. Might be wrong.
Matt
-
I would suggest processing all events between processing NetLib calls. Then
you don't drop out of your loop with unprocessed events left in the queue.
Matt
- Original Message -
From: "Greg Rivera" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Saturday, November
I'm presuming you aren't overwriting the label buffer. If you can't figure
it out, try allocating your own memory for the label, or use a non-editable
field with underline off.
Matt
- Original Message -
From: "Marty Rice" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
One possibility for 2/ is that you are attempting to the modify the content
of stack variables and overwriting bytes that you shouldn't.
Matt
- Original Message -
From: "Gilles Petit" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 6:49 A
r a future version of Palm OS 5.
>
> -- Keith Rollin
> -- Palm OS Emulator engineer
>
>
> At 8:07 PM +1300 10/29/02, Matt Hebley wrote:
> >I have written a shared (exchange) library that is built as type 'appl'
and installs itself as the library - following the H
I have written a shared (exchange) library that is built as type 'appl' and
installs itself as the library - following the HostTransfer example. This
works fine on OS4, but not on OS5.
On OS5, the library appears to install OK, but the application call to
exgPut returns exgErrBadLibrary.
I can st
Try the 4.1 m505 EFIGS debug ROM. You can debug multiple segment apps with
it, but with most other ROMs you can't.
Matt
- Original Message -
From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, October 18, 2002 11:10 AM
Subject: Re: Breakpoin
Be careful about the following points.
-Sometime you don't have enough memory to save the bits, especially on a
hires device and/or with several overlapping windows. Therefore you *should*
always implement the update even if you usually rely on the save bits.
- FrmEraseForm() (apparently) should
When my app is running and displaying its main form on smartphone devices
like the Treo and i300, the device crashes if an incoming SMS forces a
message display modal form to popup on top of my app.
The problem doesn't seem to occur when other forms inside my app are being
displayed. The problem
You have to be careful casting to non-byte sized variables since the bytes
that you pack into the record are not necessarily word aligned. You will get
an error if you try to cast a non-word aligned address to a UInt16.
Use MemMove to move the bytes to your variable.
Matt
BTW, this turned out n
> i went from C -> Java, and, never bothered with C++ *g* - thats part of
I went from C -> Java -> C and boy did it suck. It was like taking a giant
leap back in time...
(get the boiling oil ready...)
Matt
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
We ran into a similar problem when using a non-modal form before a modal
form. The problem only manifested itself when our app was launched by an
installer, and not when launched by the Launcher.
We got a fatal on OS4.0 devices, and emulated (debug?) ROMs, and above.
Never figured out a fix, but
This has been well covered in this forum.
The problem is that the "unique" ID seeds are not maintained during certain
operations, e.g. restore from hard reset, copy to VFS. So you can get a new
random seed which could generate non-unique IDs. I believe that the actual
unique record IDs themselves
You need a clearer understanding of how structs and char arrays work in C.
When you unpack a record, the struct only contains pointers and the pointers
point into the locked record. When editing a record, you usually point the
pointers to new pieces of memory, e.g. dynamically created memory assoc
Try using FrmSetActiveForm... not sure why, but it seems necessary.
form = FrmInitForm(MyPopupForm);
FrmSetActiveForm(form);
// Do stuff to form.
hitButton = FrmDoDialog(form);
// Do other stuff to form.
FrmEraseForm(form);
FrmSetActiveForm(previousForm);
FrmDe
> > I also noticed that PilRC allows you to specify a transparent color for
8
> > bit color images and for bitmap families. It appears that this is not
useful
> > for 4 bit mode. Is it really the case that I must go back to using a
> > separate mask image to achieve image transparency in 4 bit dra
I'm getting a Bad Window error in the Simulator when closing a modal form
which is a splash screen, i.e. it is displayed before any main forms are
initialised. The error only occurs when the app is launched directly by an
installer on the Palm (Combiner if it makes a difference). In other words,
i
Constructor does this. I'm not sure how well. You just add a new bitmap to
your bitmap family. Set the depth. Open the 8-bit image. Select All. Copy.
Open the 4-bit image. Paste.
But I'm guessing you don't use Constructor...
Matt
- Original Message -
From: "Palm Guy" <[EMAIL PROTECTED]>
It means that you are using its value before assigning a value to it -
pretty much as the warning is saying.
You have stripped out the code that will tell us what you are doing, but you
need something like:
frmP = FrmGetActiveForm();
before using frmP or passing it to a function.
Matt
- O
Set LingerOpt.onOff to true.
(Search for "linger" and you will find...)
Matt
- Original Message -
From: "Dinesh Kumar" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, September 11, 2002 5:49 PM
Subject: Lingering behaviour not resolved even after turn
Since valid unique IDs are guaranteed not to be zero (can't find it in the
docs, but it says so in the code), how about
if (0 == recID) {
}
Matt
- Original Message -
From: "Aaron Ardiri" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, September 06, 2002
- Original Message -
From: "Joe Malone" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, September 04, 2002 7:51 AM
Subject: Re: Handling gotos
> --- John Marshall <[EMAIL PROTECTED]> wrote:
> >
> > Given that the app has called FindSaveMatch *before*
DmGetResource should be matched with DmReleaseResource. I haven't looked at
the address app code, but maybe you haven't looked hard enough.
Matt
- Original Message -
From: "George Bassili" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, September 03, 200
- Original Message -
From: "Joe Malone" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, August 29, 2002 10:55 AM
Subject: Re: FW: help!! Free handle Fatal alert
> --- jimena <[EMAIL PROTECTED]> wrote:
> > Why do I always get this fatal alert when I leav
You can use MemHandleSize on the record handle (obtained by e.g.
DmQueryRecord).
Matt
- Original Message -
From: "Richard Coutts" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, August 19, 2002 10:38 AM
Subject: determining the size of a record
> This s
> In article <93835@palm-dev-forum>, Matt Hebley
> <[EMAIL PROTECTED]> wrote:
>
> > All good points.
> >
> > However, all I'm pointing out is whichever method you choose to
sort/find
> > the record, it is possible (and faster) to store the UID in
cord you want, before proceding.
> Automatically
> switch the a binary search for your internal uniqueID if the PalmOS
> uniqueID
> has failed you. This method gives you the best of both worlds.
> Alan
> "Matt Hebley" <[EMAIL PROTECTED]> wrote in message
>
g slow anyway...
-bob mckenzie, palmsource pdx
-Original Message-
From: Matt Hebley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 5:01 PM
To: Palm Developer Forum
Subject: Re: Uniqueness of UniqueIDs?
The problem as I understand it is the uniqueness of the IDs, i.e. that the
ID
The problem as I understand it is the uniqueness of the IDs, i.e. that the
ID generator seeds are not maintained. If you are going to manage your own
ID generation, you can still use the Palm record header ID memory to store
your IDs rather than inside the records, then there is no speed hit.
Mat
Try the noGoTo flag in the exchange socket.
Matt
Hello,
I'm using Exchage Manger to put an event to Date Book locally. After the the
data transferr complete, the Date Book application launched. Is there a way
to prevent the launch of the Date Book and keep my application running.
anyway!)
Matt
- Original Message -----
From: "Matt Hebley" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 2:32 PM
Subject: Closing the NetLib
> Does anyone know how to close the NetLib if it is opened
Does anyone know how to close the NetLib if it is opened by another
application? In other words, how do I detect whether a network connection is
currently made?
The way I see it, calls to NetLibOpenCount and NetLibClose only work after a
call to NetLibOpen. However, a call to NetLibOpen will try
You can use FldSetTextPtr with uneditable fields. You have full control over
what you stick in the memory pointed to by your pointer. Make sure you keep
the memory valid until the field has finished using it. See the docs for
usage.
Matt
- Original Message -
From: "Akhil Bhandari" <[EMAI
Note that there is a bug in the emulator and the timeout is divided by 10
somewhere along the lines (IIRC when connecting to the host stack).
Ben is on to this one, but I don't think the fix is out yet...
Matt
- Original Message -
From: "Marco Zhang" <[EMAIL PROTECTED]>
To: "Palm Develo
At the risk of appearing like I haven't searched anywhere, am I right that
CW 1.7 (patch 1) doesn't support high density bitmaps? Just got Constructor
1.8 and played with high density bitmaps. CW complained that it didn't
support the bitmap (link error), but there's no mention in the "what's new
i
Have a look at the definitions of the Palm events in the header file. The
events are a fixed size. You can just define your own structure(s) using
whatever unions etc, as long as the first bytes map onto the Palm event
bytes, and the data bytes are your definition (and fit into the number of
avail
Sounds like you are doing "kind of modal" forms where you can still see the
"main" form in the background. FrmSetActiveForm (or at least
FrmGetActiveForm) doesn't work as expected with modal (popup) forms, see the
docs.
Perhaps you want to make your form look like new forms are opening, when in
r
Thanks Danny
Now I know how my code used to work without the loop!
Matt
- Original Message -
From: "Danny Epstein" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, July 17, 2002 12:00 PM
Subject: RE: ExgSend documentation query
So the code you quote
The problem is the lines like this one:
unpackedRecord->Minimum = *s;
This assignes to Minimum the value pointed to by s. Since s is a Char
pointer, the value at s is a Char or one byte.
You cannot merely cast the pointer to get the correct value, because the
packed bytes may be non-word
Try "drawing" symbolUpArrow and symbolDownArrow or similar (defined in
Chars.h) in one of the symbol fonts. You could put them in a button with no
border (put the appropriate hex into constructor), or do all the drawing and
tap handling yourself.
Matt
- Original Message -
From: "George B
Wondering if anyone knows about the values returned by pointer from
NetLibConnectionRefresh.
There is an Boolean *allInterfacesUpP which is "Set to true if all
connections are open". But the docs don't say if this is before the call, or
after it. In other words does it tell you whether there were
This is an excerpt from Palm OS Companion2.pdf, p16, (sdk 4.0).
err = ExgPut(&exgSocket);
if (!err) {
while (!err && sizeSent < size) {
sizeSent += ExgSend(&exgSocket,bmpP,size,&err);
}
ExgDisconnect(&exgSocket,err);
}
Supposedly, it may whizz round the inner loop,
This is just a wild stab in the dark, but maybe it's because FrmDoDialog
sets the clipping to the popup form only, so the main form cannot undraw
your control. Don't know what you want to do about it, but you could play
with the clipping inside your handler or, better yet, just force the main
form
- Original Message -
From: "Stringer" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, July 01, 2002 4:50 PM
Subject: Re: .prc size question
> --- Alexander Povalyaev <[EMAIL PROTECTED]> wrote:
> > Is there any tool to decrize the size of the .prc file?
>
I just have to say that Joe is the all-round good guy as far as I am
concerned. He gives the most detailed answers to questions that many would
just say RTFM. I don't know what he does, but he sure puts a lot of effort
into replying to questions.
Matt
- Original Message -
From: "Joe Malo
Does this guy have an automated question asking application? He need to work
on the automated response processing part...
Matt
- Original Message -
From: "murugesan saravanan" <[EMAIL PROTECTED]>
Sent: Friday, May 24, 2002 7:39 AM
Subject: Source Extraction
> Hi Everybody,
>
> Is there
Or even that you want to use #include not #define...
Matt
- Original Message -
From: "Kevin OKeefe" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, May 23, 2002 12:36 PM
Subject: RE: Bluetooth Library
Sounds like those files are in a directory that is
> The bug is that you can only debug modules in the first segment.
>
> The workaround for the bug is to move the module you want to
> debug into the first segment, or as Ben suggests, use an obsolete
> version of POSE.
>
> Roger Stringer
> Marietta Systems, Inc.
Some ROMs work, e.g. 41_m505_EF
on)
are way off. Size is 64,000 something and offset is 84,000 something.
TIA,
- Dan :D
>>> Matt Hebley<[EMAIL PROTECTED]> 05/20/02 09:02AM >>>
From: Matt Hebley<[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 9:02 AM
To: [EMAIL PROTECTED]
Subject: Re: DmWriteCheck failed
This helps me even less. Now you appear to be using zero instead of offset
which used to be non-zero. In future you should try to resist modifying your
code when posting it, just post the relevant functions complete.
The best thing for you to do is to manually figure out exactly how big your
reco
You don't show the return value from PackRecord, but you appear to be
skipping an offset in the DmWrite. Do you really want to do this? Are you
calculating the size of the record taking this (offset = size) into account?
Matt
- Original Message -
From: "Dan Dorton" <[EMAIL PROTECTED]>
To
Looks good. I would add: use LstGetSelectionText to get a pointer to the
selected string in the list. This way you don't have to maintain anything
for the trigger label.
Matt
- Original Message -
From: "Watson, Christopher" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED
Your handle goes out of scope when the code reaches the closing brace. You
need to have a handle that remains valid while being assigned to the field.
Matt
- Original Message -
From: "Joe" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Sunday, May 12, 2002 2:08
the new field
size), or use the dynamic field and use the above workaround that may break
in the future...
Thanks
Matt
- Original Message -
From: "Matt Hebley" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Sunday, May
I usually approach this sort of problem using differences rather than
setting the source. Say you get a time from your GPS, then you get the
current ticks that corresponds to your reference. Then subsequent calls to
get the current ticks will tell you how many ticks you are from your
reference. Yo
I have come across the feature whereby a dynamic field will not allow the
user to select text when there is more text than the field can show and the
last line is not visible. This is apparently fixed by the
FldSetMaxVisibleLines call.
The feature is exhibited on the 3.5 en color ROM, however, in
I was wondering if anyone could shed some light on how to restore the clip
properly.
I have a gadget and I set the clip to the bounds of the gadget before
drawing the gadget, then reset the clip (WinResetClip). All works fine
except for the case where I get a modal dialog followed by another m
Just got caught by the LstGetTopItem which isn't documented as not being 3.5.
I know it's been hammered in the forum, but was just hoping the
documentation boys and girls are on to this one...
Matt
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://w
At 11:11 AM 15/4/2002 -0700, David Fedor wrote:
>field had focus, and other such things. Perhaps it should have been called
>FrmNukeFormFromDisplayBecauseItIsAboutToBeDeleted.
Thanks David
This makes me feel a lot safer.
(The reason it was there in the first place was that I was resizing a
ga
I have a strange problem with a menu/form accessing unallocated memory.
Here is the scenario:
- Form loads OK, menu works OK, menu option can switch to another form with
FrmGotoForm, and come back with FrmGotoForm OK.
- On original form I do some stuff, CtlSetUsable, SclSetScrollBar,
FrmSetObj
At 02:08 PM 12/4/2002 +0100, you wrote:
>I expected to take about a week to write my application - it's been about 2
>months so far - but I know a lot of stuff about PalmOS now !!
This is an example of a software estimation law (don't know if it has a
name), which states that to get the real dev
At 10:24 AM 11/4/2002 -0500, you wrote:
> szListField = MemPtrNew(textLen + 1);
> szListField = FldGetTextPtr(fldListPtr);
> if (szListField) {
>MemPtrResize(szString, newStringLen + 1 + textLen + 1); //newtext + LF +
>oldtext + null
Without looking through all your code, this bit looks
At 06:22 AM 11/4/2002 -0700, you wrote:
>--- Clifford Jones wrote:
> > The simulator will not allow a modal dialog box to be
> > displayed anywhere except at the bottom of the screen
> > without showing an error.
> >
> > This type of artifical limitation ...
>
>This is not an artificial limitation
At 06:40 PM 8/4/2002 -0700, you wrote:
>The code below fires when I click on a list that is displayed via a pop
>up trigger. If I click on the trigger and select an
>item in the list, on the 14th time I get a chunk overlocked error. (See
>line in question). I am using DmReleaseRecord paired
At 09:31 PM 4/4/2002 +0100, you wrote:
>thanks matt but how would i go about writing multiple records for the same
>day i'm new to all of this!
>Tahnks
Well, you have to decide (and define) how your database can store the
information you want, i.e. more than one entry per day. For example,
1 - 100 of 141 matches
Mail list logo