Eclipse help searching in editor?

2004-07-07 Thread kcorey
Hi All, One of the features that I truly miss from Falch.net's Developer Studio is the ability to type the first few letters of a function, and press F1 to see the help on that particular function. That way, I could type 'DmCreate', and then press F1 to see a list of the functions offered with th

Re: Eclipse help searching in editor?

2004-07-07 Thread kcorey
On Wed, 2004-07-07 at 22:53, Ben Combee wrote: > While Palm OS API help is build into the PODS environment, > context-sensitive help isn't enabled right now. It is something we would > like to add in the future. Yep, I'm sure many users would appreciate that too. It's one of the biggest reason

Re: PalmOS<->PockectPC x-dev API's

2004-07-10 Thread kcorey
On Sat, 2004-07-10 at 00:21, Jeffrey Peacock wrote: > I have a client who wants to develop and app > that will run on PalmOS (4.x+) and PocketPC (??). If you needed just graphics, you could try GAPIdraw or SHARK, but it sounds like you need full API compatibility, so in C, AFAIK, you're pretty muc

Re: Indexing algorithm for index file for a dictionary

2004-07-13 Thread kcorey
On Tue, 2004-07-13 at 17:01, Nur wrote: > What would be the most efficient algorithm to use for an index file for an > modifiable dictionary database (where words can be inserted or removed)? > Factors to be considered: searching speed, addition/deletion speed, index > file size etc. > Algorithms t

PODS 1.0 debugging and viewing global variables?

2004-08-16 Thread kcorey
Hi All, Likely a silly question, but in PODS 1.0, while debugging an application, I can't seem to figure out how to display the global variables in the variable display. Local variables, and paramater variables all show up just fine, it's globals that I can't get to display. Anyone know how to g

Re: PODS 1.0 debugging and viewing global variables?

2004-08-16 Thread kcorey
On Mon, 2004-08-16 at 18:35, Ben Combee wrote: > >Off the top of my head, I think you have to select the variable, go to the > >Expressions tab in the Debug view, right click on it, and select Add New > >Expression. I also think that this works only when the application is > >stopped in the deb

Re: PODS 1.0 debugging and viewing global variables?

2004-08-17 Thread kcorey
On Tue, 2004-08-17 at 08:05, kcorey wrote: > On Mon, 2004-08-16 at 18:35, Ben Combee wrote: > > >Off the top of my head, I think you have to select the variable, go to the > > >Expressions tab in the Debug view, right click on it, and select Add New > > >Expression.

Re: FrmGotoForm / FrmReturnToForm(0)

2004-09-23 Thread kcorey
On Thu, 2004-09-23 at 11:08, Steve wrote: > I've got quite a few pop-up forms in my Application which I invoke with FrmGotoForm > and then close with FrmReturnToForm(0). > > On the Palm Garnet Simulator I get a "memorymgr.c, Line:3752, Free ptr" error when > FrmReturnToForm(0) is invoked. This

NR70 Emulator is pathetic...any solutions?

2002-09-17 Thread kcorey
Hi All, I'm trying to use the NR70 Emulator. It's based on POSE 3.4 which runs the 515 ROM at a much better clip (not real-time, but good) and I'm running it on an Athlon 2000XP machine with 512MB RAM and Windows XP. That *should* be enough machine for most jobs, yes? It's worth saying that th

NR70 and KeySetMask...

2002-09-17 Thread kcorey
Has anyone else had any troubles with the KeySetMask command on the NR70? For some reason, it doesn't mask, which means that the hard keys will exit my game and send the user to another application. KeySetMask works on the same emulator using a different ROM, (as well as on my Visor hardware) so

Direct Screen Access and multisegments

2002-09-18 Thread kcorey
Hi All, I'm looking for some advice here. My app is now big enough that I've needed to start using multi-segmented code. My environment is WinXP, running falch.net studio 2.6.2, Pose 3.4, m505 ROMs emulating a 515 device. So, everything is working up to a point, and I decide to add some functi

Re: Direct Screen Access and multisegments

2002-09-19 Thread kcorey
B) and not have to worry about those pesky segments any more... -Ken On Thu, 2002-09-19 at 13:41, Anton Tomanek wrote: > May be I didn't catch something but pointer to address 0x1ffa seems to > me bit strange, because I can't imagine m505 with more then 1GB(yes one > g

Re: How to streamline debugging w/ PRC-Tools?

2002-09-19 Thread kcorey
On Thu, 2002-09-19 at 22:55, Tilo Christ wrote: > I have recently started to work more intensively with > PRC-Tools. I miss one capability of CW, namely the ability > to automatically transfer a PRC-file to the POSE emulator > before debugging begins. Essentially, with CW, I pushed one > butto

Re: Big forms

2002-09-20 Thread kcorey
On Fri, 2002-09-20 at 15:55, Aaron Ardiri wrote: > > Hi all, newbie here. Is it possible to create a wide form or gadget, say > 300 > > pixels, which can then be scrolled across the screen? I tried messing > around > > with Window functions and other things but couldn't do what I wanted to > do. >

Re: Re: Big forms

2002-09-20 Thread kcorey
On Fri, 2002-09-20 at 20:15, Al Smith wrote: > I am sorry Ken, I am trying to get to your link but it seems to be having > problems ,maybe u can send another way to get to it. > >Pick it up at http://www.kencorey.com/kscrollbar.zip Drat. I've updated the file on the web site. Sometimes, I'm s

Re: Big forms

2002-09-20 Thread kcorey
> The built-in OS scrollbar has supported horizontal scrolling since > 3.3 or 3.5. Even before then, it basically worked, but just didn't > look correct. (It only knew how to draw up and down arrows, so the > visual look was very bad!) > > I see the docs don't say anything either way about h

Re: Fast NR70 Emulator

2002-09-20 Thread kcorey
Ta muchly. On Fri, 2002-09-20 at 22:33, Red Mercury wrote: > There have been some, ahem, complaints about the speed of the Sony NR70 > emulator, so I thought I'd download the source and see if something could be > done about that. > > Lucky me, I didn't have to do anything - in the source distri

Re: Sony Clie help

2002-09-24 Thread kcorey
This would only apply on a device that is running OS5.0. On a Sonly Clie, you wouldn't be calling Sony's high resolution library, so the device will likely think your application is a standard 160x160 application. If it's only fonts you're worried about, turning on the High Res assistant might p

Re: Sony Clie help

2002-09-24 Thread kcorey
On Tue, 2002-09-24 at 15:07, Ron Clabo wrote: > Thanks so much for the quick reply and good information. Any tips on where > I can find more good Clie development information (other than sony)? *sigh* I don't know what I was thinking...I should have included this information earlier. The site y

Trying to use WinSetPattern to grey the screen out.

2002-09-26 Thread kcorey
Wow...I thought I would whip this nice little eye-candy effect onto the palm, and it's turning into quite a bother. I wonder if anyone else has seen this and fixed it in a simpler way...(or if I've really done something moronic with my code...;^). When the user clicks on the screen, I want to gr

Offtopic:upgrading a III to OS 3.5.3?

2002-09-28 Thread kcorey
Hi All, Got a silly question. I want to use a spare Palm III as a testing palm, but my software requires, at the moment, OS 3.5 or better. The III has OS 3.3 installed. On looking at the Palm web site, it says that the III can run up to OS 3.5.3, which is great...except for the fact that the 3

Ugh...form madness!

2002-10-01 Thread kcorey
Hi All, Here's a strange one. First, the background: Running on Pose 3.4, platform41_Vx_full_Dbg_enUS.rom, 8192K on device, Windows XP, all debugging options turned on, except for screen access. My game didn't use forms at all up until now because it handled all output to the screen by itself.

Re: RE: Ugh...form madness!

2002-10-02 Thread kcorey
Thanks for writing, all. For anyone else who runs into this, I've figured it out (PalmDebugger is your friend). What happens in my program: 1) the form is popped up 2) the user interacts with it 3) The user closes the form 4) The closing of the form posts a "window exit event" according to the O

Re: RE: Ugh...form madness!

2002-10-02 Thread kcorey
On Wed, 2002-10-02 at 09:46, Matt Hebley wrote: > We ran into a similar problem when using a non-modal form before a modal > form. The problem only manifested itself when our app was launched by an > installer, and not when launched by the Launcher. > > We got a fatal on OS4.0 devices, and emulat

Anyone interested in being a beta tester?

2002-10-04 Thread kcorey
Hi All, I thought I'd open this up to fellow developers first to get feedback. I'm now in the polishing stages of my first released game "'roids". If you're interested in beta testing, you can pick it up here: http://www.flippinbits.com/roids.shtml I'm very interested in hearing how the speed

RE: Anyone interested in being a beta tester?

2002-10-04 Thread kcorey
On Fri, 2002-10-04 at 17:35, Scott Johnson wrote: > From: kcorey [mailto:[EMAIL PROTECTED]] > > I'm now in the polishing stages of my first released game "'roids". > > Well, the title of this game makes me think of something different than > giant spac

RE: Anyone interested in being a beta tester?

2002-10-04 Thread kcorey
On Fri, 2002-10-04 at 19:40, Scott Johnson wrote: > From: kcorey [mailto:[EMAIL PROTECTED]] > > While I'd just /love/ to take credit for something that rude, > > I'm afraid it wasn't intentional at all. > > Further, under the "beam it to everybody" d

Anyone else seen Strange low-memory access on Sony emulator?

2002-10-08 Thread kcorey
Hi All, I'm seeing some strange errors that make me very suspicious. Inside MemPtrNew and MemPtrFree, I'm seemingly randomly getting low memory access to 0x0073, and then a pattern between these addresses: 0x0014, 0x0018, 0x001c and 0x001d. The stack traces look like this: Calling MemPtrFre

Anyone have a piggy program for memory debugging?

2002-10-08 Thread kcorey
Hi All, I've recently found a bug that didn't surface during initial testing, because it only appears when my program loads above a certain spot in memory. This means that I need to find (or write) a program that can force my program to load at a higher place in memory and to test for low-memory

Re: RE: Anyone have a piggy program for memory debugging?

2002-10-08 Thread kcorey
On Tue, 2002-10-08 at 19:52, Hal Mueller wrote: > I'm still trying to figure out what Piggies and 'Roids have in common :) Aside from the fact that 'roids lived up to its name for a day or two because of memory issues, not much... *smile* -Ken -- For information on using the Palm Develope

Re: Anyone have a piggy program for memory debugging?

2002-10-09 Thread kcorey
On Thu, 2002-10-10 at 04:35, JB Parrett wrote: > Are you using the Emulator with debug ROMs? Use the latest POSE (3.5) and > the OS 4.1 debug ROMs with all the debug checks turned on and run Gremlins. > POSE does a pretty thorough job of looking for memory accesses in forbidden > places, and the d

Re: calculation goes wrong ...

2002-10-09 Thread kcorey
On Thu, 2002-10-10 at 07:43, Sebastian from Berlin/Germany wrote: > > Hey, > > if i run the following code: > > Int16 count[6]; > char counterlabel[40]; > Int16 p, all,allcards; > > count[1]=2000; > p=(100*count[1]); > StrPrintF (counterlabel,"Box 1 - %d cards (%d %%) - %d", > count[1],p,coun

Re: Trailing Char at the end of a Pointer string

2002-10-23 Thread kcorey
On Wed, 2002-10-23 at 15:59, Aaron Ardiri wrote: > > From: "Aaron Ardiri" <[EMAIL PROTECTED]> > > > > > > while, we are on the subject :P lets summarize :) > > > > > >str[index] = 0; > > >str[index] = '\0'; > > >str[index] = NUL; > > > > Did you try to compile that? > > sure.. >

Re: Rare problem with DlkGetSyncInfo?

2002-10-23 Thread kcorey
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 HotSync ID on the device. It works in ALL testing on Pose, and > in all real-world cases - except ONE. > > A single user with an m515 can't register the softw

Re: Trailing Char at the end of a Pointer string

2002-10-23 Thread kcorey
On Wed, 2002-10-23 at 16:36, Aaron Ardiri wrote: > > str[index] = '\0'; > > > > If you're talking about integers, why not always: > > > > myInts[index] = 0; > > well, mainly cause an integer array doesn't have a "null terminator" > C strings require a '\0' character on the end to mark the end

Re: Transparency?

2002-10-20 Thread kcorey
On Mon, 2002-10-21 at 04:50, Dan wrote: > Hi everyone. I am looking to place a bitmap on an offscreen surface using a > transparent color key. Now, according to the documentation, you cannot set > a transparent color key with the BmpGlueSetTransparentValue( ) that will > work on offscreen surface

Re: Transparency?

2002-10-22 Thread kcorey
On Tue, 2002-10-22 at 12:09, Ram Prasad.J wrote: > > > I tried a few things, but the only thing I got to work on a majority of > > devices was: > > 1) call WinCreateOffscreenWindow > > 2) draw the bitmaps in question into that (forget the transparency for a > > second). > > 3) call BmpGlueSetTrans

Re: Re: Games on the Palm

2002-10-22 Thread kcorey
On Tue, 2002-10-22 at 14:03, Martan wrote: > Is there a way to blit directly to the screen for games ? It rather changes depending on what version of the OS you're targeting and what level of performance you're trying to achieve. Start at looking at WinCreateOffscreenWindow, WinCopyRectangle, and

[Fwd: Re: Re: To what does type 'a68k' correspond in OS5?]

2002-10-23 Thread kcorey
On Wed, 2002-10-23 at 07:49, Aaron Ardiri wrote: > > Isn't it quite expensive there in the north? Come down to Berlin, I=20 > > spend you one or two of the locale beers... >=20 > 45 - 60 Sek for a beer :) now, whats that in US$? :P $5-7$ :P=20 >=20 > not that bad is it? Sorry Aaron, that actu

Re: Trap buttons without handler

2002-10-24 Thread kcorey
On Thu, 2002-10-24 at 01:20, Mike wrote: > After searching the archives, I see how the main event loop needs to trap > the hard button press events before they are sent to the system event > handler. Then you can process them any way you want. > > Speed is an issue in my app and I use a lot of nil

Anyone have the palm font in a Windows font or true type font?

2002-10-25 Thread kcorey
Hi All, I'm doing some screen mock-ups in a paint program on a PC, and would like to have fonts that looked pretty close to the Palm fonts. At the moment, I'm using 8 point Ariel Narrow. It's close enough for government work, but I'd like to get something dead-on, if I could. Anyone? -Ken

Re: Anyone have the palm font in a Windows font or true type font?

2002-10-25 Thread kcorey
On Fri, 2002-10-25 at 15:59, Ben Combee wrote: > >I'm doing some screen mock-ups in a paint program on a PC, and would > >like to have fonts that looked pretty close to the Palm fonts. > > Handspring has a developer utility called RscEdit available for download > from their site. It comes with a

Re: Re: Draw a circle!

2002-10-12 Thread kcorey
This is /almost/ the code I use in my 'roids game to draw a shield. Very fast, and fairly pretty. As you can see, it's *quite simple*, which translates into fast. pow_setPixel is the same as WinSetPixel, basically, I'm just using my own code to draw the pixel. Note, I took out some stuff that de

Re: Re: Draw a circle!

2002-10-12 Thread kcorey
Hrm...my code got chopped out by the list server. You can find it at http://www.flippinbits.com/quickcircle.txt. -Ken On Sat, 2002-10-12 at 20:17, kcorey wrote: > This is /almost/ the code I use in my 'roids game to draw a shield. > Very fast, and fairly pretty. As you can see,

Re: "...just changed the emulated program counter..."

2002-10-26 Thread kcorey
First off, let me say these are shots in the dark...but it sounds kinda similar to 3 experiences I had under POSE. The first one was happening because I was running a debug ROM. The symptom is different, but the address beginning with 0x800* makes me think of it. WinSetDrawWindow(NULL) was being

Re: adding registration keys

2002-10-28 Thread kcorey
These are my experiences and thoughts about shareware registration/distribution. If anyone else has found and is willing to talk about solutions to these issues, I'd love hearing about it. Having released shareware I realise how valuable code can be to a developer, but copy protection is IMNSHO s

Re: scrolling bitmap being displayed on top of modal form (pilrc/gcc)

2002-10-28 Thread kcorey
On Mon, 2002-10-28 at 08:06, [EMAIL PROTECTED] wrote: > is it normal for a moving bitmap to be displayed on top of a modal form? on > my main form i have a bitmap scrolling from right to left, when i bring up > my 'preferences' form the bitmap is drawn on top, i thought all drawing on > the main fo

Re: adding registration keys

2002-10-28 Thread kcorey
On Tue, 2002-10-29 at 06:20, Ben Combee wrote: > Both PalmGear and Handango require that shareware versions of your > applications that are downloaded from their sites direct users back to > their sites to register the software. I think this is fair -- would you > expect WalMart to let you sell

Horizontally Scrolling Fields? Is there a standard solution?

2002-11-15 Thread kcorey
Hi All, I'm working on a form interface with several fields. The fields are about 20 characters visible, but are described in the .rcp as having 512 characters of storage. They work until the user has entered over the visible number of characters, and then after that, for each character pose dis

Re: Re: Horizontally Scrolling Fields? Is there a standard solution?

2002-11-16 Thread kcorey
On Fri, 2002-11-15 at 19:58, Mark Wilden wrote: > I can't help with your problem, but I think this UI might be difficult for > the user. If they really need/want to enter hundreds of characters, a 20 > char, single-line text field isn't the way to go, it seems to me There are times when you don't

Re: Re: Horizontally Scrolling Fields? Is there a standard solution?

2002-11-16 Thread kcorey
On Fri, 2002-11-15 at 20:21, Henk Jonas wrote: > I had the same problem with my RegistrationTool (see Handango, it comes > with source) and I solved it with using a multiple line field and only > display one line. If the user enters more characters as fit in one line > the field will scroll to t

Categories and Playing with the maildb...

2002-11-17 Thread kcorey
Hi All, A specific question: how could I go about programmatically adding a category to a given database? (I don't want to have to call CategorySelect (or even CategoryEdit)). I've tried Finding the first zeroed out category name, and calling CategorySetName, but it didn't work. I think I'm run

Re: Re: Horizontally Scrolling Fields? Is there a standard solution?

2002-11-18 Thread kcorey
On Sat, 2002-11-16 at 16:27, Mark Wilden wrote: > > Anyway, fields really do kick butt. Set them to be multiple line, but > > only display one line, and you get almost the perfect effect. Sweet! > > Sorry I missed it, but does that have the effect of scrolling vertically? If > so, that sounds goo

Proper display of 'i' help on non-modal form?

2002-11-30 Thread kcorey
Hi All, I am developing an application, and I want to provide help on all of my forms, even non-modal forms. An interesting thing, if you set the help string in PilRC, compile and then run the app, it actually works correctly, inverting the round in the corner, and displaying the help. The only

Multisegment wrestling...

2002-12-01 Thread kcorey
Well, the app I'm working on has grown to the point where I'm starting to really wrestle with multiple segments. I can usually shuffle things around to get them to work, but it seems a highly arbitrary way to work. I'm using Falch.net's Developer studio 2.7 and PRC-tools. I've tried going into

PhoneNumberLookupCustom on pre-4.0 devices?

2002-12-04 Thread kcorey
Hi All, I thought I'd ping the list before reinventing the wheel this time, just for a change of pace. I found this great function PhoneNumberLookupCustom that lets me specify what it is that I'm looking up, and happily implemented it (without reading the comments all the way through), only to re

Re: Scroll Bars w/Tables in PalmOS5

2002-12-10 Thread kcorey
On Tue, 2002-12-10 at 22:58, DeVon Fowler wrote: > Are there any glue or helper functions to assist using > Scroll Bars with a table in Palm OS5? Don't seem to > be able to recognize which area of a scroll bar has > generated the sclEnterEvent or sclExitEvent without > accessing the attr structure

Re: Scroll Bars w/Tables in PalmOS5

2002-12-11 Thread kcorey
On Wed, 2002-12-11 at 08:05, Henk Jonas wrote: > Or you are just a lazy guy and rip of some lines of code from the > memopad example source from palmsource ;-) Hey, that makes too much sense. You stop that _at once_! Seriously though, the book is a great buy, assuming you have the time to read

Re: using Visual Basic to program Palm OS [long]

2002-12-11 Thread kcorey
I can't believe I'm playing in the flame-baiting sandbox, but what the heck. My basic position is that if you only know one language, you haven't begun to explore the space. Arguing passionately for a single language means either 1) you make your money from that language or 2) you haven't explore

Re: using Visual Basic to program Palm OS [long]

2002-12-11 Thread kcorey
*smile* Depending on your language religion, you may/may not find this interesting...but there's a Tcl/Tk port to the palm. (http://palm-tcl.sourceforge.net). As I understand it, you do the development on the PC and it gets compiled and then sent to the Palm. Some people consider the problem spa

Re: Re: using Visual Basic to program Palm OS [long]

2002-12-11 Thread kcorey
On Wed, 2002-12-11 at 22:25, Paul R. wrote: > > ...but I've been a card carrying geek (tete d'ampoule) for a while now. >=20 > Bulb head? That's a weird one. Does it imply egghead? (t=EAte d'oeuf?) *smile* I was just on a contract in Switzerland. The first French word I learned from a native was w

Re: Recv beamed PRC w/o confirmation dlg. Then launch it.

2002-12-17 Thread kcorey
This sounds like a kinda bad idea. If you could get a program loaded without user intervention, what's to stop you from creating a virus launcher on your palm pilot and walking through the airport, infecting all the palm pilots that you see? -Ken On Fri, 2002-12-13 at 01:38, Jeff Ishaq wrote: >

Re: Clearing (or filling) the screen with a certain color?

2002-12-31 Thread kcorey
On Tue, 2002-12-31 at 15:39, Edward J. Stembler wrote: > Anyone know the proper way to clear or fill the entire screen using a > certain color? > > I have a Form Bitmap which is susposed to fill the entire screen, however, > there is an annoying white frame around the bitmap which is only 1 or 2 >

Re: Create many tables in a PDB?

2003-01-05 Thread kcorey
>Does any method create many tables(each table has different structure) in > a PDB on Codewarrior? >I use the function:DmCreateDatabase() with the attribute:att=false for > Create PDB? Hi Trinh, Databases are indeed just a single pile of records. You can define the structure of each recor

Re: Displaying any rectangle area of a JPG file

2003-01-06 Thread kcorey
It seems that the eyemodule folks have done a lot of the heavy lifting already. Take a look at this library on this page: http://www.eyemodule.com/developer/index.asp It's not full display functionality, you'll have to do that yourself, but it's a pretty good head start. -Ken On Tue, 2003-01-0

Is it possible to use da launcher on a Tungsten?

2003-01-07 Thread kcorey
I know hacks don't work, but I don't know enough about how da launcher hooks into the OS to know if DA Launcher works on OS 5. Anyone know? -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

On Tungsten T, is anyone else getting "dynamic memory" errors in the launcher?

2003-01-07 Thread kcorey
Hi All, Just got a Tungsten T yesterday, and starting loading it up with all sorts of things. Some things worked, and some crashed, as expected, but I've run into something that's quite frustrating. First, the device reports only 14MB of memory, not 16MB, and second, if I have less than 3.5MB of

Re: On Tungsten T, is anyone else getting "dynamic memory"

2003-01-08 Thread kcorey
On Wed, 2003-01-08 at 08:20, Linke, Andreas wrote: > I got first hit by this bug when I tried to HotSync my brand-new TT from the >previous OS 4 backup. Even reset w/o notifications wouldn't help, so I had to start >over from scratch. > > Later I read in various news groups about a supposed laun

HighDensity drawing examples with offscreen bitmaps?

2003-01-08 Thread kcorey
Hi All, I'm (attempting) to update my game to support high density graphics, with offscreen bitmaps. I'm having so much trouble attempting to get it to work, I just know that I'm doing something horribly wrong. First off, I've read the section in the Programmer's companion (section 4) "Drawing o

Idea for a Tungsten App?

2003-01-08 Thread kcorey
Hi All, Having to open my Tungsten to get to the Launch or Menu silkscreen button is starting to get old, so I thought maybe it's time to write something that gets around it. I was thinking about creating a Desk Accessory that when selected would send a vchrLaunch or vchrMenu keyDownEvent to the

RE: HighDensity drawing examples with offscreen bitmaps?

2003-01-08 Thread kcorey
On Wed, 2003-01-08 at 20:03, Danny Wong wrote: > when you create your offscreen bitmap you need to pass in the screen format > as "nativeFormat" and not "screenFormat". Try that it works for me. Well, what do you know. That did work. I feel a bit silly for not having tried that. *smile* Now, o

Re: Re: Idea for a Tungsten App?

2003-01-09 Thread kcorey
Nope, didn't know that's where to start. I'll have a look now, thanks! -Ken On Thu, 2003-01-09 at 07:42, Markus Dresch wrote: > did you have a look at the notification manager? (palm os programmer's > companion) > > markus dresch (www.palmside.com) > > &

Re: Re: Idea for a Tungsten App?

2003-01-09 Thread kcorey
On Thu, 2003-01-09 at 07:49, Oliver wrote: > > Having to open my Tungsten to get to the > > Launch or Menu silkscreen button is starting > > to get old, > > I don't have a Tungsten handy, but I thought > I read that holding down the middle button of > the 5-way navigator launches the launcher?

Re: Re: Idea for a Tungsten App?

2003-01-09 Thread kcorey
> > Best regards, > -Mark > > > On Thursday, January 9, 2003, at 03:48 AM, kcorey wrote: > > > *This message was transferred with a trial version of CommuniGate(tm) > > Pro* > > On Thu, 2003-01-09 at 07:49, Oliver wrote: > >>> Having to op

How do I tell which window is 'live' after a FrmDoDialog?

2003-01-09 Thread kcorey
Hi All, Got a bit of a strange situation, and was hoping someone could shed some light on what might be going on here. My game starts up, loads its main form, and starts into the main event loop. Click the menu silk button, and get appropriate Exit/Enter events. Click it again, menu goes away, a

Re: Re: How do I tell which window is 'live' after a FrmDoDialog?

2003-01-09 Thread kcorey
y remain as the focused window, but only have having done a FrmDoDialog. Weird. -Ken On Thu, 2003-01-09 at 16:18, kcorey wrote: > Hi All, > > Got a bit of a strange situation, and was hoping someone could shed some > light on what might be going on here. > > My game starts up

Getting the source for PalmOS 5.0?

2003-01-09 Thread kcorey
Hi All, Does anyone know if Palm is going to (or already has) released the source code for PalmOS 5.0 like they did for PalmOS3.x & 4.x? I'm a registered Palm Developer, but I haven't yet registered for the Plugged-In program. Are there any software resources there that can't be had somewhere el

Re: Re: Newbie: Whats up with PalmOS Databases

2003-01-11 Thread kcorey
On Sat, 2003-01-11 at 02:07, Joe Biron wrote: > So I'm wondering how this simple app will play out as a database. Is it 2 > databases? One for the exercise names and one to track the sets? and would I > store the record index You could do it as two databases, or you could put all the records in on

Re: Re: Interesting alternative to tabs...

2003-01-11 Thread kcorey
On Sat, 2003-01-11 at 00:23, Matthew Bevan wrote: > > Why not use a popup list box on upper right corner? > > See Pref application to have an idea. > > Because this is a modal dialog, there is no "space" there for me to put it. In general, wouldn't it be a good idea to follow the interface exampl

Does stream on Tungsten?

2003-01-11 Thread kcorey
Hi All, I've got my code successfully compiling against OS5, and when it's run checking for the existence of the Sound Stream Feature Set, and then playing a sampled sound during gameplay in the simulator. This works like a peach. The Palm OS 5 documentation I have, however, says that you must c

Re: Table with Horizontal Scrolling

2003-01-12 Thread kcorey
On Mon, 2003-01-13 at 19:26, Jayanarayanan M N wrote: > I have a table with five columns. The display looks very ugly with all of them in >one screen > > http://www.palmos.com/dev/support/docs/ui/UI_Scrolling.html says that Palm does not >support horizontal scrolling( third party tools does prov

Anyone have example code for SndCreateStream?

2003-01-14 Thread kcorey
Hi All, For PalmOS5.0, I tried using SndPlayResource in my game, but when sounds overlapped there was a god-awful snapping and popping, and after 30 seconds or so, the device just locked solid. My suspicion is that when many sounds are happening all at nearly the same time, the buffers SndPlayRes

Re: Anyone have example code for SndCreateStream?

2003-01-14 Thread kcorey
ideas what might be going wrong here? (Or code examples that split multiple simultaneous, asynchronouns sounds across this sound stream interface?) -Ken On Tue, 2003-01-14 at 13:46, kcorey wrote: > Hi All, > > For PalmOS5.0, I tried using SndPlayResource in my game, but when sounds >

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

Re: Line routine

2003-01-17 Thread kcorey
Hi Dan, There are a few line drawing routines for you to search for...Bresenham's, of course, and midpoint, which is faster. A good starting point for these algorithms and the algorithm to draw wider lines is the book "Computer Graphics: Principles and Practice", by Foley, Van Damm, Feiner and Hu

Re: Line routine

2003-01-17 Thread kcorey
Section 3.9 talks about approaches to take, but doesn't give example code. You might be able to find the code for the book translated into C. It seems to me I remember finding that once. Anyone else seen this? I looked but don't have the code samples anymore. -Ken On Fri, 2003-01-17 at 10:50,

Re: Re: Line routine

2003-01-17 Thread kcorey
Oh, 'rout66.ro'. I guess shipping would be a bit expensive, wouldn't it? I'll send you directly my bookmarks that I stumbled across when I was researching graphics (the group won't let me attach the bookmarks to a message). If anyone else needs them, drop me a line. -Ken On Fri, 2003-01-17 at 1

Re: Help - getting field text from field ID??

2003-01-17 Thread kcorey
On Fri, 2003-01-17 at 13:33, David McNab wrote: > I'm coding a function which needs to return the text contents of a > field, given only the field ID. > > The FldGetTextPtr() function reqires the field ptr as an argument, which > makes life hard. You're likely looking for 'FrmGetObjectPtr'. In t

SD memory versus Multimedia memory?

2003-01-17 Thread kcorey
Hi All, Anyone know if there is any practical difference between Secure Digital Memory cards and Multimedia Card memory? The secure digital memory seems to be twice as think (perhaps just over 1mm rather than just under 1mm thick. It's enough so that one of my players won't accept SD flash cards

Re: SD memory versus Multimedia memory?

2003-01-17 Thread kcorey
ts MM cards so you're stuck > using SD, CF or Memory Stick. > > - Original Message - > From: "kcorey" <[EMAIL PROTECTED]> > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent: Friday, January 17, 2003 10:00 AM > Subject: SD memory

What happens to deleted records in a database?

2003-01-22 Thread kcorey
Hi All, I've got a database open with, say 9 records numbered 0-8. I remove the first record using DmRemoveRecord, and then create another record with DmNewRecord. I get the uniqueID for the new record and store it (the unique ID for this record *is* different than that of the deleted record).

Re: error: crt0.c:35: multiple definition of 'start'

2003-01-23 Thread kcorey
On Thu, 2003-01-23 at 09:56, Marco Pantaleoni wrote: > On Thu, Jan 23, 2003 at 10:45:37AM +0100, Marco Pantaleoni wrote: > > > > By the way, I'd bet my pants that using `start' in a program is > > safe, since the `start' in crt0.o should be `_start' actually. > > > > I guess I've losed my pants.

Re: Popup List with Separator Lines

2003-01-23 Thread kcorey
On Wed, 2003-01-22 at 19:32, Mike McCollister wrote: > Does anyone have an examples on how to create a popup list with the separator > lines in it like the colors list in the Palm OS 5 Simulator has? Hi Mike, Basically, you set up your draw function for the list, and anytime an item in your list

Re: Deploy App over the internet

2003-01-23 Thread kcorey
If you're going to insist that your user install .pdb files, why not handle the situation where they forgot/ignored you/didn't read the readme gracefully? You have to open those databases, right? If they're not there, you could handle that return code, and pop up a dialog box saying "Hey loser,

Re: Re: DmNewResource In Unsaved Preferences, Why?

2003-01-23 Thread kcorey
Hrm, without looking at the code, it's difficult to say, but the docs say that DmNewResource creates a resource in a given database. The first arguement is a database pointer. Isn't this the pointer in which the resource is created? In detail: MemHandle DmNewResource(DmOpenRef dbP,DmResType res

Question about multi-segment code

2003-01-24 Thread kcorey
Hi Guys, I'm trying (in vain) to get my head around exactly what makes a function legal to put into other segments and what doesn't. I've got a function called 'AdjustScrollbar' defined like this: void AdjustScrollbar(FieldPtr fld, ScrollBarPtr scl) { UInt16 scrollPos, textHeight, fieldH

Re: Question about multi-segment code

2003-01-24 Thread kcorey
On Fri, 2003-01-24 at 20:09, John Marshall wrote: > On Fri, Jan 24, 2003 at 11:17:26AM +, "kcorey" wrote: > > When it's in the default segment [sic], it works perfectly. > > > > When it's in another segment, I get an address error, and it crashes. &

Re: Question about multi-segment code

2003-01-25 Thread kcorey
On Sat, 2003-01-25 at 11:01, John Marshall wrote: > Ken Corey wrote: > >> You are, of course, compiling with "-Wall"? > > > > I hadn't been compiling with -Wall. I put -Wall in, got [...] > > a couple 'implicit declaration of function' errors. > > ...one of which related to the call of AdjustScr

Re: Re: SysRandom

2003-01-26 Thread kcorey
Hi Geoffrey, I don't think sysRandomMax can be changed, Geoffrey. What you do instead is to get the modulus (remainder after division) like this: short result = SysRandom()%5; If you're programming a game, you should know that a '%' operation is actually a divide, and is to be avoided. What yo

Re: Disable HiRes in Clie

2003-01-27 Thread kcorey
For features added beyond OS 2.0, there's a feature that lists whether it's present or not. To check for Sony High Res functions, do something like this: // If Sony, get window system information if (!FtrGet(sonySysFtrCreator, sonySysFtrNumSysInfoP, (UInt32 *)&infoP)) { //

  1   2   >