SndDoCmd - Can't get the sound !

2002-06-01 Thread Vincent Wong
I am new with sounds in Palm. Cld anyone pls HELP ! Declared this.. static SndCommandType onCmd = {sndCmdNoteOn,60,2200,127}; In the MainFormDoCommand function, I have.('note' is another function that locates pen tap, C=middle-C key) case penDownEvent: (a) if (note == C) SndPl

Re: SndDoCmd - Can't get the sound !

2002-06-01 Thread John Marshall
On Sat, Jun 01, 2002 at 05:32:52PM +0800, Vincent Wong wrote: > Declared this.. > static SndCommandType onCmd = {sndCmdNoteOn,60,2200,127}; [...] > if (note == C) SndDoCmd(NULL,&onCmd,0); > when tapped, there is no sound ! Did you get this from some sample code or one of the books? I

Re: Setting the time in POSE

2002-06-01 Thread Joe Malone
--- Mark Wilden <[EMAIL PROTECTED]> wrote: > If anyone has this ROM handy (3.5 English EZ debug), could > you please try to use Preferences to set the time and see > if I'm crazy? :) I'm not sure if this has any bearing on your sanity or not, :) but I just tried to change the time on POSEr with

Re: Setting the time in POSE

2002-06-01 Thread Mark Wilden
From: "Steve Mann" <[EMAIL PROTECTED]> > >No, I wasn't expecting the Palm ROM to set my computer's clock. I just can't > >seem to get it to set POSE's clock (via the Preferences app). It'll change > >the date just fine. > > That's what I'm trying to (not too successfully) explain: Oh, sorry I m

Re: Setting the time in POSE

2002-06-01 Thread Mark Wilden
From: "Joe Malone" <[EMAIL PROTECTED]> > > I'm not sure if this has any bearing on your sanity or not, :) but I > just tried to change the time on POSEr with "Palm OS 3.5-en-ez.rom" and > the Set Time dialog opens and I can change the time, but when I tap the > OK button, the time has not changed

automatic char * allocation

2002-06-01 Thread Paul Gibson
I posted a long, terribly convoluted email regarding why my char * weren't initializing correctly. I then proceded home, sometime during the night my head safely escaped the confines of my ass, and everything now works. Sorry to those of you who may have taken the time to actually attempt to pro

New Zealand - Developers

2002-06-01 Thread Ricardo Costa Contin - PALM
Hi, if there are developers from New Zealand, please contact me. Tks. Ricardo Contin Brazil -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: passing char* data

2002-06-01 Thread Stringer
>Subject: Re: passing char* data >From: "Richard M. Hartman" <[EMAIL PROTECTED]> >> OK John. Glad they fixed the definitions. >> A lng time ago I worked on a system where 'int' was >> 8 bits, and both 'short' and 'long' were 16 bits. Got caught out >> pretty badly until I realized how small

Re: Setting the time in POSE

2002-06-01 Thread Jim Schram
At 8:43 AM -0700 2002/06/01, Mark Wilden wrote: >From: "Joe Malone" <[EMAIL PROTECTED]> >> >> I'm not sure if this has any bearing on your sanity or not, :) but I >> just tried to change the time on POSEr with "Palm OS 3.5-en-ez.rom" and >> the Set Time dialog opens and I can change the time, but

RE: CW Resource Editing in the Future

2002-06-01 Thread David Beers
Looking forward to the new resource editor this Fall, Ben. I downloaded the new Falch.net editor yesterday and played around with it for a while, but thought it had enough of it's own usability problems that I may end up sticking with Constructor. In the first three minutes I found I'd accidental

test

2002-06-01 Thread Vlad Evenhar
test -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Setting the time in POSE

2002-06-01 Thread Keith Rollin
At 8:42 AM -0700 6/1/02, Mark Wilden wrote: >That's odd, all right. Especially since a computer's concept of "now" is >usually handled by a single value, rather than keeping a "date" part and a >"time" part. But I guess that's what POSE is doing. I think that what's odd is your concept of the com

Re: Setting the time in POSE

2002-06-01 Thread Mark Wilden
From: "Keith Rollin" <[EMAIL PROTECTED]> > The date is something managed by the Palm OS. Once you set it (or > once Poser sets it from the current date when it creates a new > session), the OS keeps it up-to-date by incrementing it every time > the "time" hardware register rolls past midnight

Re: Setting the time in POSE

2002-06-01 Thread Keith Rollin
At 2:44 PM -0700 6/1/02, Mark Wilden wrote: >From: "Keith Rollin" <[EMAIL PROTECTED]> >>The date is something managed by the Palm OS. Once you set it (or >>once Poser sets it from the current date when it creates a new >>session), the OS keeps it up-to-date by incrementing it every time >>the

Any Palm OS 5 hardware news/rumors?

2002-06-01 Thread Oscar Fowler
Just curious if anyone has made any announcements or if any leaks have made it out. When is the OS supposed to be officially available? -omf -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: SndDoCmd - Can't get the sound !

2002-06-01 Thread Vincent Wong
Cheers John, That was great help and it works now.Volume!=zero anymore !!! My reference was from the book "Palm OS Programming Bible" - 2000 Edition. Rgds, Vincent Wong - Original Message - From: John Marshall <[EMAIL PROTECTED]> To: Palm Developer Forum <[EMAIL PROTECTED]> Sent:

Newbee: Initializing a Push Button

2002-06-01 Thread Richard Coutts
This question seems to be too easy to be well documented, or maybe its just that its past my bedtime, but how does one initialize a group of push buttons? I have four buttons that work great, but I want one to be selected when the app starts. Thanks! Rich -- For information on using the Palm

FrmGetObjectPtr question...

2002-06-01 Thread Craig Belson
Ok, for the program I'm writing for myself, I need to pull the text entered in 5 fields down so it can be stored in a struct - the way i'm going about it is getting the field pointer, then the text pointer, then storing the text in the struct using StrCopy. I'm getting a bus error, though, and I'

Re: Newbee: Initializing a Push Button

2002-06-01 Thread Hal Mueller
FrmSetControlGroupSelection will do it. Hal -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: FrmGetObjectPtr question...

2002-06-01 Thread Keith Rollin
At 10:10 PM -0700 6/1/02, Craig Belson wrote: >... but if the FormPtr is called frmP, the bus error occurs at the >location of frmP->objects->object ... I'm confused. If you're accessing the form's data directly (bad!), then how does FrmGetObjectPtr come into play? -- Keith -- For informati

Re: Newbee: Initializing a Push Button

2002-06-01 Thread Craig Belson
And as far as initializing a group of them, there's a number you can attach to it to signify what group you want them to be in - they just have to be the same number... that is to say, if you have a group of 3 pushbuttons and another group of 4 pushbuttons, if you assign the 3 to group number 10 a

Re: FrmGetObjectPtr question...

2002-06-01 Thread Craig Belson
What I'm doing, the way I was taught to do it, anyway, is to... well, let's put it this way: I have 5 fields that can accept text, and a struct that I created that consists of 5 chars. What I'm looking to do is store the text input in the fields in the struct, the first field to the first char,

Re: Newbee: Initializing a Push Button

2002-06-01 Thread Steve Mann
>This question seems to be too easy to be well documented, or maybe its just >that its past my bedtime, but how does one initialize a group of push >buttons? I have four buttons that work great, but I want one to be selected >when the app starts. You can set the initial selected state in Constru

Re: FrmGetObjectPtr question...

2002-06-01 Thread Keith Rollin
At 10:27 PM -0700 6/1/02, Craig Belson wrote: >I have 5 fields that can accept text, and a struct that I created >that consists of 5 chars. What I'm looking to do is store the text >input in the fields in the struct, the first field to the first >char, etc... I guess I'm still not getting it.

Re: FrmGetObjectPtr question...

2002-06-01 Thread Craig Belson
Ok, I realized I glossed over some of the details by accident - I'll pick apart your response and add them in... :-) --- Keith Rollin <[EMAIL PROTECTED]> wrote: > At 10:27 PM -0700 6/1/02, Craig Belson wrote: > >I have 5 fields that can accept text, and a struct > that I created > >that consists

Re: FrmGetObjectPtr question...

2002-06-01 Thread Keith Rollin
At 10:51 PM -0700 6/1/02, Craig Belson wrote: >I cast the result of the function call - it ends up >being >frmP=(FieldPtr)FrmGetObjectPtr(frmP,FrmGetObjectIndex(frmP,EnterInfoAlbumNameField)); Looks like you're assigning the field pointer to your form pointer. Is your field pointer actually unin

Re: serPortIrPort

2002-06-01 Thread overcode+palm
On Fri, May 31, 2002 at 10:38:07PM +0200, Mates wrote: > Hi All, > > Can someone explain me how to send and receive with the new serial manager > via ir?? > I have tested it with > SrmOpen(serPortIrPort,9600,&portID) > SrmControl(portID,srmIrdaEnable,NULL,NULL) > then SrmSend, SrmReceiveWait and