Re: Form and resource

2003-02-13 Thread Chris Apers
Ok, i know how these functions work. But i don't use them, i use : frmP = FrmInitForm (AboutForm); FrmDoDialog (frmP); // Display the About Box. FrmDeleteForm (frmP); Is FrmDoDialog (and FrmDrawForm) search elements to draw with DmGetResource, and so can draw parts that are

RE: Form title does not update correctly on Handspring visor

2003-02-13 Thread Agus Silas
I use the VisorNeo with PalmOS 3.5.2H3.0 and I use FrmSetTitle to change the form title, but i haven't the problem you encountered. Just one thing, since you have developed the appli for Palm m100 have you tried to add the HandSpring SDK ? Agus Silas

MemHandleSetOwner

2003-02-13 Thread Mike McCollister
Hi, I just want to make sure that this is correct. If I want to lock and protect some code that I want not move after I exit my program do I need to call MemhandleSetOwner(hCode, 0) with a zero as the second parameter? That is what the documentation implys but I just want to make sure. Thanks,

RE: Opinions on Expectation of problems with a known invalid

2003-02-13 Thread Stringer
There's a theory in QA'ing a program that says that the nature of the bugs you find are driven by the weaknesses of the development team. This can then lead you to predict where other, yet unknown, bugs are likely to be found. Therefore the known bug you have discovered would indicate that the

NetLibMaster usage clarification

2003-02-13 Thread Rick Whitt
I am trying to figure out a way to track # of Kb transferred via the netlib interface. Since it'd not possible to install a hack for a non-system library, I need to find another way. The NetLibMaster() function looks interesting, using the the netMasterInterfaceStats command option would seem to

Re: Installing prc/pdb files through installer, which userid

2003-02-13 Thread Matt Graham
Ronnie van 't Westeinde wrote: There are some API functions to install a prc, but all of them need a userid. Is there a standard function to retrieve a userid (directly returns if only one user is known, show an option menu if more users are known). I've haven't been able to find this. If not, is

facing problem with Array strings

2003-02-13 Thread Rahul S
Hello All, I am writing an industrial automation application on Palm. I am facing problem working with array of strings. I want to declare a Double pointers. Ex Char **String; So that, I can add any number of string of any width. Presently I have hardcoded to the number of strings in the array.

Re:color labels or buttons?

2003-02-13 Thread ThuNguyet Nguyen
Hi Tina, Can I put two labels on one form -- one label text is red, and the other To draw a color text, I use the Win...() functions. I am sure there must be other way to do it. This is what I did: Save the draw state Save the font (if you want to change the font) Set your font Set the text

Re: facing problem with Array strings

2003-02-13 Thread Dave Lippincott
http://www.eumus.edu.uy/eme/c/c-notes_summit/intermediate/sx9.html The example is done with an integer but just swap Char for int and MemPtrNew for malloc (don't forget to add 1 to the char string size for the string terminator). If you need to keep the allocated data movable (which is

Re: How to substitute the repeating buttons for arrow buttons?

2003-02-13 Thread Oliver
Chris wrote: When I want a scrollbar or repeating up/down buttons, I use a Table instead of a List. True, but how do you use a table with a popup trigger, short of creating your own popup dialog containing the table? Oliver __ Do you Yahoo!?

Re: Anyone using HTTP Library from palmgear?

2003-02-13 Thread Andrew J. Huang
Glenn, A couple of points: 1) Although HTTP used to be run with a single transaction per TCP connection, I believe that everybody is doing multiple commands per connection. There's a bit in HTTP somewhere that says to keep the connection open - persistent I think. I would be shocked if the lib

Re: How to substitute the repeating buttons for arrow buttons?

2003-02-13 Thread Oliver
Steve Mann wrote: You can limit your list size (LstSetListChoices) to the # of visible items in the list and do your own page drawing/scrolling management in your event handler [...] Steve, how would this work with popup lists, though, given that they have their own event loop while they

SndStream feature check

2003-02-13 Thread Carsten
Hello, Does the method mentioned in the Palm-OS5 SDK to check for the SoundStream feature actually works ? ( err = FtrGet(sysFileCSoundMgr, sndFtrIDVersion, version); ) I always get the error code 0x0C02, both on the Simulator and the device (Tungsten-T). (the soundstuff works fine btw..) If

RE: Opinions on Expectation of problems with a known invalid global

2003-02-13 Thread Andrew J. Huang
Kevin, I think that the answer is that your testing may not reveal a problem, but somewhere, somewhen, somebody will find it. And it will happen when you are trying to make a critical release upon which the life of your company depends, or worse, upon which the life of a patient depends, given

Re: Anyone using HTTP Library from palmgear?

2003-02-13 Thread palm
On Thu, 13 Feb 2003, Andrew J. Huang wrote: Glenn, A couple of points: 1) Although HTTP used to be run with a single transaction per TCP connection, I believe that everybody is doing multiple commands per connection. There's a bit in HTTP somewhere that says to keep the connection

Re: How to substitute the repeating buttons for arrow buttons?

2003-02-13 Thread Steve Mann
how would this work with popup lists, though, given that they have their own event loop while they are popped open? (my interpretation of Susan's question was that she is using a popup list). Perhaps I wasn't reading closely enough. I didn't get that impression. If so, I don't think it's

Re: SndStream feature check

2003-02-13 Thread Ben Combee
At 17:56 2003-2-13 +0100, you wrote: Hello, Does the method mentioned in the Palm-OS5 SDK to check for the SoundStream feature actually works ? ( err = FtrGet(sysFileCSoundMgr, sndFtrIDVersion, version); ) I always get the error code 0x0C02, both on the Simulator and the device (Tungsten-T).

Re: SndStream feature check

2003-02-13 Thread Carsten
Ben Combee wrote: Look at the Waves example in the Palm OS 5 SDK. It uses SysGetTrapAddress to see if the address for the sound manager functions matches the not-implemented trap address. Thanks for the tip! ... but: the 'original' method described in the SDK (FtrGet ...) doesn't work ?

Re: SndStream feature check

2003-02-13 Thread Ben Combee
At 18:35 2003-2-13 +0100, you wrote: Ben Combee wrote: Look at the Waves example in the Palm OS 5 SDK. It uses SysGetTrapAddress to see if the address for the sound manager functions matches the not-implemented trap address. Thanks for the tip! ... but: the 'original' method described

Re: SndStream feature check

2003-02-13 Thread Nicolas Pabion
Sorry for that. Here is a little function we use to check for the sound: Boolean PrvIsTungstenT() { Boolean result = false; UInt32 companyID, deviceID; FtrGet(sysFtrCreator, sysFtrNumOEMCompanyID, companyID); FtrGet(sysFtrCreator, sysFtrNumOEMDeviceID, deviceID); if ((companyID == 'Palm')

Re: SndStream feature check

2003-02-13 Thread Carsten
Nicolas Pabion wrote: Sorry for that. Here is a little function we use to check for the sound: Boolean PrvIsTungstenT() { Boolean result = false; UInt32 companyID, deviceID; FtrGet(sysFtrCreator, sysFtrNumOEMCompanyID, companyID); FtrGet(sysFtrCreator, sysFtrNumOEMDeviceID,

Re: SndStream feature check

2003-02-13 Thread Nicolas Pabion
The trap solution is better in fact. But since the only device that has sound and no feature for it is Tungsten T, it was a simple solution. For the OS version, I can only tell for Palm Devices. On 5.1+, the feature is correctly set. Nicolas Carsten [EMAIL PROTECTED] wrote in message

Re: How to substitute the repeating buttons for arrow buttons?

2003-02-13 Thread Chris Antos
Oliver, I almost replied that way myself. Then I went back and read the original post again, and decided that Susan may be talking about using just a plain old list, along with a popup trigger that limits which set of items are shown in the list. Of course if Susan is talking about a popup list,

Re: Form and resource

2003-02-13 Thread Chris Antos
It doesn't matter whether you use them. Those functions are how anything accesses a resource. So, combine the notes in those functions about how the order that resource databases are opened makes a difference, with the fact that you said you have an external resource DB open, and tada you have

ANNOUNCEMENT: Mac-Dev-Forum

2003-02-13 Thread Amy Riha
Hello All -- PalmSource has recently received requests to create a new forum addressing Palm OS development on the Macintosh platform. As of this morning, I've created a new list named mac-dev-forum for this purpose. If you'd like to participate in this mailing list, please send email from the

Re: SndStream feature check

2003-02-13 Thread Carsten
Ben Nicolas - Thanks a lot for your advices/suggestions ! Carsten. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Communications Question

2003-02-13 Thread Al Smith
G' Day All, I have written a simple application that communicates with an externa device using the serial port. I am able to run my program and actually see what i want to see on the Emulator, but once i try doing it on the Palm itself it doesn not work,,any hints.. thank you in advanced for

Re: ANNOUNCEMENT: Mac-Dev-Forum

2003-02-13 Thread Florent Pillet
Very cool! Thanks, Amy! On jeudi, fév 13, 2003, at 19:51 Europe/Paris, Amy Riha wrote: Hello All -- PalmSource has recently received requests to create a new forum addressing Palm OS development on the Macintosh platform. As of this morning, I've created a new list named mac-dev-forum for

Re: FrmPopupForm???...

2003-02-13 Thread Dan
Hi again everyone. I got this problem working by trapping the frmUpdateEvent message that is sent from FrmPopupForm(). Now, the image is displaying correctly because I have a place to call the rendering code; however, the event handler is not being set back to form A apparently (even though I am

Re: FrmPopupForm???...

2003-02-13 Thread Chris Antos
You should be using FrmSetEventHandler or FrmGotoForm for this situation. Read the docs on FrmPopupForm. If you call FrmPopupForm, then you must call FrmReturnToForm to return to the previous form. Dan [EMAIL PROTECTED] wrote in message news:113469@palm-dev-forum... Hi again everyone. I

Re: FrmPopupForm???...

2003-02-13 Thread Chris Antos
Argh -- let me try again: You should *not* be using FrmSetEventHandler or FrmGotoForm for this situation. [Sorry, I typo'd and left out the not the first time] Read the docs on FrmPopupForm. If you call FrmPopupForm, then you must call FrmReturnToForm to return to the previous form. Chris

Re: ANNOUNCEMENT: Mac-Dev-Forum

2003-02-13 Thread Brian Hall
[[ This message was both posted and mailed: see the To, Cc, and Newsgroups headers for details. ]] In article 113456@palm-dev-forum, Amy Riha [EMAIL PROTECTED] wrote: The list will also be available as a newsgroup on our NNTP server: news.palmos.com. It doesn't appear to be there yet. Just

Re: Installing prc/pdb files through installer, which userid

2003-02-13 Thread Ronnie van 't Westeinde
Matt Graham [EMAIL PROTECTED] wrote news:113421@palm-dev-forum... Ronnie van 't Westeinde wrote: There are some API functions to install a prc, but all of them need a userid. Is there a standard function to retrieve a userid (directly returns if only one user is known, show an option menu

Re: How to substitute the repeating buttons for arrow buttons?

2003-02-13 Thread Oliver
Oliver, I almost replied that way myself. Then I went back and read the original post again, and decided that Susan may be talking about using just a plain old list, along with a popup trigger that limits which set of items are shown in the list. Okay, so whatever the original

RE: Integrating Memo Pad into an application?

2003-02-13 Thread Frank D'Onofrio
Hi everyone, could someone tell me where the tutorial (mentioned below) can be found? And where can I find information on the Memo Pad functions? Thanks in advance. I'd just copy the Memo Pad source code and project files, then blast away to create your modified version. The key is to avoid

Re: FrmPopupForm???...

2003-02-13 Thread Dan
Yea. I hear what you are saying and I've been in the documents that came with CW8 and the online index, recipes, etc from PalmSource about this issue. This issue is probably caused by a bug that I have yet to find in the code. However, I was hoping it was something else. I am using

Re: FrmPopupForm???...

2003-02-13 Thread Ben Combee
At 17:55 2003-2-13 -0500, you wrote: Yea. I hear what you are saying and I've been in the documents that came with CW8 and the online index, recipes, etc from PalmSource about this issue. This issue is probably caused by a bug that I have yet to find in the code. However, I was hoping it was

how do I get a label's font

2003-02-13 Thread Brandon Smith
I am implementing my own version of FrmDrawForm, and I need to access to which fonts my forms' label objects are using. How can I do this? Brandon -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: FrmPopupForm???...

2003-02-13 Thread ThuNguyet Nguyen
Hi Dan, I remember people said st about FrmReturnToForm(0) before. (Search the forum for FrmReturnToForm :) ) So, I never use it. What I did is: Let say you are in FromA, you will show FormB (modal form), then you go back to FormA. I only use the pair FrmPopupForm() and FrmReturnToForm() for

Re: FrmPopupForm???...

2003-02-13 Thread Dan
That was it Ben. Thank you for that idea. I checked the active form ID after the call to FrmReturnToForm() and it gave me a different form ID than what I was expecting. Apparently, I was calling FrmInitForm() elsewhere in my code incorrectly and having the ID made it really easy to find. Thank

Re: ANNOUNCEMENT: Mac-Dev-Forum

2003-02-13 Thread Alan Ingleby
Works via NNTP for me.. Brian Hall [EMAIL PROTECTED] wrote in message news:113479@palm-dev-forum... [[ This message was both posted and mailed: see the To, Cc, and Newsgroups headers for details. ]] In article 113456@palm-dev-forum, Amy Riha [EMAIL PROTECTED] wrote: The list will also

Re: how do I get a label's font

2003-02-13 Thread Alan Ingleby
AFAIK, you cannot access this property (legally, that is), so consider using fields instead of labels, or if you're rolling your own FrmDrawForm, why not roll your own labels which you're at it :-) Alan Brandon Smith [EMAIL PROTECTED] wrote in message news:113505@palm-dev-forum... I am

Re: how do I get a label's font

2003-02-13 Thread Chris Antos
See the glue library. FrmGlueGetLabelFont() FrmGlueSetLabelFont() Alan Ingleby [EMAIL PROTECTED] wrote in message news:113539@palm-dev-forum... AFAIK, you cannot access this property (legally, that is), so consider using fields instead of labels, or if you're rolling your own FrmDrawForm,

How does TelIsPhoneConnected work?

2003-02-13 Thread Matt Hebley
TelIsPhoneConnected does not seem to have a return value in synchronous mode. Err TelIsPhoneConnected(UInt16 iRefnum, TelAppID iAppId, UInt16 *ioTransIdP); In synchronous mode, ioTransIdP is NULL, so the only thing that can return information is Err. (In async mode, the event type doesn't

Re: Date Book Creator ID and Type

2003-02-13 Thread Gavin Maxwell
In all versions I've come across, yes... Gavin. DNR [EMAIL PROTECTED] wrote in message news:113389@palm-dev-forum... Hello All, I want to access the DateBook database from my aplication and I want to do this in all devices and OS versions. If I look for the data file using datebookDBType

reading Address book from Palm desktop

2003-02-13 Thread Chris Yourch
Hi, How do I read the same address book that the Palm desktop is reading? Is it a PDB file? if so, do I use the address book API's to read it? Regards, Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/