FrmReturnToForm

2003-06-04 Thread Chris Apers
Hi, Does FrmReturnToForm generate an event to the returned form ? I need to redraw a part of my main form after each call to another form. Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Why won't it auto-shut-off?

2003-06-04 Thread Ryan Bruner
I posted this problem several days ago, but didn't get feedback on it... I have an application that creates alarms. WHen an alarm fires, I use the Trigger event to sound the alarm, and then the Display event to pop up a FrmCustomAlert dialog to the user. (I cannot use the PalmOS alert

Re: another newbie with 'Free handle' error

2003-06-04 Thread Brian Preston
Thanks for your reply, but I'm still confused. I have a matching MemPtrFree for each MemPtrNew, and a matching MemHandleUnlock for each MemHandleLock, and I have the MemPtrFree after the MemHandleUnlock. Is that not right? --- In [EMAIL PROTECTED], Matt Hebley [EMAIL PROTECTED] wrote: You have a

Re: Problem on Double Density in ICONFAMILYEX

2003-06-04 Thread Eric Lo
Ben Combee wrote: At 00:07 2003-6-3 +0800, Eric Lo wrote: Hello, I am using Pilrc 2.9p10 on CW8 trying to build a double density icon, however, it always shows the low-density one. I don't know why, when I delete the low-density one, the simulator crash. Here is my code. ICONFAMILYEX

Re: MsaTimeToSu

2003-06-04 Thread ThuNguyet Nguyen
Hi, Do i need to set each element of a MsaTime var in order to obtain the Sound Unit with MsaTimeToSu or can i just set the .frame element ? UInt32 startsu; MsaTime time = {0, 0, frame}; MsaTimeToSu(_msaRefNum, time, startsu); I set time.minute and time.second, I never use the time.frame.

Getting number of pen events in the queue

2003-06-04 Thread Rodolphe Bréjaude
Hello, I want to use the method EvtDequeuePenPoint() to retreive a pen event, but this method crashes if there is no Pen events in the queue. How can I know if there are pen events in the system queue? Any ideas or methods? Thanks Rodolphe. -- For information on using the Palm Developer

Re: Problem on Double Density in ICONFAMILYEX

2003-06-04 Thread Ben Combee
At 22:30 2003-6-3 +0800, Eric Lo wrote: Ben Combee wrote: At 00:07 2003-6-3 +0800, Eric Lo wrote: Hello, I am using Pilrc 2.9p10 on CW8 trying to build a double density icon, however, it always shows the low-density one. I don't know why, when I delete the low-density one, the simulator

Re: another newbie with 'Free handle' error

2003-06-04 Thread Hal Mueller
At 7:21 -0700 6/3/03, Brian Preston wrote: Thanks for your reply, but I'm still confused. I have a matching MemPtrFree for each MemPtrNew, and a matching MemHandleUnlock for each MemHandleLock, and I have the MemPtrFree after the MemHandleUnlock. Is that not right? Yes, it's not right. You are

Re: Problem on Double Density in ICONFAMILYEX

2003-06-04 Thread Eric Lo
Well. I can compile my rcp in GCC with PilRC 2.9p9 and the hi-res icon is OK. I suspects there is some bugs in the CW plugin as I can't find any app icon in the constructor. At 22:30 2003-6-3 +0800, Eric Lo wrote: Ben Combee wrote: At 00:07 2003-6-3 +0800, Eric Lo wrote: Hello, I am

Re: another newbie with 'Free handle' error

2003-06-04 Thread Hal Mueller
Aha, here's the problem I think: recH = DmQueryRecord(gDB, i); if (recH) { recP = (MissionDBPtr)MemHandleLock(recH); if (recP-level == mission.level) { index = i; } MemHandleUnlock(recH); The MemHandleUnlock call should go up one

Re: Problem on Double Density in ICONFAMILYEX

2003-06-04 Thread Ben Combee
At 00:18 2003-6-4 +0800, Eric Lo wrote: Well. I can compile my rcp in GCC with PilRC 2.9p9 and the hi-res icon is OK. I suspects there is some bugs in the CW plugin as I can't find any app icon in the constructor. In the meantime, I'd suggest upgrading to CodeWarrior for Palm OS V9. It

Re: FrmReturnToForm

2003-06-04 Thread Laurie Davis
If you call FrmUpdateForm before you return, a frmUpdateEvent will be sent to the returned form. Laurie Chris Apers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Does FrmReturnToForm generate an event to the returned form ? I need to redraw a part of my main form after each

Re: Multithreaded Problem

2003-06-04 Thread Jeff Ishaq
At 12:38 PM 6/2/2003 -0700, you wrote: Hi Folks, From the API references for Palm OS 5 we know there is no exposed multithread APIs as well as synchronous tools (semaphore, mutex, etc). If I try to develop an multithreaded application, how should I do it or negotiate with some organizations? I

Re: FrmAlert and vchrHard Keys

2003-06-04 Thread Scott Heffron
Al, Thanks for the information, I was not aware of this. I will check into creating my own modeless screen for our alerts. Scott Albert J. Franklin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Scott, As I understand it from discussions on the NSBasic/Palm forum, the

Re: Multithreaded Problem

2003-06-04 Thread Ming Huang
Thanks Jeff, It seems the only way is write our own platform to schedule the tasks, like most RTOS does. Ming - Original Message - From: Jeff Ishaq [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 10:05 AM Subject: Re:

Re: PDA Conferences?

2003-06-04 Thread Jeff Ishaq
At 04:25 PM 6/2/2003 -0400, you wrote: Dear Form Members, Does anyone know of any conferences that are at least in part dedicated to PDA interfacing or software engineering? Look for PalmSource 2004 this February-ish. That's my favorite. I think you will mostly find platform-specific

Re: FrmAlert and vchrHard Keys

2003-06-04 Thread Jeff Ishaq
At 03:27 PM 6/2/2003 -0600, you wrote: I have written an application that needs to bypasses the system workings of the 4 hardware buttons. Depending on the version of Palm OS you're targeting, one option is to work with the Preferences Manager. For example, you could set the

Re: Setting custom file attributes?

2003-06-04 Thread Jeff Ishaq
At 09:32 PM 6/2/2003 -0400, you wrote: I'm wondering if I can use VFSFileGet(Set)Attributes to set my own custom flag for a file. The attributes is a 32-bit number, but the OS only seems to be using the lowest 8-bits or so and the rest are undefined (according to the File and Directory Attributes

Re: FrmAlert and vchrHard Keys

2003-06-04 Thread Scott Heffron
Thanks Jeff, I am actually using the vchrHard keys in the application, so that our sales force and perform certain actions in individual screens. Not all screens have this need, but a few do. I also worry about confusing our outside sales force with re-launching the application. They would

ctlValidatePointer not available.

2003-06-04 Thread Todd Niec
I am debugging a program under the emulator and when I call crlValidatePointer I get a message box saying the function is not available. The docs I have say that the function is available in Palm OS 3.0. when I call FtrGet() to get the ROM version with sysFtrNumRomVersion I get a value of 0x0352

Turning off alarm off

2003-06-04 Thread Danny Wong
HI, I'm trying to turn off the system alarm sound in my app with PrefSetPreference(prefAlarmSoundVolume, 0L); and then turn it back on again. when I goto the Prefs app it shows the Alarm = OFF (correct) but when I goto diddlebug and set an alarm for 3 seconds the alarm actual sounded. If I

Re: ctlValidatePointer not available.

2003-06-04 Thread Keith Rollin
At 2:36 PM -0500 6/3/03, Todd Niec wrote: I am debugging a program under the emulator and when I call crlValidatePointer I get a message box saying the function is not available. The docs I have say that the function is available in Palm OS 3.0. when I call FtrGet() to get the ROM version with

SDIO on Zire 71

2003-06-04 Thread Geoff
Does the Zire 71 support SDIO -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: SDIO on Zire 71

2003-06-04 Thread Oliver
Does the Zire 71 support SDIO According to the specs on the Palm SG site, yes. http://www.palm.com/products/handhelds/zire71/details.html __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- For

Bitmap conversion with ImageMagic

2003-06-04 Thread denis golovan
Hi everybody, Has anybody tried converting win bmp to .pdb with ImageMagic and then viewing it on handheld. The problem is that IM creates .pdb record database, not resource database. Is there any way I can lock the handle on bitmap and view it with WinDrawBitmap? Thank You, Denis Golovan

Re: Setting custom file attributes?

2003-06-04 Thread John Marshall
On Mon, Jun 02, 2003 at 09:32:02PM -0400, Richard Coutts wrote: I'm wondering if I can use VFSFileGet(Set)Attributes to set my own custom flag for a file. The attributes is a 32-bit number, but the OS only seems to be using the lowest 8-bits or so and the rest are undefined (according to the

Re: STL and POL worth it?

2003-06-04 Thread Matt Graham
I'm trying to incorporate some of the POL containers into my otherwise non-POL application. However, when I include POL.h, I get the following error: Error : illegal struct/union/enum/class definition (included from: POL.h:249 myFile.cpp:5) POLDateTime.h line 32 class CDateTime : public

Re: Setting custom file attributes?

2003-06-04 Thread Jeff Ishaq
At 10:50 PM 6/3/2003 +0200, you wrote: On Mon, Jun 02, 2003 at 09:32:02PM -0400, Richard Coutts wrote: I'm wondering if I can use VFSFileGet(Set)Attributes to set my own custom flag for a file. The attributes is a 32-bit number, but the OS only seems to be using the lowest 8-bits or so and the

Re: POL CGrid class

2003-06-04 Thread Brad Figler
Maks Pyatkovskiy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've hard-coded 3 because I like rounded corners. That is a great answer!!! But SelectFullRow() is virtual function, so you can completely override the selection. Thanks, I never looked in the header to realize this.

Re: Setting custom file attributes?

2003-06-04 Thread John Marshall
On Tue, Jun 03, 2003 at 02:58:49PM -0700, Jeff Ishaq wrote: I advised that if the files are in the PDB format, then that custom flag may be stored in the appInfo block; if the files are in raw format [...] Thanks for the summary; I did actually read your posting. It seemed to me that the

Re: Problem on Double Density in ICONFAMILYEX

2003-06-04 Thread Eric Lo
Is it possible to use the executable of PilRC instead of the plug-in in CW8? At 00:18 2003-6-4 +0800, Eric Lo wrote: Well. I can compile my rcp in GCC with PilRC 2.9p9 and the hi-res icon is OK. I suspects there is some bugs in the CW plugin as I can't find any app icon in the constructor.

Re: How to capture screen and save as bmp on high resolution device?

2003-06-04 Thread Miken
Who can help me?Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Codewarrior and STL

2003-06-04 Thread Kristian Penno
Has the STL implimentation shipped with Codewarrior been updated since version 7? KP -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Setting custom file attributes?

2003-06-04 Thread Stuart Eichert
Rich, I would assume not. Since the underlying file system (most likely FAT) would not support your custom attributes these calls should fail or have undefined behavior. Perhaps you could store this extra attribute data in a file? Stuart On Mon, Jun 02, 2003 at 09:32:02PM -0400,

How to add a Scorll Bar in Form?

2003-06-04 Thread Liu Song
Hi folks, As you know, the Palm Screen is limit, but in my application, I want to put a lot of controls to a form, such as Labels, Fields and Lists as well. How can settle this problem? I want add a Scroll Bar to Form, How can I achieve that? -- For information on using the Palm Developer

Multi-segmented Shared Library

2003-06-04 Thread Sergio . DelValle
Hi all, I've seen an interesting implementation of a multi-segmented shared library splited into two or more .prc files. In this implementation all of the databases have the same creator id, and just one of them has the 'libr' type, the other ones are resources databases with just one resource

is there any XML parser for Palm OS 5?

2003-06-04 Thread Song Liu
Hi folks, Is there any XML parser for Palm OS 5? If there is, let us share with it. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: STL and POL worth it?

2003-06-04 Thread Maks Pyatkovskiy
Configuration of POL projects differs from the configuration of non-POL projects. There another compiler options, prefix files, library files and segments reallocation. It's better to use the same options and link to the same lib files like Starter application created by CW9 POL App Wizard

How to check screen is high density?

2003-06-04 Thread Sean Yang
Hi, I used: WinScreenMode(winScreenModeGetDefaults, width, height, gOldDepths, NULL); to get the screen width and height, but in Palm OS5 simulator, the function returns width = 160, height = 160, not 320x320, why is this? I installed my appliction to Zire71, it's will get the same result,

Tab, Serial input graph control support in Code warrior

2003-06-04 Thread Phani, Kishore (IE10)
Hello, Iam using Code warrior version 8.0 demo version for our UI based application development. I could not see serial input control Tab control support in the Palm Constructor. Also a graphical control (Line/rectangle) support should be ideal. Can anyone guide me ? (either in code or through

Re: How to capture screen and save as bmp on high resolution device?

2003-06-04 Thread Rodolphe Bréjaude
I have found one shareware Screenshot.prc If you want I can mail you if you give me a valid e-mail. bye - Original Message - From: Miken [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 3:32 AM Subject: Re: How to

Re: Application Icon animation

2003-06-04 Thread Jefferson
Hi Matthew, How to change the application Icon under different conditions? I read thro' the SDK for accessing the Resource database. We have methods to find,create,delete,read,Retieve, modify resize the resource id. I want to understand how we would replace a bitmap resource to the application

Can PRC file modify it's own resources to give is a different icon under different circumstances?

2003-06-04 Thread Jefferson
Is it possible for an application to change it's resources under different conditions? I read thro' the SDK for accessing the Resource database. We have methods to find,create,delete,read,Retieve, modify resize the resource id. I want to understand how we would replace a bitmap resource to the

Re: Return back after Hotsync

2003-06-04 Thread iyad abu-shaera
I tried the following code to return back after hotsync: case sysAppLaunchCmdSyncNotify: cmdPBP-purgeAlarm = true; SysCurAppDatabase( cardNo, appID ); AlmSetAlarm( cardNo, appID, 10101, TimGetSeconds() + 5, 0 ); break; case sysAppLaunchCmdAlarmTriggered:

linker error

2003-06-04 Thread swatts
I made a sample project in code warrior the one which is given in its documentation,BUt after adding resources i tried to compile and run it but ti gives linker error ie PALMREZ ERROR:can't find pict#0 for tbmf#1000. how to debug and what to do .how we have to go abt it? can anyone help me. and

menu

2003-06-04 Thread Chris Apers
Hi, Is there a way to close a menu when a form receive an update event ? Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Can PRC file modify it's own resources to give is a different icon under different circumstances?

2003-06-04 Thread Jefferson
Hello All, I got the code to get my application's name at run-time frm KB. How to replace tAIB (application icon identifer) to some other bitmap resource? static Err FindApplicationName() { LocalID theDBID; UInt16 theCardNo; MemHandle theStringHandle=0; char

utility of uuid lists ???

2003-06-04 Thread Rodolphe Bréjaude
Hello, I use the uuid list method to make a server and a client communicate by bluetooth virtual serial comm. If I set different uuid lists on the server and on the client, the connexion is even created ? Why? Where is the security to reject connexion which doesn't konw the right uuid?

Re: How to check screen is high density?

2003-06-04 Thread Aaron Ardiri
WinScreenMode(winScreenModeGetDefaults,width,height,gOldDepths,NULL); to get the screen width and height, but in Palm OS5 simulator, the function returns width = 160, height = 160, not 320x320, why is this? thats a feature. PalmSource was real stupid and didn't decided to do what the

Re: Can PRC file modify it's own resources to give is a different icon under different circumstances?

2003-06-04 Thread Aaron Ardiri
I got the code to get my application's name at run-time frm KB. How to replace tAIB (application icon identifer) to some other bitmap resource? well.. how about deleting the resource and adding a new one? a tAIB is technically the same as a tBMP - however, earlier os versions didn't like it

PRC Tools

2003-06-04 Thread Dan Patrutiu
Hello all, I downloaded and installed PRC Tools and the latest SDK, but .. what now? I need a free IDE (for the moment) to use with. Where can I find such an IDE? Dan Patrutiu -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Replace Resource?

2003-06-04 Thread Jefferson
Hello All, I read thro' the SDK for accessing the Resource database. We have methods to find,create,delete,read,Retieve, modify resize the resource id. I want to understand how we would replace a bitmap resource to the application Icon(tAIB or taif) under different conditions ? I read that palm

Re: PRC Tools

2003-06-04 Thread Markus Dresch
I need a free IDE (for the moment) to use with. Where can I find such an IDE? dont know of any free IDE... why not simply use your favourite editor? markus dresch (www.palmside.com) -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: PRC Tools

2003-06-04 Thread Dan Patrutiu
And what about debugging? And multi-segments? And many more? :) Dan Patrutiu Markus Dresch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I need a free IDE (for the moment) to use with. Where can I find such an IDE? dont know of any free IDE... why not simply use your

Re: PRC Tools

2003-06-04 Thread Aaron Ardiri
And what about debugging? And multi-segments? And many more? :) cygwin bash make m68k-palmos-gdb what else do you need? IDE's just make the process easier - you dont need them in reality, if you know what your doing. if you dont know what your doing, maybe you should *PAY* for something? ---

Re: Replace Resource?

2003-06-04 Thread Aaron Ardiri
jefferson, posting your question a few times to the list doesn't help get it answered quickly. actually, i wish i never responded to your previous post after i saw you ask again. the more you ask, the longer people tend to take to answer your question. if someone knows, they will answer -

Re: PRC Tools

2003-06-04 Thread Dan Patrutiu
Aaron, The real thing is I use CW 8 now, and I think GCC may be better in some circumstances, especially speed ones. I wondered if it's a good idea to switch to GCC or not. That's all. PS. Are you programming using the console? If so, my congratulations, but go spend your free time

Re: palm-dev-forum digest: June 03, 2003

2003-06-04 Thread Todd Niec
Keith Rollin wrote: At 2:36 PM -0500 6/3/03, Todd Niec wrote: I am debugging a program under the emulator and when I call crlValidatePointer I get a message box saying the function is not available. While this function is defined and actually implemented in the OS, it was never

Re: PRC Tools

2003-06-04 Thread Aaron Ardiri
The real thing is I use CW 8 now, and I think GCC may be better in some circumstances, especially speed ones. I wondered if it's a good idea to switch to GCC or not. That's all. you can have more control with gcc than CW.. but, speed wise, that depends solely on the optimization qualities of

BtLibSecurityNumTrustedDeviceRecords return zero

2003-06-04 Thread Raymond Ho
Dear sirs, I would like to use BtLibSecurityNumTrustedDeviceRecords() to get the no. of trusted device and info. There is one device listed in trust device pref. However BtLibSecurityNumTrustedDeviceRecords returns zero. Below is my code, any problem ? if (SysLibFind(Bluetooth Library,

Unexplained Beep

2003-06-04 Thread Kristian Penno
I currently have this code to show a form, the form does some stuff (stuff currently commented out), and revert back to the calling form This code is executed in the calling form's event handler when it receives a menuEvent. After this code is executed and the form handler returns back to within

Form Object not Found ?

2003-06-04 Thread Simon
Hi... :) when I use FldGlueGetLineInfo( ) to get the field line info in a Table... the error message is : Emul68K Common.c Line:360,Form object not found but the function is work in a field which is not belong to a table... how do I solve this?? PS : in Tungsten T

testing.

2003-06-04 Thread kenneth
sorry for the inconvenience. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Chinese display using pilrc.

2003-06-04 Thread cclai
Dear all, Recently i'm trying to develop an applicaiton in Chinese, by using pilrc as a tool to display chinese. i used LABEL and attached some chinese characters after that to show chinese on the handheld. i compiled with the following command: pilrc -L BIG5 -F5 -R myprogram.rcp c:\output