Re: How do you calculate device coordinates for use with EvtEnqueuePenPoint

2005-05-13 Thread RVRoadie
p;y, &isPenDown); if (y >= maxDigiY - 1) notDone = false; digiY[y] = point.y; } EvtFlushPenQueue(); "RVRoadie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I want to generate some simulated x,y pen taps from an AlarmTrigger. > > EvtEnqueueP

How do you calculate device coordinates for use with EvtEnqueuePenPoint

2005-05-11 Thread RVRoadie
I want to generate some simulated x,y pen taps from an AlarmTrigger. EvtEnqueuePenPoint works fine for this purpose on the simulator since it uses the same x,y coordinate system that the application event handler uses. However, on a device (Garmin iQue 3600), this function wants the hardware co

Re: How to generate a series pen taps after launching another application?

2005-04-27 Thread RVRoadie
Success! That technique works just the way I want it to. Thanks for you help. Tom - Original Message - From: "Michoel Chaikin" <[EMAIL PROTECTED]> To: "Tom & Rocki Blair" <[EMAIL PROTECTED]> Sent: Wednesday, April 27, 2005 5:17 PM Subject: re: Generating pen down events > Hi Tom, > >>

Re: How to generate a series pen taps after launching another application?

2005-04-27 Thread RVRoadie
I have tracked event notification in the simulator. The normal sequence observed in a user tap is penDownEvent, ctlEnterEvent, ctlSelectEvent. When I enqueue a penDownEvent, I observe the following: penDownEvent, ctlEnterEvent, ctlExitEvent. There is no ctlSelectEvent (which is supposed to be

Re: How to generate a series pen taps after launching another application?

2005-04-27 Thread RVRoadie
Thanks for the ideas. However, it had no effect. Still get a brief highlight on the penDownEvent, but it does not select the control as if the user tapped it. I'll keep looking for something that works. Tom "Michoel Chaikin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Tom, Pr

Re: How to generate a series pen taps after launching another application?

2005-04-26 Thread RVRoadie
I want to be able to generate a pen tap at any x,y point on the screen, as though the user did it. I don't (and can't) know anything about the particular control that I want to tap. My latest try was to seperate the penDown and penUp across the two different alarm notificaions. That produced ev

Re: How to generate a series pen taps after launching another application?

2005-04-26 Thread RVRoadie
Thanks for the alarm suggestion. Using the alarms seems to provide the desired results, however I am having trouble with the pen taps. For a test, I am launching the Address Book from my application, then the following code on the alarm trigger to tap a button on the Address Book screen. I can

How to generate a series pen taps after launching another application?

2005-04-25 Thread RVRoadie
I want to launch an application, then generate a series of pen taps. Launch works ok using: LocalID theDBID; UInt16 theCardNo; DmSearchStateType theSearchState; // Grab the id of the application we want to launch (the memo pad) DmGetNextDatabaseByTypeCreator(true, &theSearchState, sysFileTA

Re: Need to take Backup for Contacts records:

2005-02-21 Thread RVRoadie
If you goal is to get the address.pdb from the Palm to the Desktop, the only way I have found to do this is to copy the AddressDB file from Ram to the SD card using FileZ, then use an external card reader to transfer the file to the desktop. "prabakar.mp" <[EMAIL PROTECTED]> wrote in message

Re: Why does PilRC dither hi-res bmps?

2005-02-10 Thread RVRoadie
I can't find PRCExplorer. Where can I find it? Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: MemHandleUnlock vs MemPtrUnlock

2005-02-09 Thread RVRoadie
Thanks for the quick response. Thanks, Tom -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

MemHandleUnlock vs MemPtrUnlock

2005-02-09 Thread RVRoadie
I released a program with MemPtrUnlock instead of MemHandleUnlock. It worked fine, so I didn't catch it. Is it a problem? newUnpackRecH = DmNewHandle(AddrDB, AddrRecPackedSize(&addrRec)); newUnpackRecP = (PrvAddrPackedDBRecord *) MemHandleLock(newUnpackRecH); err = DmAttachRecord(AddrDB, &recNum

Re: What technique to determine active/inactive

2004-05-19 Thread RVRoadie
"Chris Faherty" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wednesday 19 May 2004 07:51 pm, RVRoadie wrote: > > > What technique is best for determining whether you are the active program, > > or you are receiving a background notification or

What technique to determine active/inactive

2004-05-19 Thread RVRoadie
What technique is best for determining whether you are the active program, or you are receiving a background notification or callback? Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

CategorySelect behavior when adding categories

2004-05-11 Thread RVRoadie
When I add a new category using 'Edit Categories...', CategorySelect returns 0, and does not change to the newly added category. Is there any way cause the newly added category to be returned?. Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http:/

Any way to save a PDB created in the Simulator

2004-05-07 Thread RVRoadie
I would like to save a PDB file from the Simulator, so that I can reload it later for subsequent testing, adding additional records, and resaving. Any ideas on how to accomplish this. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/d

How do you implement Scroll Button in PilRC

2004-05-07 Thread RVRoadie
I see scroll bars, and scroll buttons are mentioned in the Palm OS User Interface guidlines, but I can't find any other reference to them. How do you add them to an application? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/supp

I don't understand background processing

2004-04-09 Thread RVRoadie
I want to receive GPS notifications on a Garmin iQue to keep up an odometer application after a user switches application. I understand the library registration an callback setting, but I don't understand the program flow. Are global variables available to the callback routine, or do you read/sav

Can't connect CW Debugger to Garmin iQue 2600 USB

2004-04-01 Thread RVRoadie
The Garmin iQue has a USB cradle. In the CW debug settings I select 'palm device' and USB connection. When I start debug, I get a dialog about putting device in console mode. I use the Palmasrus app to do this, and WinXP seems to recognize the connection (with a dual tone). Next, I get a connecti

Re: C++/on palm

2004-03-21 Thread RVRoadie
I had a similar problem using MathLib in a C++ program. Solution was the following: extern "C" { #include MathLib.h } That got rid of the link errors. "SLO Revo News" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >>Is it necessary to use only filestreaming API's > > Yes. The

How do you change position of alert dialog?

2004-03-13 Thread RVRoadie
I have an application running on a Garmin iQue. Using their SDK, I can close the graffiti area, and use a 160 x 225 screen size for drawing. Using FrmAlert() displays dialogs at the bottom of a 160 x 160 screen size, which is in the middle of the screen. Any way to move that down to the bottom of

Re: Link error trying to use Mathlib

2004-03-07 Thread RVRoadie
Thanks, that solved the link error. When I created my app, I selected the C++ application wizard. Just assumed that was the right selection. I am too new at this to know the difference. "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 10:24 AM 3/7/2004, you wrote: >

Re: Link error trying to use Mathlib

2004-03-07 Thread RVRoadie
I just created a Test app using the CW 9.3 wizard, and included mathlib. Added these two lines: double x, y=2; x = pow(y, 2); Get this error on make: Link Error : Test.cpp: 'pow(double,double)' referenced from 'MainFormInit(FormType*)' is undefined. Project: Test.mcp, Target: Debug If I co

Re: Link error trying to use Mathlib

2004-03-05 Thread RVRoadie
ult; } What am I missing? "RVRoadie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I get a link error saying pow and sqrt are undefined. > > I have a sample app from Garmin that uses Mathlib, and I can add these > functions with no link error. > > I have

Link error trying to use Mathlib

2004-03-02 Thread RVRoadie
I get a link error saying pow and sqrt are undefined. I have a sample app from Garmin that uses Mathlib, and I can add these functions with no link error. I have mathlib.h included, mathlib.c in the project tree. Open and registration functions work fine. What am I missing? Thanks -- For inf

How do you sort out nilEvents

2004-02-29 Thread RVRoadie
I am messing with an application for a Garmin iQue 3600. It will simulate a 'Christma Tree' for starting a drag race. Since I want satellite data while the lights are staging, I was trying to use the EvtGetEvent(, timeout) to control light timing. It works fine on the simulator, but the device is f

Re: Need assistance with bitmap drawing

2004-02-14 Thread RVRoadie
Thanks again, I got focused on the WinDraw functions, and didn't even notice the WinPaint functions. In PilRC, I can't find any reference to what the transparent colors and index mean. Can you point me to an explaination of what these are. "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[E

Need assistance with bitmap drawing

2004-02-13 Thread RVRoadie
I am having trouble understanding bitmap drawing. I started in PocketC, and was able to draw a transparent bitmap (a chess piece) over some rectangles (a chess board) and control the foreground and background colors. In CW I can use rectangles to do the same thing using WinDrawRectangle, WinSetFor

How do you add a new simulator to CW9.2?

2004-02-12 Thread RVRoadie
In the debug settings preferences, you can select from among a number of simulators. I got a new one in the Garmin SDK that I can run manually, but how do I get it added to the dropdown list in CW. Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see ht

What are you using to create/edit bitmaps and icons?

2004-02-12 Thread RVRoadie
Tried MS Paint. left me wanting. Any suggestions for low cost alternatives? Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

How do you pause a program for a few milliseconds?

2004-02-10 Thread RVRoadie
In PockeC there is a wait() function. I can't find the CW equivalent in. This has go to be easy, but I can't find it. Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: begineer, Codewarrior

2004-02-09 Thread RVRoadie
Version 9 has a pretty decent tutorial. Check in this folder for the tutorial: C:\ProgramFiles\Metrowerks\CodeWarrior\CodeWarrior Manuals\MW Tutorial For Palm OS I was able to get started using that, and the C++ tutorial at http://www.cplusplus.com/doc/#tutorial Good luck "Teresa smith" <[EMAIL

Re: CW 9.2 socket Connection error to sim/emulator

2004-02-07 Thread RVRoadie
Success!! Your comments about McAfee got me to poking around.. Turns out that CW was blocked from internet access. Don't remember why I did that, but guess I am too paranoid. Allowing access corrected the problem. Thanks for your thoughts. "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[

Re: CW 9.2 socket Connection error to sim/emulator

2004-02-07 Thread RVRoadie
With POSE running, netstat -a shows the following relavent entry: TCP desktop:2000 desktop:0 LISTENING When I exit POSE, this entry goes away. Looks like PSOSE is ready for connection, but CW doesn't get there. Have tried using EndItAll to kill everything running, then try the CW to POSE connect

CW 9.2 socket Connection error to sim/emulator

2004-02-07 Thread RVRoadie
Launch of POSE or Sim works from CW. But debug or run from CW yields the following message: Attempting a socket connection to Palm OS Emulator or Simulator. Will timeout in 10 seconds... This is followed by a dialog box saying connection failed. I can drop a prc file one either emulator/simulat