Re: BmpSetTransparentValue: invalid transparent color

2005-08-23 Thread Henk Jonas
Erico Franco wrote: Henk Jonas wrote: Use a mask, it's easier, it's faster and will work. I was using these masks in previous version of my game, but recently gave up of them. I work with a lot of small, medium and large images (its an action game) The small images are now about 450 smal

re: How to store String value inside Int,Float & Date dataType.

2005-08-23 Thread Jeff Summers
I don't know how you are getting the data from the field, but here's a guess at what you need: Char s[10]; FieldType* fldp; FormType* frm; CopyStr(s, "-1"); FormGetActiveForm(frm); fldp = FrmGetObjectPointer(frm, FrmGetObjectIndex(YourFieldID)); if (FldGetTextPtr(fldp) != NULL) CopyStr(s, FldGetT

Re: about the .XRD resource format

2005-08-23 Thread Greg Wilson
It is most definitely available in PDF, as is just about all of our developer documentation. It lives with the rest of the Palm OS Protein developer documentation, at: http://www.palmos.com/dev/support/docs/protein_books.html -Greg Wilson -- For information on using the PalmSource Developer Fo

Re: Beam PDB Data To Printer.

2005-08-23 Thread Stevens Creek Software
If you're still wondering about this, you might take a look at SCS PrintServer: http://www.stevenscreek.com/palm/palmprintdev.html Steve Patt President, Stevens Creek Software [EMAIL PROTECTED] -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http:

Re: BmpSetTransparentValue: invalid transparent color

2005-08-23 Thread Erico Franco
Henk Jonas wrote: Use a mask, it's easier, it's faster and will work. I was using these masks in previous version of my game, but recently gave up of them. I work with a lot of small, medium and large images (its an action game) The small images are now about 450 small that needs mask too.

Re: how to pass transparent data for a jpeg Resource?

2005-08-23 Thread Erico Franco
Jerome Chapdelaine wrote: One question: do you have to use jpeg? If your bitmaps are not "real world photos" maybe you could switch to another format (png for example). Then perfect color keying is possible thanks to lossless compression. Or use an alpha channel in your png (but you will have

playing 3gp files on the T650

2005-08-23 Thread PalmDev
hi I can play the video recorded with the camcorder fine but the audio part does not work. I'm following the example in the SDK. anyone know how to play the audio part too? thanks danny -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.pal

re: Codewarrior/Table/MultipleColumns

2005-08-23 Thread ThuNguyet Nguyen
In the Contructor, If you click on Columm, then use Ctrl-K to add more columm (Ctrl-K to add more of the items...) HTH tnn -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re[2]: Wireless Application slow on Treo 600/650

2005-08-23 Thread A.Kazantsev
Try to send data in small chunks (I used to send in chunks of 536 bytes) and to hold on between the chunks for period of time necessary to push the previous chunk of data out. Hope it helps. ppc> Hi all, ppc> I found out the slowness in this is in the socket receiving data. Why is ppc> the Treo

Re: BmpSetTransparentValue: invalid transparent color

2005-08-23 Thread Erico Franco
Tom Frauenhofer wrote: A quote from the manual on BmpSetTransparentValue(): "This function does nothing if transparentValue contains a value that is not valid for the depth of bitmapP." This is correct, my problem is that apparently the function is doing nothing: this error message ("invalid

Re: BmpSetTransparentValue: invalid transparent color

2005-08-23 Thread Erico Franco
Henk Jonas wrote: I'm too lazy to look into the docs, but maybe the colorvalue is not a RGBType? Here follows the link docs link: http://www.palmos.com/dev/support/docs/palmos/PalmOSReference/Bitmap.html#999107 the documents says: Transparent color: This should either be a palette inde

Re: How to store String value inside Int,Float & Date dataType.

2005-08-23 Thread Clive Walden
> If the User Do not Enter a value for a Particular Field,then i have to store > Default value as "Not Readed"(NR) for all the fields. > Plz send the code if anyone had face this Problem or the Logic. Typically, it is not a question of what to store but how to interpret what is stored. If your

Re: about web browser

2005-08-23 Thread Erico Franco
15shop wrote: 1. I install two web browser software on my palm device. How do I write code to detect them? The only method I know is that you previously has a list of all the known Palm Web browser and search for these applications on user's handheld. 2. Which web browser is default to ope

REPOST: On device debugging and LifeDrive Manager

2005-08-23 Thread Erico Franco
Ben Combee wrote: > > The LifeDrive uses a new USB chip to support USB 2.0, and it looks like the software around that has broken USB debugging to the device. I tried a few things tonight, but I wasn't able to get anything working. It might work using the USB-to-TCP bridge code, setting up the

BmpSetTransparentValue: invalid transparent color

2005-08-23 Thread Erico Franco
Hi, Trying to use the BmpSetTransparentValue() I got the "invalid transparent color" error message, am I doing something wrong? Is this function with a bug? What's is the best alternative for it? So, what is point about BmpSetTransparentValue()? I read some posts about that this function cra

Re: codewarrior and http

2005-08-23 Thread 15shop
Thanks for Christian's helps. I want to get the latest content from a given RSS feeder,and the RSS feeder is provided by asp/php/jsp web system. Can you give me a good way? Thanks. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/

about web browser

2005-08-23 Thread 15shop
1. I install two web browser software on my palm device. How do I write code to detect them? 2. Which web browser is default to open webpage? 3. I want to call the default web browser to visit www.yahoo.com.What's my code? Thanks. Regards, Miken -- For information on using the PalmSource

Re: how to pass transparent data for a jpeg Resource?

2005-08-23 Thread Erico Franco
Logan Shaw wrote: I can't say with 100% certainty that you can't do this, but I don't expect you will have good luck with it. Until now I'm having no problem with this: it is using large area as perfect mask areas (solid color areas) with no need of an extra mask picture. If I have problem,

Re: about the .XRD resource format

2005-08-23 Thread Erico Franco
Erico Franco wrote: Hi, I'm using .XRD format for my resources and I have some questions: 1) is there any documentation official or not that details the format? 2) is this the best format for future use? Or may I change the format? (and migrate to .rcp) thanks Erico Franco MicroMagic Hi

Re: Wireless Application slow on Treo 600/650

2005-08-23 Thread pmotdev
Hello Patrick, Do you know anyway around this? On Tue, 23 Aug 2005, Patrick Vuichard wrote: > [EMAIL PROTECTED] a écrit, le 22/08/2005 20:40 : > > > I found out the slowness in this is in the socket receiving data. Why is > > the Treo (and seems all sprint phones at least?) are so slow to re

re: How to store String value inside Int,Float & Date dataType.

2005-08-23 Thread Jeetu
I did not get what u actually replied to me. can u just place a sample code for that plz -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: sysNotifyDBDirtyEvent HELP!

2005-08-23 Thread Jan Slodicka
Plus it being generated during the DB closing. (If I remember well, of course. But it makes sense so, because otherwise the PDA would be flooded with the notifications.) With best regards, Jan Slodicka Resco, Palm Division - Original Message - From: "mguo" <[EMAIL PROTECTED]> To

Re: Replacing left over application in memory

2005-08-23 Thread ll
I am coming late to this discussion, but setting the "DB Version" ( in Edit/ Settings/PRC File Settings with CodeWarrior 9.2" ) to a higher number in the new app, then running it, causes the OS to pop up a dialog to allow the user to overwrite the older app. Am I missing something, or does that

Re: How to store String value inside Int,Float & Date dataType.

2005-08-23 Thread Jeff Summers
Typically I've stored a particular value that is not likely to actually occur (-1, -999) in the db. Then, the display routines just test for that value and display a NR or whatever instead of the numeric value. hth /js In your message regarding How to store String value inside Int,Float & Date da

re: A strange problem in 68K program for chunk alloc

2005-08-23 Thread meffee
in fact the program is ported from WinCE to colbat first, but later to garnet 68K mode for more compatibility. there is no such problem in colbat simulator so i feel so strange about that... -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.pal

A strange problem in 68K program for chunk alloc

2005-08-23 Thread meffee
i am porting a WinCE program to palm, and there are many "new" operation for new chunks, it is strange that the "new" will failed after some number of such operations, the PODS didn't hint any information, just a windows error dialog occured and the debug quit. any hint about this? is it a bug of