Re: Mac POSE Problems

2003-01-18 Thread Sean Charles
On Friday, January 17, 2003, at 10:50 PM, Keith Rollin wrote: Honestly, I've kept that option there because I keep thinking that *someone* who knows Mac OS X sound better than me (which is to say, almost anyone) would come along, bloody their nose on the non-functional checkbox, and fix it fo

Re: Memory leaks

2003-01-18 Thread Paul Tidwell
Eric, I had a similar problem recently. A program I had written years ago got these complaints in the newest emulator. I solved it by including: FrmCloseAllForms(); in my stop application function. Something I should have done all along, but did not realize I hadn't until recently. Perha

How to hide a menu

2003-01-18 Thread Ronnie van 't Westeinde
Hi, I have a menu structure containing 5 menus (let's say A - E) each of these containing several menu items. In my application I have four views (forms). In form 1, I'd like to see menus A, B and E In form 2, I'd like to see menus A, C, D, E In form 3 and 4, I'd like to see menus A and E How do

Re: How to hide a menu

2003-01-18 Thread Ronnie van 't Westeinde
Never mind. I was looking for some code to do it, but it turns out the Constructor supports several menu bars, one per form, which share menus amongst each other. Ronnie "Ronnie van 't Westeinde" <[EMAIL PROTECTED]> schreef in bericht news:109580@palm-dev-forum... > > Hi, > > I have a menu struct

Code Warrior 9

2003-01-18 Thread Zakaria OUSMAAL
Hi, Where can I download the demo version of Code Warrior 9 can you give me a link thanks. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Ronnie van 't Westeinde Envoyé : samedi 18 janvier 2003 11:01 À : Palm Developer Forum Objet : Re: How to hide a me

RE: Invalid insertion point position

2003-01-18 Thread Stringer
>Subject: Invalid insertion point position? >From: Dwight Tovey <[EMAIL PROTECTED]> > >I have a simple form consiting mainly of some labels, input fields, and >some buttons. > > > >When I draw the form everything seems to be OK, but in 'pose' when I tap >on the field I get an error message:

RE: code splitting help

2003-01-18 Thread dennis
> if your going to do anything like this, you should know exactly what > you are doing. as for seperating code into a .pdb - well, how you get > it there, i am not going to tell you.. but, if you want to run code > that is inside the .pdb, lock down the record, use a function pointer > and, execute

How to access String List Resource?

2003-01-18 Thread Susan
Hi, I have read the "Construtor for Palm OS" in the SDKs. It tells me to use the following code to access the sting lists resource: Char mystring[60]; SysStringByIndex(MyStringList,0,mystring,sizeof(mystring)); SysStringByIndex(MyStringList,1,mystring,sizeof(mystring)); So I add suc

Global Variable Question

2003-01-18 Thread Régis Daniel de Oliveira
Hy all! I need to write a string to a global variable tha will be accessed by 2 or more forms, but i don't know where to put it and how to access is from a form. Can anybody give-me a example? Thanks!!! -- For information on using the Palm Developer Forums, or to unsubscribe, please see htt

Re: Global Variable Question

2003-01-18 Thread Matthew Bevan
Done and done... this is a three-file example: --FILE 1: Globals.h-- extern Char *bob; --FILE 2: Form1.c-- (variable defined here) #include "Globals.h" Char *bob = "This is a global variable."; // access bob as you would any normal variable - anywhere --FILE 3: Form2.c-- (variable used here) #

Re: Splitting code/storing images...

2003-01-18 Thread Matthew Bevan
Most often the system will look in the most recently opened resource database first (then progressively going backwards) when using resources. This allows you to open a "datafile" resource database for things like graphics, and use fallbacks inside your application if nessicary. Spiff. As for

Re: Mac and PalmTraceLib Work-around

2003-01-18 Thread Florent Pillet
http://sourceforge.net/projects/osx-palm-tools Use my version of Palm Reporter (dubbed Cocoa Palm Reporter) and you have the source if you want to make changes / improvements. Patches are welcome ;-) Florent. On jeudi, jan 16, 2003, at 23:46 Europe/Paris, Keith Rollin wrote: If anybody is int

RE: Invalid insertion point position

2003-01-18 Thread Dwight Tovey
On Sat, 2003-01-18 at 07:59, Stringer wrote: > If you'd checked the archives, you'd have seen this issue discussed > on several occasions. Actually, I did check. A query on 'eGroups' came up empty. But going to 'eScribe' today turned up the old stuff. I'll try to remember to only look on eScrib

Creating file in Palm an tarnsferring them to PC ...??..

2003-01-18 Thread Niilo Minkkinen
Hi there. I read the documentation about Palm database and it seems to be clear. How to convert the database entry after HotSync to : - simple text file - Excel -datasheet ? Any info is welcome. Thanks in advance. Niilo Minkkinen -- For information on using the Palm Developer Forums, or to un

Re: How to hide a menu

2003-01-18 Thread Aaron Ardiri
> I have a menu structure containing 5 menus (let's say A - E) each of these > containing several menu items. In my application I have four views (forms). > > In form 1, I'd like to see menus A, B and E > In form 2, I'd like to see menus A, C, D, E > In form 3 and 4, I'd like to see menus A and E >

Re: code splitting help

2003-01-18 Thread Aaron Ardiri
> Eureka! I think I understand how to do this now. > > 1) Palm code in a prc must be location independent. As a corollary, >it must be "raw" instructions and data without any "loader" information. it should be native 68k code, without any globals, where it can start execution at offset = 0.

Re: Memory leaks

2003-01-18 Thread Stephan Veigl
Hi Eric > Some of them I really have no idea about since I don't > recognize anything on the stack. (I've attached a log file). It's your job to do the clean up. There's a good article and samples that may help you at: http://www.fifthgate.org/articles/palm_mem_leaks.html by(e) Stephan -- For

Re: Code Warrior 9

2003-01-18 Thread Ben Combee
At 14:36 2003-1-18 +0100, you wrote: Hi, Where can I download the demo version of Code Warrior 9 There is no demo version of CodeWarrior for Palm OS V9. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Palm OS programming help @ www.palmoswerks.com -- For information

Re: Global Variable Question

2003-01-18 Thread Stephan Veigl
Hi > I need to write a string to a global variable tha will be accessed by 2 or > more forms, but i don't know where to put it and how to access is from a > form. Not only, that global variables are bad style (ok, there are some, few reasons to use them), but most important: global variables won

Re: Global Variable Question

2003-01-18 Thread Régis Daniel de Oliveira
Hy! I tried the code bellow, but it's no working Can anybody tell me why? This is the code of where I'm trying to call the variable: // FILE global.h #ifndef GLOBAL_H_INCLUDED #define GLOBAL_H_INCLUDED //VAriavel Global - Nome do RCA Seleciona

I Cant Make my Globals Variables Working... Please HELP!

2003-01-18 Thread Régis Daniel de Oliveira
Does anybody have a source code of any app that uses Globals Variables??? I saw all the examples of the list, but none of that worked. The questions are: How to declare a global variable (I thing i a .h file) How can I read a Global Variable from a form? How can I set a new value into it? Than

Re: Mac and PalmTraceLib Work-around

2003-01-18 Thread Sean Charles
On Saturday, January 18, 2003, at 05:02 PM, Florent Pillet wrote: http://sourceforge.net/projects/osx-palm-tools Use my version of Palm Reporter (dubbed Cocoa Palm Reporter) and you have the source if you want to make changes / improvements. Patches are welcome ;-) Bookmarked, earmarked, loc

Re: I Cant Make my Globals Variables Working... Please HELP!

2003-01-18 Thread Oliver
> Does anybody have a source code of > any app that uses Globals Variables??? Anyone who has the SDK installed should have multiple. Did you check out the apps that come with it, e.g., ToDo or MemoPad? They all use global variables. Oliver __ D

Re: Global Variable Question

2003-01-18 Thread Ronnie van 't Westeinde
Wow, what are you doing? Several things go wrong here: 1. You're not using global data. Char *GlobalRCASel; is present within a function, which means it is just a local variable. Move it to outside the function block, at the start of the .c file. (Note that using global vars is not a

why no success with notification

2003-01-18 Thread nybxvc <[EMAIL PROTECTED]>
Hi! Why doesn't anything happen on tapping on abc from e.g. Memopad? I want to see my app (named NotifyTest) instead of the built-in keyboard after having terminated my app at least once for notification. (I notify here on quitting my app, to give the emulator a chance to get the notification.)

How to set background color?

2003-01-18 Thread Miken
Thanks for Chrisant's help! How to set background color,and how to set appointed area color? Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Mac POSE Problems

2003-01-18 Thread Stuart Eichert
On Sat, Jan 18, 2003 at 08:00:20AM +, Sean Charles wrote: > The only thing I carbonize regularly is toast for breakfast. The > Soda-Stream broke from over-use. Speaking of Carbon and serial ports (not that we were). Another important addition to the MAC version of POSE would be support for

Re: why no success with notification

2003-01-18 Thread Scott Dreslinski
Couple of things I see. sysNotifyKeyboardDialogEvent was only added for OS5.0. You mention the emulator below. There is no emulator for V5.0, so I assume you are testing this on a pre-V5.x OS? If so, then it's not going to do anything. Second extern Err SysNotifyRegister(UInt16 cardNo, LocalI

CW Code Completion

2003-01-18 Thread Edward P. Ross
I've seen a bunch of posts re: the code completion feature for CW. Does anyone know when a fix will be published or a patch to get this feature working? I've tried several different fixes that were posted but nothing seems to work. Thanks in advance, Ed -- For information on using the Palm

Re: Mac POSE Problems

2003-01-18 Thread C. B. Schofield
On 1/18/03 6:56 PM, "Stuart Eichert" wrote: > I wonder what a Cocoa version of POSE would be like? I would be afraid of diverging from the current source too much, since Mr. Rollins has been very good about keeping the Mac version up-to-date. Maybe I'm wrong, but it's possible it would be a disi

Memory Cleanup?

2003-01-18 Thread David McNab
Hi, When an application terminates (eg from user switching to another application), does the OS actually free up all memory allocated by the application? Is this happening in practice? I have to ask because of some strange things I'm seeing - eg when switching between dynamically created forms, o

Re: Memory Cleanup?

2003-01-18 Thread Chris Antos
See posts from yesterday and the day before. There are bugs in the OS APIs for dynamically created forms. That is probably where the corruption is coming from. "David McNab" <[EMAIL PROTECTED]> wrote in message news:109649@palm-dev-forum... > > Hi, > > When an application terminates (eg from use

Re: How to set background color?

2003-01-18 Thread Chris Antos
Can you be more specific? Do you mean "how do I change the background color for buttons?" Or do you mean "how do I draw a rectangle using a specific color?" Or do you mean something else? But have you read the docs on the color APIs? "Miken" <[EMAIL PROTECTED]> wrote in message news:109641@palm

Dynamic List Creation - pitfall and solution

2003-01-18 Thread David McNab
Hi, Some may be aware of this, but I'm posting this for benefit of others who aren't. When creating a list dynamically, its visible, usable and enabled bits must be explicitly set before the form containing the list is drawn. Example code: // list has already been created, but we now need its

Re: CW Code Completion

2003-01-18 Thread Ben Combee
At 18:30 2003-1-18 -0800, you wrote: I've seen a bunch of posts re: the code completion feature for CW. Does anyone know when a fix will be published or a patch to get this feature working? I've tried several different fixes that were posted but nothing seems to work. Did you read my big fat

DTMF tones with Tungsten T

2003-01-18 Thread josephkent
Hello everyone. I am looking for information which discusses how to play DTMF (telephone) tones through a Palm Tungsten T's speaker. Although I know the Tungsten has the hardware capability to do this, so far I haven't been able to find any information on how to do it. Does anyone have a pointer

Dynamic Dialog Creation?

2003-01-18 Thread David McNab
Hi, I'm failing to find anything in the PalmOS Prog Ref, so I'll ask here. How do I dynamically create a dialog box, with any number of buttons with labels of my choice? Is a dialog box really just a modal form, where the system adds a small bitmap, title, text label etc? If so, then should I c

Re: DTMF tones with Tungsten T

2003-01-18 Thread Ron Nicholson
josephkent writes: Hello everyone. I am looking for information which discusses how to play DTMF (telephone) tones through a Palm Tungsten T's speaker. Although I know the Tungsten has the hardware capability to do this, so far I haven't been able to find any information on how to do it. Does a

CW precompiled headers

2003-01-18 Thread Todd Walk
I've been on eScribe, and I still don't get it. How do I use precompiled headers? (From what I understand, they are basically put at the top of every compiled file.) I made a file called "Config.pch". I added this file to BuildHeaders.mcp. I built that project to make "Config" (using #pragma

Re: why no success with notification

2003-01-18 Thread Daniel Seifert
Am Son, 2003-01-19 um 00.45 schrieb nybxvc : Hi! > SysNotifyRegister(0, 'STRT', sysNotifyKeyboardDialogEvent , > NULL, sysNotifyNormalPriority, 0); The second parameter is not the creator ID of your application, but rather the database ID (rf. to the Ref Manual). Use SysCurrAppDatab

Palm OS 5 & hardware

2003-01-18 Thread Alexandre Kazantsev
Hi, I'm going to try Palm Tungsten T for data acquisition using the serial port. Is there any known problem with the port hardware? Is the OS 5 Serial Manager compatible with that in OS 4? Thanks in advance. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Dynamic List Creation - pitfall and solution

2003-01-18 Thread Aaron Ardiri
> // manually set attribs or list won't appear on form > listP->attr.usable = 1; > listP->attr.visible = 1; > listP->attr.enabled = 1; whatever happened to calling the API LstDrawList(listP) ? as for the usable and enabled attributes - they should never be set to false. where are you de