Re: Palm OS 5 SDK Simulator expansion card problem

2002-07-29 Thread ScottP
tory structure and they should also show up on the Palm. Use something like 'Filez' to check that everything is visible if you have problems. ScottP "Alexander Galkin" <[EMAIL PROTECTED]> wrote in message news:92389@palm-dev-forum... > > I have problems emulating s

List of Creators of Applications on mounted VFS card - How?

2002-08-11 Thread ScottP
Hi, Is there a simple way to get a list of the creators of all the current applications (type 'appl' databases) on the currently mounted VFS card? I guess I'm looking for something along the lines of SysCreateDataBaseList() but that works across the VFS card. Is the only way to do this to iterat

Full screen app...

2002-08-14 Thread ScottP
apps. Any tips or advice would be great. Cheers, ScottP -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: determining the size of a record

2002-08-18 Thread ScottP
Rich, The way I've done it in the past is to get hold of the handle to the record (via DmQueryRecord) then get a MemPtr to this by locking the Handle, then just ask the size of the MemPtr (MemPtrSize()) ie. MemHandle handle = DmQueryRecord(dmOpenRef, index); MemPtrrecord = MemHandleLock(hand

Re: compile errors

2002-08-18 Thread ScottP
Bit hard to guess without seeing the code, but I'd start with the first error fix that then work down from there. Often earlier errors cause later ones. So > Callback.h:17: initializer element is not constant > Callback.h:17: parse error before `:' ...you need to have a look at your file Cal

Infrared introduction...

2002-08-28 Thread ScottP
Is there a good introduction anywhere to using the Palm infrared libraries for capturing and transmitting infrared signals..? I've played around with a few applications that can do this (such as OmniRemote and IrMonitor) but have been unable to find much information on how these actually work and

Programmatically closing a dialog

2002-09-04 Thread ScottP
How do you close a dialog from it's event loop for example I want to show a dialog using FrmDoDialog() but close it if the user hasn't tapped anything after 5 secs. I'm guessing I give the dialog an event handler and watch in nilEvents to see if the time limit has passed, but what code do I us

Re: MultiGen

2002-09-04 Thread ScottP
You should have it by default with prc-tools ... try using 'm68k-palmos-multigen' instead as the program name. "Geoffrey" <[EMAIL PROTECTED]> wrote in message news:94867@palm-dev-forum... > > Hi all, > > Does anyone can tell me where can I obtain the utility "multigen" ? > I had try to search on

Re: Programmatically closing a dialog

2002-09-04 Thread ScottP
toForm? Timer expires, call > FrmGotoForm(FormIWantToTakeTheUserTo); > > - Original Message - > From: "ScottP" <[EMAIL PROTECTED]> > Newsgroups: palm-dev-forum > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent: Wednesday, September 04, 2002 5

Re: MultiGen

2002-09-04 Thread ScottP
That's ok, have you just downloaded the tools recently as I have a suspicion that it did used to be called just 'multigen' or at least have an alias that would map from that. I re-downloaded everything the other day and it took me a while to find it again after one of my Makefile's suddenly stoppe

Re: display of password as "******"

2002-09-10 Thread ScottP
If you're meaning that you wish to do this as the password is entered then as a word of advice, people tend not to like this as there's no guarantee that the graffiti character you write is always the one that appears. Therefore PalmOS passwords tend to just be displayed - the screens so small it'

Re: What (if any) is the Palm commitment to PRC-TOOLS

2002-09-11 Thread ScottP
I have to go with the opinion that prc-tools is hard to set up for a novice. However I must say that after reading the help... http://prc-tools.sourceforge.net/install/cygwin.html ...and following it through, that it is simple, and probably only took about 5 mins (depending on download times). I

Re: streaming sound example on PalmOS 5 simulator

2002-10-02 Thread ScottP
Have you done a soft reset after you install the HostFS for the simulator? I've found that it needs that to get it set up correctly sometimes. "Chris Cutler" <[EMAIL PROTECTED]> wrote in message news:97058@palm-dev-forum... > > Hi palm-dev-forum, > > Has anyone been able to get the streaming soun

Gadget Resize...

2002-10-27 Thread ScottP
A few questions on gadgets... If at runtime I create an extended gadget [FrmNewGadget()] in my form with a particular size, is it possible to later move and resize the object ..? If not what's the best way to handle the drawing and selection of the object so that it appears to have been shrunk do

Calling a function in another .prc

2002-10-29 Thread ScottP
Hi all, Should really know this one, put can't seem to work it out correctly... How do I call a function in another .prc file inside my .prc and get it to draw something on the current active form of my .prc? I'm writing both .prc's so it's all under my control. 1) Can't work out how to call the

Re: Calling a function in another .prc

2002-10-30 Thread ScottP
Is it possible to use SysAppLaunch() if you don't set the program type (off the called database) as 'appl', as I can't seem to get it to work in this case..? Is this something I have wrong in my gcc settings or just a fact of the API. Otherwise how do I hide the icon with the gcc tool path? Cheer

Writing plugins

2002-11-03 Thread ScottP
I'm looking for advice on the best way to create 'plugins' for an application I'm writing. I'm hoping eventually to be able to just publish an API so anyone can write plugins for the program. I've been trying to work out how other programs do it, but the information appears to be hidden behind lice

CustomDraw Table on a dialog

2002-11-03 Thread ScottP
Anyone know how to create a custom draw table on a dialog...? Everything seems fine until I set one of my columns to have 'customTableItem' type and then later call TblSetCustomProcedure(). Then I get the error form.c, Line 1767, Object #601 in form #1000 is missing. The thing is form #1000 is my

Re: CustomDraw Table on a dialog

2002-11-03 Thread ScottP
or out at least. The question is what event should I do the initial TblDrawTable on - I don't appear to get a frmOpenEvent() or frmUpdateEvent() from FrmDoDialog(). Anybody know what event I may be able to catch - or how to cause one here...? Cheers, ScottP "ScottP" <[EMAIL

Tables and Scrollbars

2002-11-05 Thread ScottP
...? 'Palm OS Programming' doesn't appear to say how to tie them in to scrollbars successfully - unless I'm missing the obvious. Any tips would be great, Cheers ScottP -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Tables and Scrollbars

2002-11-05 Thread ScottP
Only problem is that I then have to buy CodeWarrior as well... :( and at the moment I can't justify that expense. "Mark Wilden" <[EMAIL PROTECTED]> wrote in message news:100180@;palm-dev-forum... > > From: "ScottP" <[EMAIL PROTECTED]> > > > >

Re: About dialer on treo series

2002-12-10 Thread ScottP
Why not just upgrade your version of Codewarrior to use the 4.0 SDK (or 5.0) rather than copying 4.0 files back to the 3.5sdk. I'm not sure what's in these files, but can't imagine that copying like this is going to work. Especially since if it ever does get past this error message the object files

Re: How to detect if a database is protected

2002-12-11 Thread ScottP
Mike, Not sure what the situation is that you want to know if it's protected, but you could try... 1) On OS4 listen out for the sysNotifyDeleteProtectedEvent when you try to delete it. 2) Call DmDatabaseProtect(cardNo, dbID, false) and see if it returns errNone or dmErrDatabaseNotProtected. Obvi

Re: TxtReplaceStr

2002-12-11 Thread ScottP
Chris, What did you want to know aside what is already in the Palm OS Reference document ..? Cheers, Scott "Chris Apers" <[EMAIL PROTECTED]> wrote in message news:104647@palm-dev-forum... > > Does anyone know how TxtReplaceStr works ? > > -- For information on using the Palm Developer Forums

Re: Accessing the Address Book data

2002-12-16 Thread ScottP
As Henk suggested you're nearly there, but you can't just write out the address record. Have a look at the Address source (from the examples) and investigate their use of the PrvAddrDBUnpack() function in addresdb.c and the structures it uses. What you get back from the record is a c structure, not