Re: reading records

2002-02-23 Thread Philip Sheard
>> Use DmStrCopy - the pointer returned in in a protected area. > No, I don't think you read his code carefully. Indeed not. But perhaps we should read his comments more carefully, too. Having lurked on this thread for a while, I think that what our friend is trying to do is this: recordH = DmG

Re: Weird FntDefineFont problem

2002-02-23 Thread Dave Carrigan
Ken Krugler <[EMAIL PROTECTED]> writes: > I think this would explain the bug you're seeing on Palm OS 3.0 and > 3.1. This also means that your problem should disappear if you use a > FontID value of 130, for example. Or you could call FntDefineFont with a > value of 193, then call it again with 1

Serial error

2002-02-23 Thread Harry Ohlsen
I'm trying to talk to a Magellan GPS sled for the Palm Vx. My load of the serial library works OK and my initialisation of the port (serDefaultSettings + 4800 baud) succeeds ... ie, they return zero. However, when I attempt to read from the port, via SerReceive10(), I get an error code of 774.

Re: struct access/glue funcs

2002-02-23 Thread Terry Dennis
Oh, boy ... another member of our club ... As of the current moment in time ... sadly, the answer is "no, there are no glue accessors provided". It appears that those of us who braved the new world of Palm OS in the early days and figured out ways to provide UI functionality that wasn't there in

4.1 or i705 Bug

2002-02-23 Thread Stormgate Communications
There appears to be a bug which is affecting i705s (may be an OS 4.1 bug but so far the i705 is the only one I've seen it on). Popup lists will close of their own volition. This is pretty annoying! It happens a random amount of time from the list being displayed, so it can close as you are tappi

Determining if selected field expects keyboard input

2002-02-23 Thread jay
Dear Everyone: I am trying to determine if a field with focus expects keyboard input. SysKeyboardDialog apparantely does this in its implementation since it pops up the keyboard if the field can accept keyboard input. I am trying to find if the selected field would accept keyboard input or not. An

Re: reading records

2002-02-23 Thread Joe
--- Dominique wrote: > Use DmStrCopy - the pointer returned in in a protected area. No, I don't think you read his code carefully. Here was his code: DmOpenRef dbRef; MemHandle recordH; UInt16RecordNr; char * recordPtr; Char Regel[120]; dbRef = DmOpenDatabaseCreator('DA

Re: reading records

2002-02-23 Thread Dominique
> > The second problem is, using StrCopy at that place gives an error message > when I stop the program. Why? Using StrCopy on other places gives no > trouble. > ---

Re: Weird FntDefineFont problem

2002-02-23 Thread Ken Krugler
Hi David, >I have a legacy app that uses a special font for some of its >controls. Back then, I implemented this by defining the resource as >having font 0, then in the app I would do: > >// At startup: >FntDefineFont(192, MemHandleLock(DmGetResource('NFNT', 192))); > >// During frmOp

ERROR_CHECK_LEVEL with SDK4.0

2002-02-23 Thread IKEDA Shigeru
Hi, I noticed that the ERROR_CHECK_LEVEL macro is defined as ERROR_CHECK_FULL by default with SDK4.0. SDK3.5's default is ERROR_CHECK_PARTIAL. Is there any significant reason behind this change? I always define ERROR_CHECK_LEVEL macro in my Makefile. So I don't care much about this. I'm just

Re: FrmHideObject and OS 5

2002-02-23 Thread Joe
--- Thomas Ward wrote: > I have a routine that shows or hides form objects > (including tables and lists) using either FrmShowObject or > FrmHideObject. > ... > However, now with > DO_NOT_ALLOW_ACCESS_TO_INTERNALS_OF_STRUCTS being used, you > can no longer do that. But, there is no FrmGlueHideObj

Re: FrmHideObject and OS 5

2002-02-23 Thread Thomas Ward
>> Anyone at Palm know of plans to add a glue function to handle this? >> Can anyone suggest another resolution to this problem? Thanks. > > Try CtlSetUsable That only works for Controls. It doesn't work for other objects, such as tables. Tom -- For information on using the Palm Developer For

Re: FrmHideObject and OS 5

2002-02-23 Thread Brian Smith
On Sat, 23 Feb 2002, Thomas Ward wrote: > Anyone at Palm know of plans to add a glue function to handle this? Can > anyone suggest another resolution to this problem? Thanks. Try CtlSetUsable --- Brian Smith // avalon73 at art

FrmHideObject and OS 5

2002-02-23 Thread Thomas Ward
Hi, I just downloaded Palm OS 4.0 SDK Update 1 and I'm trying to recompile all my existing code. I have a routine that shows or hides form objects (including tables and lists) using either FrmShowObject or FrmHideObject. In the documentation for FrmHideObject it says: "Prior to OS version 3.2, t

lightweight sorted containers

2002-02-23 Thread Hotmail - Chris
Hi, Does anyone know of any source code for lightweight sorted container(s) for use on the Palm? I am in need of an AVL or similiar type data structure that can keep my data sorted. Regards, Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://ww

struct access/glue funcs

2002-02-23 Thread Hotmail - Chris
Hi, Are there any glue functions for the following accesses? 1. Get the listID for a given popupTriger. 2. Changing a controls frame type. 3. Reading the forms "saveBehind" bit. 4. Getting the size of a labels buffer. I can perform each one of the above operations but I need a way to peform the

Re: Serial Wakeup Handler - Fatal Exception

2002-02-23 Thread Philip Sheard
> I have written a Wakeup Handler for serial communication which posts keys to > the Key Queue (EvtEnqueueKey()). > Every now and then, when running an application (MemoPad, Todo etc.) I get > the Fatal Alert - Fatal Exception dialog and my Palm had to be reset with > the button on the back.(Natur

Re: Visor Prism vs SPT1700 both PalmOS 3.5.2.3, but different?

2002-02-23 Thread Philip Sheard
> I'm testing our apps on POSER 3.4 against multiple device ROMs all which > report running sysFtrNumROMVersion = 0x03523000, specifically Visor Prism & > SPT1700. > > FrmHandleEvent > FrmHandleEvent > >When closing a modal form, SPT1700 is happy, Visor Prism ROM causes 'read > from

Re: reading records

2002-02-23 Thread Joe
--- "c.d. jansen" wrote: > > DmOpenRefdbRef; > MemHandlerecordH; > UInt16 RecordNr; > char * recordPtr; > Char Regel[120]; > > dbRef = DmOpenDatabaseCreator('DATA', 'AlfA', dmModeReadWrite); > recordH = DmQueryRecord(dbRef, RecordNr); Did you initialize RecordNr anyw

Serial Wakeup Handler - Fatal Exception

2002-02-23 Thread Eli Mandel
I have written a Wakeup Handler for serial communication which posts keys to the Key Queue (EvtEnqueueKey()). Every now and then, when running an application (MemoPad, Todo etc.) I get the Fatal Alert - Fatal Exception dialog and my Palm had to be reset with the button on the back.(Naturally, none

Re: Urgently : Help on the tapping and drawing on the gadget

2002-02-23 Thread Low Pui Kuen
>OK ... so, since Palm provided the sample as a guideline on how to >implement >a project just like what you want to do, how about starting with their >example project, then make changes to the way you want your application to >work? > >It's lots easier to take a hammer and chisel to existing code

reading records

2002-02-23 Thread c.d. jansen
Hello, Writing a program for the PalmHH , I encountered 2 problems. Here is a part of my code. DmOpenRef dbRef; MemHandlerecordH; UInt16RecordNr; char *recordPtr; Char Regel[120]; dbRef = DmOpenDatabaseCreator('DATA', 'AlfA', dm

Re: Pose and netlib

2002-02-23 Thread Matt Hebley
>* Two-second timeouts are probably due to AppNetTimeout, and not anything >hardwired in Poser. Thanks for your efforts Keith. I think the two second timeout came from me jumping to conclusions. Since I had in the back of my mind that there was (or used to be) some issues with Poser timeout,

Re: Urgently : Help on the tapping and drawing on the gadget

2002-02-23 Thread Terry Dennis
re: the table is a container for other UI elements Right ... it's a "wrapper" around UI elements within its own little "window", so you can treat them as an "object". Essentially, you're trying to make a gadget do what a table already does. Except that a gadget requires you to handle more of th

Re: Urgently : Help on the tapping and drawing on the gadget

2002-02-23 Thread Low Pui Kuen
>From: "Terry Dennis" <[EMAIL PROTECTED]> >Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> >To: "Palm Developer Forum" <[EMAIL PROTECTED]> >Subject: Re: Urgently : Help on the tapping and drawing on the gadget >Date: Sat, 23 Feb 2002 08:26:27 -0700 > > >Are you sure you want to use a gadg

Update 1, back in business... thanks

2002-02-23 Thread Brian Smith
Thanks to whoever got things ironed out as far as Update 1 of the SDK... I have a bug fix release going out today and was wanting to hash out any OS 5 issues while I was at it. --- Brian Smith // avalon73 at arthurian dot nu // h

Re: Effect of pendownEvent on grouped pushed buttons

2002-02-23 Thread Low Pui Kuen
>From: "Terry Dennis" <[EMAIL PROTECTED]> >Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> >To: "Palm Developer Forum" <[EMAIL PROTECTED]> >Subject: Re: Effect of pendownEvent on grouped pushed buttons >Date: Sat, 23 Feb 2002 08:15:46 -0700 > >re: Why is it that whenever I insert the pendo

Re: Urgently : Help on the tapping and drawing on the gadget

2002-02-23 Thread Terry Dennis
re: Could anyone help or advise me what to use for tapping and drawing the gadget? I am quite new to using the gadget. I am suppose to write a application that which is quite similar to the week schedule of the datebook. Generally my screen will just display the table where the rows are the times(

Re: Effect of pendownEvent on grouped pushed buttons

2002-02-23 Thread Terry Dennis
re: Why is it that whenever I insert the pendownEvent, I could not get a respond from the either 4 of the buttons i.e when the selected button is not highlighted? case pendownEvent : handled = true; break; Because by setting "handled" to true, you're telling Palm OS that you handled the penDown

Re: Debugger/POSE/PalmSim

2002-02-23 Thread Terry Dennis
re: When we load an app onto a device for debugging, we lock the database so it won't move and affect the mapping of memory addresses to functions. Makes sense ... and, I lock the chunk I need to modify. re: We also have the DB open for writing, since breakpoints are implemented by changing the

Re: A quick question .. I hope!

2002-02-23 Thread Christian Falch
Harry, > Does someone have a short snippet of code that pops up an alert box as a > notification that allows the user to cancel, but that disappears once the > work it's alerting the user to has competed. > > I'm thinking of something similar to the pop-ups that appear when the network > code is

A quick question .. I hope!

2002-02-23 Thread Harry Ohlsen
Does someone have a short snippet of code that pops up an alert box as a notification that allows the user to cancel, but that disappears once the work it's alerting the user to has competed. I'm thinking of something similar to the pop-ups that appear when the network code is dialling your IS

Urgently : Help on the tapping and drawing on the gadget

2002-02-23 Thread Low Pui Kuen
Hi everyone, I really need your help urgently!!! Could anyone help or advise me what to use for tapping and drawing the gadget? I am quite new to using the gadget. I am suppose to write a application that which is quite similar to the week schedule of the datebook. Generally my screen will ju

Effect of pendownEvent on grouped pushed buttons

2002-02-23 Thread Low Pui Kuen
Hi everyone, I have a gadget and 4 grouped push buttons. Why is it that whenever I insert the pendownEvent, I could not get a respond from the either 4 of the buttons i.e when the selected button is not highlighted? However when I removed the pendownEvent code, the grouped buttons works

Re: SDK 4.0 Update 1 available now

2002-02-23 Thread Marco Pantaleoni
On Sat, Feb 23, 2002 at 02:50:22PM +0300, Alexander Horoshilov wrote: > > > > Let's say p is a pointer to a _record. The compiler requires knowledge > > of the size of the object pointed to by p (in order to support > > operations such as p++, or declaring an instance of _record on the > > stack,

Re: SDK 4.0 Update 1 available now

2002-02-23 Thread Alexander Horoshilov
Hello Jim, I was unable to prevent myself from this remark :) Jim Schram wrote: > > At 10:54 AM -0800 2002/02/22, Dave Carrigan wrote: > >Jim Schram <[EMAIL PROTECTED]> writes: > > > >> Your code *does* declare a structure containing a BitmapType > > > structure, who's individual field definiti

Re: Debugger/POSE/PalmSim

2002-02-23 Thread Ben Combee
> After much interaction with a 5.0 developer (name withheld to protect the > innocent), we determined my application actually runs absolutely wonderful > on PalmSim and 5.0. As long as the Debugger isn't involved, that is. Which > took quite a while to figure out, because I was the only way I wa

help needed on hindi graffiti developement

2002-02-23 Thread siddharth saxena
hi, i am working on palm development. i m doing a project on localisation of palm. i need to develope hindi graffiti. i guess, i ll be needing the graffati manager for the same. i m using gnu prc-tools 2.1 and sdk 4.0 my current status is that i can create glyphs. i also have the graffiti manager

Re: When will they realize they are providing an operating system

2002-02-23 Thread Jim Cooper
> Then call it abstraction. You know how I'm going to react to the > word "hide" anyway ;-) Another term that is often used is "information hiding", which is somewhat different from abstraction. When the term "hide" is used in connection with programming, you should almost always assume that is