Please - don't kick me out of the group if I say - "Satellite Forms"

2002-02-15 Thread Geoff Thompson
At the risk of blasphemy, I wanted to pose the question to hardcore Palm developers about Satellite Forms... I have developed a prototype application, and as I test it with POSE, I get many memory leaks (POSE 3.4 thankfully logs them to a file rather than pop them up one at a time)... The protot

Passing fields between forms

2002-03-25 Thread Geoff Thompson
to any of them, and they set the handles and display the contents just fine... Sorry for all the code - as I said, there must be a better way! Any ideas or suggestions would be greatly appreciated! Geoff Thompson -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

CtlSetLabel from Database Field

2002-04-04 Thread Geoff Thompson
. UnpackRec(recP, packedRecP); // Change button label, show it ctlP = GetObjectPtr(buttonIndex); CtlSetLabel(ctlP,recP->textField); CtlShowControl(ctlP); Thanks, Geoff Thompson [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please

Re: CtlSetLabel from Database Field

2002-04-04 Thread Geoff Thompson
Thanks. "Steve Mann" <[EMAIL PROTECTED]> wrote in message news:82801@palm-dev-forum... > > >Does the recP > >variable lose scope when exiting the routine? If so, where should I put the > >string? In a global? > > Yes. Yes. > > Regards, > Steve Mann > > -- For information on using the Palm D

Handles and Pointers, oh my!

2002-04-05 Thread Geoff Thompson
grammer? Thanks in advance - Geoff Thompson [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Handles and Pointers, oh my!

2002-04-05 Thread Geoff Thompson
almost certainly never came from a handle. > > -bob mckenzie, palmsource pdx > > -Original Message- > From: Geoff Thompson [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 05, 2002 9:31 AM > To: Palm Developer Forum > Subject: Handles and Pointers, oh my! > > > I am

How do I update a field handle on the 'calling' form from the form loaded by FrmPopupForm?

2002-04-09 Thread Geoff Thompson
r is there an event I can trap somewhere to let me know the Popup form has closed, so I need to refresh the updated field? Thanks, Geoff Thompson [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How do I update a field handle on the 'calling' form from the form loaded by FrmPopupForm?

2002-04-10 Thread Geoff Thompson
event gets called twice, and #2. It doesn't refresh the field. I tried looping through the fields calling FldDrawField(i) and that didn't do it either. What am I missing? Geoff "Geoff Thompson" <[EMAIL PROTECTED]> wrote in message news:83283@palm-dev-forum... >

Adding an Address record from my application?

2002-04-15 Thread Geoff Thompson
ld be appreciated! Thanks, Geoff Thompson -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Palm PIM Source Code

2002-04-22 Thread Geoff Thompson
A quick question: I am developing a variation of the Address Book application developed by Palm. I have the source code (made available with CodeWarrior), but am I able to use the source code freely in my own application? Even if that application is being developed for re-sale? I've been searc

Re: Palm PIM Source Code

2002-04-22 Thread Geoff Thompson
to be saying that you cannot resell programs built using the sample code--whereas the paragraph you mention describes annotating code that you "distribute internally". Am I mis-reading this? Geoff "Joe" <[EMAIL PROTECTED]> wrote in message news:84530@palm-dev-forum

Re: Palm PIM Source Code

2002-04-23 Thread Geoff Thompson
Meantime, I assume others have developed derivative products and re-sold them without issue, providing of course they include the copyright notice required by Palm? Geoff "Joe" <[EMAIL PROTECTED]> wrote in message news:84566@palm-dev-forum... > > --- Geoff Thompson <[EMAIL PR

To use Pdi or not to use Pdi, that is the question...

2002-05-22 Thread Geoff Thompson
with 3.5, but there seems to be compatibility problems with certain objects (like UDAExchangeWriterNew). Bottom line: should I skip the PDI and use 3.5 sample code for writing out PIM objects if I want my app to work on PalmOS 3.5? Thanks, Geoff Thompson -- For information on using the Palm

Exchange Dialog

2002-05-22 Thread Geoff Thompson
unclear from a compatibility standpoint what the correct way to handle this is... Thanks, Geoff Thompson -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Can I call Global Find from my app?

2002-05-23 Thread Geoff Thompson
Can I call the Global Find from my application, and pass it a string to find (so it will bypass the user-input step and go right to the find results)? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

2nd post - Exchange Dialog Question

2002-05-27 Thread Geoff Thompson
There is a note in the Palm OS Programmer's Companion Volume II (page 19) that says PalmOS 4.0 allows the exchange library to turn off the user confirmation dialog. Is there a way for me (as an Exchange Manager user) to prompt the Local Exchange Library to skip the confirmation? Geoff Tho

2nd post - PDI Usage in 3.5

2002-05-27 Thread Geoff Thompson
compatible with 3.5, yet there are compatibility problems with certain objects/methods--like UDAExchangeWriterNew. Bottom line: should I skip the PDI sample code in 4.0, and use 3.5 sample code for writing out PIM objects if I want my app to work on PalmOS 3.5? Thanks, Geoff Thompson -- For

Can I turn off user prompt programmatically when using Local Exchange Library?

2002-06-03 Thread Geoff Thompson
I want to send a vcard from my app to the Address app without requiring the user to 'accept' it...can I turn off the user prompt programmatically? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Call Global Find Programmatically?

2002-06-03 Thread Geoff Thompson
I want to pass a string from my application to the global find, and have it display the search results. Can I do this? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Link Error : [file].c: '__wswtch__' referenced from '[Form]HandleEvent' is undefined

2002-07-16 Thread Geoff Thompson
I searched the archives and see lots of Link Errors - any clues on this one? Is there a reference somewhere where I can figure out what __wswtch__ even is? I have multiple targets in my project, and the full debug target works fine, so I'm sure it's just a target setting of some sort, but I've be

Target Settings for Hack?

2002-07-27 Thread Geoff Thompson
I am trying to build a Hack based on DemoHack, that comes with CodeWarrior (I'm using Version 8). My patch target and my ControlPanel target both compile cleanly, and so does my Debug target. But when attempting to compile my Hack target, I get the following error: Error : There are duplicate

Re: Target Settings for Hack?

2002-07-28 Thread Geoff Thompson
Ben: When I try to make the hack target, this is coming up as an error, and is preventing the prc from being made. If I try to compile the underlying "AbcHack.r" file separately (I used DemoHack and "DemoHackResPreOS35.r" as my example), prior to making the target, I get the same error. Is ther

Re: Target Settings for Hack?

2002-07-28 Thread Geoff Thompson
> If you have more than one Constructor-created resource file in your > project, you will get this error. You can get rid of it by combining > all the resources into one resource file. This is an alternative, although I would prefer to keep the resource files separate (one is separate from the ha

Re: Target Settings for Hack?

2002-07-29 Thread Geoff Thompson
"Ben Combee" <[EMAIL PROTECTED]> wrote in message news:92322@palm-dev-forum... > It is happening at the Rez level, not the linker level, which is why you > see an error, not a warning. I suggested that you not link your > Constructor resources into the project until the final Hack target -- > d

Re: Forms in hacks Was: Re: Target Settings for Hack?

2002-07-30 Thread Geoff Thompson
"Linke, Andreas" <[EMAIL PROTECTED]> wrote in message news:92452@palm-dev-forum... > Keep in mind that your code runs in the currently active application, just as if it were a part of it. Every form id you use in your hack may already be loaded in the active app. This makes displaying your own f

Re: Target Settings for Hack?

2002-07-30 Thread Geoff Thompson
"Ben Combee" <[EMAIL PROTECTED]> wrote in message news:92443@palm-dev-forum... > The big one is that if you want to open additional forms, you need to > DmOpenDatabase on your hack database before trying to open anything > else, so your hack opens your own form, and not the form of the running >

Re: Forms in hacks Was: Re: Target Settings for Hack?

2002-07-31 Thread Geoff Thompson
s ResLoadForm, which calls DmGetResource (Why not DmGet1Resource here???), so in this case, you might get the application's form instead of your hack's form. Kevin -----Original Message- From: Geoff Thompson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 5:54 PM To: Palm D

Rare problem with DlkGetSyncInfo?

2002-10-23 Thread Geoff Thompson
s not contain any weird characters - and again, when I configure POSE with his User Name - I am able to register without a problem. Is there some strange circumstance/configuration out there that the following would not work with? Am I doing something wrong? Any feedback would be appreciated! Thanks,

Re: Rare problem with DlkGetSyncInfo?

2002-10-23 Thread Geoff Thompson
ir Palm? Thanks, Geoff "kcorey" <[EMAIL PROTECTED]> wrote in message news:99077@;palm-dev-forum... > > On Wed, 2002-10-23 at 16:13, Geoff Thompson wrote: > > I am using the following routine to check my generated registration key > > against the HotSy

WinScreenMode - Changing bit depth from a sub-program (that has been SysAppLaunched)...

2002-10-23 Thread Geoff Thompson
do differently? Any help or advice would be appreciated. Thanks, Geoff Thompson -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

CreatorID vs Database Name

2002-12-13 Thread Geoff Thompson
I have a situation where I have a unique CreatorID but a duplicate Database Name. What happens to the 'old' application when I install the 'new' one? It appears that it is written over, as it disappears from the Launcher menu, and from the App > Delete menu. If this is the case, what about the Pr

PalmRez Warning on Latin chars

2002-12-13 Thread Geoff Thompson
I am using international characters, so have included "CharLatin.h". Though everything seems to be working just fine, I get the following warning in CodeWarrior when building the app: PalmRez Warning: Possibly invalid character 0xb6 (ΒΆ) is present in resource RTSt ID=4200. I do not get this on a

Re: Problems changing/restoring screen depth for a "helper" form

2003-01-24 Thread Geoff Thompson
"Chris Antos" <[EMAIL PROTECTED]> wrote in message news:110439@palm-dev-forum... > > > I would like to utilize the max color depth that is available on the > > device, but find that when I use WinScreenModeGetSupportedDepths > > /WinScreenModeSet to up the depth and then restore it prior to > > un

Re: Problems changing/restoring screen depth for a "helper" form

2003-01-24 Thread Geoff Thompson
Oops - pls disregard my previous post. :) > > You need to WinSaveBits the screen before changing depth, and WinRestoreBits > afterwards. But the WinSaveBits may fail due to not enough memory. So in > that case you have to post a frmUpdateEvent instead of calling > WinRestoreBits. I thought tha

Re: Problems changing/restoring screen depth for a "helper" form

2003-01-28 Thread Geoff Thompson
> > As far as the Frm functions go, if you use them correctly then yes [the > form's initial] FrmDrawForm() saves the bits behind the form, and the > default handler for frmCloseEvent restores the bits or notifies the form > behind it to update itself. > Actually, in testing this, it seems that I a

Re: Problems changing/restoring screen depth for a "helper" form

2003-01-28 Thread Geoff Thompson
"Chris Antos" <[EMAIL PROTECTED]> wrote in message news:110967@palm-dev-forum... > > > > As far as the Frm functions go, if you use them correctly then yes [the > > > form's initial] FrmDrawForm() saves the bits behind the form, and the > > > default handler for frmCloseEvent restores the bits or

Catch-22 - Alert in form event handler's frmOpenEvent (Hack)

2003-02-15 Thread Geoff Thompson
I display a 'welcome' alert via FrmAlert the first time the prefs are written in my hack. Because it is a hack, I cannot do this in the AppStart routine, so the first time the prefs are read (and the alert is displayed) is in the code that initializes the control panel form when handling frmOpenEv

Database showing separately in App Launcher

2003-06-06 Thread Geoff Thompson
I use the same Creator when creating my database, but it shows up separately in the App Launcher. Yet, when I delete the program (via "App > Delete"), the database is also deleted. What am I doing wrong? -- For information on using the Palm Developer Forums, or to unsubscribe, please see htt

Re: Database showing separately in App Launcher

2003-06-06 Thread Geoff Thompson
> Your application does have type 'appl', right? Are there any other apps > with that same creator code on the device? > Actually, no. It is a...ahem..."HACK"... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Database showing separately in App Launcher

2003-06-06 Thread Geoff Thompson
"Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > At 12:48 2003-6-6 -0500, Geoff Thompson wrote: > >I use the same Creator when creating my database, but it shows up separately > >in the App Launcher. Yet, when I delete the program (vi

Tungsten-C differences?

2003-06-30 Thread Geoff Thompson
? I would like to avoid having to go buy a T|C just for testing purposes... Any advice would be appreciated. Thanks! Geoff Thompson -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

sysNotifyKeyboardDialogEvent in OS 5?

2003-07-01 Thread Geoff Thompson
My program registers for the "sysNotifyKeyboardDialogEvent" notification in OS 5, but I have discovered that the latest and greatest Tungsten-C devices do not appear to be broadcasting this notification. The "Palm OS Programmers API Reference" states in Chapter 3 that "future versions of the OS ma

Tungsten-C - what happened to sysNotifyKeyboardDialogEvent?

2003-07-08 Thread Geoff Thompson
this question? Though many of the licensees have their own forum, I don't see one for Palm SG. Thanks, Geoff Thompson -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

sysNotifyVirtualCharHandlingEvent and the Voice Memo Hardware Key on T/T2/T3

2003-10-07 Thread Geoff Thompson
seem right...am I missing a Palm SG header file? And, similar to NavSelect, this event seems to be executed by the OS prior to being passed to the notification handler. Are these keys intentionally different? Is there a priority I can use to override the OS behavior? Thanks in advance - Geof

Re: sysNotifyKeyboardDialogEvent works on T-C simulator!!

2003-10-08 Thread Geoff Thompson
FYI - sysNotifyKeyboardDialogEvent is not being posted by the new T3, either - in the Simulator or (I suspect) on the real device. "Edmund" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I see! Anyway, thank you very much! Hope Palm can do something on this > problem. I really don

Re: sysNotifyKeyboardDialogEvent works on T-C simulator!!

2003-10-09 Thread Geoff Thompson
rights should be posting the event. "YAMADA Tatsushi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > It's posted when user choose "Keyboard" from edit menu. > > Geoff Thompson wrote: > > > FYI - sysNotifyKeyboardDialogEvent is

Voice Memo Button Notification (2nd post)

2003-10-09 Thread Geoff Thompson
Sorry to re-post, but I'm stuck on this one... Previous posts to this forum mention vchrHard5 as the virtual character that gets posted by the Voice Memo button. This is true when my app has control of the event loop, but I when I try to pick it up via sysNotifyVirtualCharHandlingEvent, vchrHard5

Re: T3 Sim.. "G"s?

2003-10-09 Thread Geoff Thompson
Yes! I see the same thing - "Jeff Mitchell" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Does anyone else notice spurious "G"'s popping up all over the T3 > sim? > > ie: Fire up the sim (using the correct EFIGS rom!), and go to the > launcher. Toggle virtual grafitti up and d

Re: Voice Memo Button Notification (2nd post)

2003-10-09 Thread Geoff Thompson
"Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > At 11:16 AM 10/9/2003, Geoff Thompson wrote: > >Sorry to re-post, but I'm stuck on this one... > > > >Previous posts to this forum mention vchrHard5 as the virtual character

Re: Override Voice Memo Button on Tungsten-T

2003-10-09 Thread Geoff Thompson
"Phil Lachmann" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > I would like to voice memo button on a Tungsten T and restore it properly > upon exiting my application. > > I found from other posts that the button char is vchrHard5 and I can use > this to override. I need to pro