Re: Dynamic Forms getting corrupted

2003-01-16 Thread Henrik Fredriksson
Yepp, I had the same problems. I had thought of a very smart solution working with dynamic controls but someone told me my app has to run on 3.5 so I had to introduce a very stupid way of dealing with static controls to achieve the same thing :(.. /Henrik "Chris Antos" <[EMAIL PROTECTED]> skrev i

which resource is better?

2003-01-16 Thread Susan
Hi, I use CW to develop an App. Now I want to display some constants on a form only for view.But I dont know which resource is better,table or string list? Thanks! Susan -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/f

Re: Tabbed windows

2003-01-16 Thread Matthew Bevan
On January 16, 2003 10:35 pm, [EMAIL PROTECTED] wrote: > Is it so important for devices with 4MB or 8MB memory? > Really, please tell me - what's the difference between 30K and 60K of > code? Smaller code generally runs faster (fewer instructions to run through). It may also be easier (depending

RE: Tabbed windows

2003-01-16 Thread max
Is it so important for devices with 4MB or 8MB memory? Really, please tell me - what's the difference between 30K and 60K of code? __ Best regards, Maks Pyatkovskiy > -Original Message- > From: [EMAIL PROTECTED] [mailto:bounce-palm-dev- > [EMA

Re: What is an application's local ID?

2003-01-16 Thread kcorey
I think what you're looking for is something like: SysCurAppDatabase(&cardNo, &dbID); SysNotifyRegister(cardNo, dbID, sysNotifyDisplayChangeEvent, ¬ifyProc,0,NULL); -Ken On Fri, 2003-01-17 at 06:09, Steve Mann wrote: > >> > I'm using the SysNotifyRegister API and

Does Palm OS5 support 31250 Baud?

2003-01-16 Thread Thorne Ventura
I'm trying to connect my Palm serial cable to a MIDI cable. I have an adaptor that "translates" 9-pin serial to 5-pin MIDI, but when I run my program to receive data through my serial port, I get nothing. Someone mentioned that they heard Palm OS5 doesn't support 31250 baud. Does anyone know

Re: What is an application's local ID?

2003-01-16 Thread Steve Mann
I'm using the SysNotifyRegister API and the 2nd argument calls for the local application ID. I've looked all over the Palm documents and can't find an explanation that I understand. How do I determine in my code what the local ID is? Thanks. UInt16 card; LocalID dbID; DmSearchStateType

Unable to access serial port on emulator

2003-01-16 Thread David McNab
Hi, I'm running Debian Linux, and running the POSE palm emulator. Works well in most respects. But any calls to the serial port are always failing, even if I set the serial port to /dev/ttyS0. I was wanting to set the emulator to use /dev/ptyp0, so I could talk to the port on the host system by

Re: Dynamic Forms getting corrupted

2003-01-16 Thread David McNab
Thanks for replies. Glad it's not just me. Sounds like dynamic form data structures are not being fully respected by the OS between closedown and re-open. And to answer an earlier question, I'm seeing the corruption on PalmOS 4.1 (physical IIIc) and 3.5 (m100 on emulator). I've resigned myself t

Emulator skin

2003-01-16 Thread Ai Lee Tang
hi all, How can i change the emulator skin to M515 skin if the rom file is for PalmOS3.5? rgds, ailee _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- For inform

Re: Dynamic Forms getting corrupted

2003-01-16 Thread Rob Larson
I have a similar problem with dynamically created controls. Upon redrawing a form with maybe 10 dynamically created controls, one of the control labels was getting trashed. Apparently when the OS shuffles the form data around (say, one of the controls is deleted), it can fail to copy the label da

Re: What is an application's local ID?

2003-01-16 Thread Gavin Maxwell
Try using SysCurAppDatabase... it will give you the card number and local ID of your app. A local ID is simply a reference to your applications database - you don't have to worry about it much really. Though if you really want to know it's the offset of your app database from the base address of t

What is an application's local ID?

2003-01-16 Thread Thorne Ventura
I'm using the SysNotifyRegister API and the 2nd argument calls for the local application ID. I've looked all over the Palm documents and can't find an explanation that I understand. How do I determine in my code what the local ID is? Thanks. Thorne Ventura -- For information on using the P

Re: Dynamic Forms getting corrupted

2003-01-16 Thread Chris Antos
What OS version? Older OS versions have bugs in the dynamic form/control APIs. * OS 4.1 is the first OS version where they work correctly. * OS 4.0 is almost right, except that for List objects it only updates the pointer for the _first_ item in the List. You can fix up the other pointers manuall

Re: Tabbed windows

2003-01-16 Thread Matthew Bevan
/me doesn't use C++ for a very good reason - 30K overhead is one. -- Matthew (Darkstorm) Bevan [EMAIL PROTECTED] Margin Software, NECTI. http://www.marginsoftware.com Re-inventing the wheel, every time. - Give me a Plumber's friend the size of the Pittsburgh dome, and a pl

Dynamic Forms getting corrupted

2003-01-16 Thread David McNab
Hi, I'm starting to get into dynamic forms. After I've created a form dynamically, FrmGotoFrm() displays it perfectly. But the second and subsequent times I call FrmGotoFrm() for that form, the title is showing up corrupted. So far, there's not much on the form, but I anticipate that corruption

Re: Tabbed windows

2003-01-16 Thread Mark Wilden
From: "Don" <[EMAIL PROTECTED]> > Anyone capable of figuring out how to use the buttons to simulate tabs > should be capable of abstracting the required elements so that they only > need to write that code once. You mean _re_write that code once. As opposed to rewriting it zero times, which is be

Re: Tabbed windows

2003-01-16 Thread Matthew Bevan
> Is this a regular button resource? How does one cause it to be drawn > "selected"? Method one: selector triggers on one form, many items In a PilRC resource file: PUSHBUTTON "Alarm" AlarmTab AT (1 85 AUTO 12) USABLE GROUP 1 PUSHBUTTON "Timer" TimerTab AT (PREVRIGHT+1 86 AUTO 11) USABLE GRO

Re: Tabbed windows

2003-01-16 Thread Don
[EMAIL PROTECTED] wrote: Just compare steps required to draw tab buttons, then manually hide and show controls in response to tab selection with the following sequence of 4 steps in POL C++ application: // STEP 1: Declare tab control component CTabCtrl m_tabCtrl; // STEP 2: Attach tab control to

Mass Transit (trying again)

2003-01-16 Thread Matthew Moss
Sorry if this is a repost; I received a message that it failed first time around. I am redesigning and starting to rewrite Mass Transit, and I would like to get the input of anyone who has used the program. Please, if you have a moment, head over to www.splatbang.com and fill out the short surv

RE: Tabbed windows

2003-01-16 Thread Jeff Wheeler
Matthew Bevan wrote: >> Another alternative (what I'm using in an upcoming application) >> is to have a series of buttons w/ square borders along the >> top of the dialog... the current "tab" button being drawn >> selected. Is this a regular button resource? How does one cause it to be drawn

launch docsToGo and quickWord with opendb cmd

2003-01-16 Thread Danny Wong
HI, has anyone sucessfully launched DocsToGo or Quickword and send it a db to open by the cmd sysAppLaunchCmdOpenDB? is so how? I've tried SysAppLaunchCmdOpenDBType launchParam; launchParam.cardNo = cardno; launchParam.dbID = db_dbID; LaunchWithCommand(

Re: List Function

2003-01-16 Thread Ronnie van 't Westeinde
> Compiling frmRCAS.c... > frmRCAS.c:130: warning: type mismatch with previous implicit declaration > frmRCAS.c:91: warning: previous implicit declaration of `loadRCAS' > frmRCAS.c:130: warning: `loadRCAS' was previously implicitly declared to > return `int' The above errors occur because you're u

Re: Mac POSE Problems

2003-01-16 Thread Keith Rollin
At 7:50 PM + 1/16/03, Sean Charles wrote: On Thursday, January 16, 2003, at 03:56 PM, Scott Gruby wrote: Read the release notes...it's documented that POSE on the Mac (recent versions) don't play sound. First of all, thanks for the tip off! I *did* find the paragraph that explained it all

Re: Mac and PalmTraceLib Work-around

2003-01-16 Thread Keith Rollin
At 8:39 PM + 1/16/03, Sean Charles wrote: If anybody is interested in a stop-gap solution apart from me, I have come up with a workaround for not being able to use PalmTraceLib on OS X 10.1.4, thanks to Unix of course... You should be able to use the Cocoa version of Reporter that Florent

Re: Compilation Error... Why?

2003-01-16 Thread Ricardo Walter Hildebrand
You have declared your variable inside the while block. So it´s not avaible outside of this block. You should put the declaration after your other declaration and before your while block. cya - Original Message - From: "Régis Daniel de Oliveira" <[EMAIL PROTECTED]> Newsgroups: palm-dev-for

Compilation Error... Why?

2003-01-16 Thread Régis Daniel de Oliveira
Hy all!!! I'm using this function the find a item in a list. When I put the last 'LstSetSelection(lptr,iItemMid);', the compiler says : frmRCAS.c: In function `FindItemList': frmRCAS.c:336: `iItemMid' undeclared (first use in this function) frmRCAS.c:336: (Each undeclared identifier is reported

RE: Tabbed windows

2003-01-16 Thread max
Just compare steps required to draw tab buttons, then manually hide and show controls in response to tab selection with the following sequence of 4 steps in POL C++ application: // STEP 1: Declare tab control component CTabCtrl m_tabCtrl; // STEP 2: Attach tab control to the gadget m_tabCtrl.Atta

Re: Tabbed windows

2003-01-16 Thread Steve Mann
In my Clock! application, I used a series of selector buttons, and kept all the controls on one form... That's certainly a simpler approach that individual buttons. I think I actually did that once, long ago and far away. Regards, Steve Mann -- For information on using the Palm Developer F

Re: Tabbed windows

2003-01-16 Thread Matthew Bevan
> You can do that using a row of graphical buttons at the top of each form. In my Clock! application, I used a series of selector buttons, and kept all the controls on one form... I had a function to hide everything and another with a large switch statement to unhide the ones for the specific ta

Re: Tabbed windows

2003-01-16 Thread Steve Mann
So, how would one go about making a tabbed window interface thats similar to: You can do that using a row of graphical buttons at the top of each form. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/foru

Re: Install documents-to-go

2003-01-16 Thread Dave Lippincott
Best bet, ask Dataviz http://support.dataviz.com/ - Original Message - From: "christy" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 3:06 PM Subject: Install documents-to-go > I am trying to install a demo version of > documents-to-go

Re: Tabbed windows

2003-01-16 Thread Ben Combee
At 16:11 2003-1-16 -0500, [EMAIL PROTECTED] wrote: I am interested in creating a tabbed window look and feel and not sure how to go about this. This is quite an easy task in developing Windows programs, but in the PALM world I don't find any reference to this in the knowledge base or in my refere

Tabbed windows

2003-01-16 Thread palm
Hello all, I just joined the list today, so be gentle. :) I am interested in creating a tabbed window look and feel and not sure how to go about this. This is quite an easy task in developing Windows programs, but in the PALM world I don't find any reference to this in the knowledge base or

web application/Palm 5

2003-01-16 Thread palm
It appears INetLib is gone in Palm 5? Ruh roh.. So basically I need to use webapplication launch/sublaunch to access url data from within my palm application for 5.0. Is this true? Thanks in advance! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

Mac and PalmTraceLib Work-around

2003-01-16 Thread Sean Charles
If anybody is interested in a stop-gap solution apart from me, I have come up with a workaround for not being able to use PalmTraceLib on OS X 10.1.4, thanks to Unix of course... 1. Open a terminal window and change to the directory where you have POSE living. 2. Run the following two command

Install documents-to-go

2003-01-16 Thread christy
I am trying to install a demo version of documents-to-go that I downloaded from Dataviz and got this unhandled exception error: 0x80040707. The installation process terminated. Any pointers? Thanks much. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful

Re: GUI in Java

2003-01-16 Thread venkimohanraj <[EMAIL PROTECTED]>
Hi Try downloading j2me wireless toolkit. Venkatesh --- In [EMAIL PROTECTED], Catalina Diaz Puig <[EMAIL PROTECTED]> wrote: > Hi, > > Does anybody know where I can find an exaple written > in Java of a GUI for a Palm? > > Thanks, > > Balita > > __

Re: Mac POSE Problems

2003-01-16 Thread Sean Charles
On Thursday, January 16, 2003, at 03:56 PM, Scott Gruby wrote: Read the release notes...it's documented that POSE on the Mac (recent versions) don't play sound. First of all, thanks for the tip off! I *did* find the paragraph that explained it all except it was in a file called _Bugs.txt, i

Re: DmAttachRecord, DmResizeRecord problems

2003-01-16 Thread Bill Heidler
Thanks Matt and Bob. I'm going on vacation and don't have time to try it today, but it looks like DmNewHandle() is what I want to use. Bill Heidler -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: code splitting help

2003-01-16 Thread Aaron Ardiri
> I am quite unexperienced with Palm development and do not understand > how to generate the loadable .pdb/.prc file. Can somebody give me > more information on how to do this? Any help is much appreciated. if your going to do anything like this, you should know exactly what you are doing. as

RE: DmAttachRecord, DmResizeRecord problems

2003-01-16 Thread Bob Whiteman
Bill, When you use MemHandleNew() the handle that is allocated is in the dynamic heap. The dynamic heap is freed when your application exits, so attaching such a handle to a database will corrupt that database. Instead of using MemHandleNew(), use DmNewHandle(). This allocates the handle in da

Re: Database problem

2003-01-16 Thread Matt Graham
[EMAIL PROTECTED] wrote: I have the following problem: I introduce records with two fields in a database. I must do a Search in that database for a Field or another. But if I try to do a Search for the second Field, the search is very slow. The input must be fast as well as the search. I though

Re: illegan implicit convertion from unsigned long * to unsigned long

2003-01-16 Thread Ben Combee
At 12:22 2003-1-16 -0600, you wrote: Hi. I have two function to send information from palm to palm when I want to create the prc generated this error; Error: illegan implicit convertion from unsigned long * to unsigned long Line ExgSend( (ExgSocketType *) exgSocket, buffer, bytes, &error);

Re: illegan implicit convertion from unsigned long * to unsigned long

2003-01-16 Thread Dennis Leas
Looks to me like it's probably the third arg. "bytes" is a UInt32 * and the Palm OS Ref says it should be a UInt32: Prototype UInt32 ExgSend (ExgSocketType *socketP, const void *bufP, UInt32 bufLen, Err * err) Dennis Leas --- [EMAIL PROTECTED] - Original Message - From:

Database problem

2003-01-16 Thread gpg
I have the following problem: I introduce records with two fields in a database. I must do a Search in that database for a Field or another. But if I try to do a Search for the second Field, the search is very slow. The input must be fast as well as the search. I thought of making a third Field wi

illegan implicit convertion from unsigned long * to unsigned long

2003-01-16 Thread Adrian Morales
Hi. I have two function to send information from palm to palm when I want to create the prc generated this error; Error: illegan implicit convertion from unsigned long * to unsigned long Line ExgSend( (ExgSocketType *) exgSocket, buffer, bytes, &error); can anybody help me? Thank. static

Re: DmAttachRecord, DmResizeRecord problems

2003-01-16 Thread Matt Graham
Bill Heidler wrote: Matt Graham's response: Can't you just resize the existing record to the new size that you want instead of messing with MemHandleNew() and DmAttachRecord()? Bill Heidler's response: Yes I can, but if the records are large then I have two buffers allocated at the same time,

GUI in Java

2003-01-16 Thread Catalina Diaz Puig
Hi, Does anybody know where I can find an exaple written in Java of a GUI for a Palm? Thanks, Balita __ Post your free ad now! http://personals.yahoo.ca -- For information on using the Palm Developer Forums, or to unsubscrib

Re: DmAttachRecord, DmResizeRecord problems

2003-01-16 Thread Bill Heidler
Bill Heidler wrote: > My first solution approach for updating the records was to use > DmResizeRecord() > to reduce the size of the old record (to 0 if possible, thus holding my > record slot > only), allocate a memory buffer using MemHandleNew() ), stuff it with the > new data > and then use DmAtt

Re: Mac POSE Problems

2003-01-16 Thread Scott Gruby
In article <109251@palm-dev-forum>, Sean Charles <[EMAIL PROTECTED]> wrote: > Hi, > > Can anybody help out on these two little things, they've defeated me I'm > afraid. > > 1) Running POSE 3. on 10.1.4 seems not to produce any sounds. My volume > is maxxed out and the enabled flags settings i

Re: DmAttachRecord, DmResizeRecord problems

2003-01-16 Thread Matt Graham
Bill Heidler wrote: My first solution approach for updating the records was to use DmResizeRecord() to reduce the size of the old record (to 0 if possible, thus holding my record slot only), allocate a memory buffer using MemHandleNew() ), stuff it with the new data and then use DmAttachRecord() t

retrieve desktop application interface implemented by palm desktop

2003-01-16 Thread laurent
I want to use the palm desktop object model and so i try to retrieve the desktop application object. I've seen in palm desktop sdk that we have 2 possibilities in order to do that. - one is to use OnInitialize method thanks to mfc (addin) - the other is to use extensions I don't use MFC. In fact,

code splitting help

2003-01-16 Thread Dennis Leas
Hello All! I am very close to finishing my first Palm OS app and need to address copy protection issues. I have read Aaron Ardiri's paper which contains much useful information. I am also looking at Hexlet's fine PalmReg tool. I am trying to understand all the available options before I choose.

Building custom locale module

2003-01-16 Thread Tim N. Tashpulatov
Hello, To build a custom locale module, one would need a detailed description of all recources it is comprised of, mainly char attributes, sorting and conversion tables. Unfortunately, no Palm documentation covers these, neither does the KnowledgeBase. While the try-and-see method is still the ba

UI question: app can't continue, what now

2003-01-16 Thread Stringer
>Subject: UI question: app can't continue, what now? >From: Ed Greenberg <[EMAIL PROTECTED]> > >In the case that an application cannot continue, what is the correct UI >behavior after the user presses cancel. > Send an 'appStop' event to cause the program to exit. Roger Stringer Marietta Systems

Mac POSE Problems

2003-01-16 Thread Sean Charles
Hi, Can anybody help out on these two little things, they've defeated me I'm afraid. 1) Running POSE 3. on 10.1.4 seems not to produce any sounds. My volume is maxxed out and the enabled flags settings is on AND I remembered to make sure the actual prefs. settings had sounds enabled (all 'High