RE: Change font of list item

2004-07-15 Thread Nathan Black
All the questions you have asked have been in the Palm OS Companion. Please read that stuff before posting questions here. You're code that you put below is not using custom drawing; You need to register a callback list draw fuction using LstSetDrawFunction. IN there you will use the Window and Fo

RE: User defined Events

2004-07-15 Thread Ben Combee
At 01:48 AM 7/16/2004, you wrote: Are you sure? Cause 0x6000-0x7FFF is a small range, the OS has other numbers to use for it's custom or internal events. Why would the Palm OS Devs intentionally use something that could conflict with user apps without documenting it? If it is documented where? The

RE: User defined Events

2004-07-15 Thread Nathan Black
Are you sure? Cause 0x6000-0x7FFF is a small range, the OS has other numbers to use for it's custom or internal events. Why would the Palm OS Devs intentionally use something that could conflict with user apps without documenting it? If it is documented where? -Original Message- From: [EMA

Re: MemCopy

2004-07-15 Thread Lakshman
You shall use MemMove whose prototype is as follows: Declared In MemoryMgr.h Prototype Err MemMove (void* destP, const void* sourceP, Int32 numBytes) Parameters destP - Pointer to destination. sourceP - Pointer to source. n

Re: Change font of list item

2004-07-15 Thread SLO Revo News
I am drawing my list dynamically. Is there any method to change color and fonts of specific item in the list??? You can change the font and colors using a List drawback routine. You can set the # of lines (to accommodate different font sizes) using LstSetVisibleItems. -- Regards, Steve Mann ---

Re: Change font of list item

2004-07-15 Thread Saurabh Agarwal
Hi I am drawing my list dynamically. Is there any method to change color and fonts of specific item in the list??? "Saurabh Agarwal" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am using following code: > ~~~ > ListType* pList = 0; > Char** pL

about zire71/72

2004-07-15 Thread armada
I want to show the thumbnail view of a photo on Zire71. I can get the thumbnail data according to the following code.How do I show it? Thanks. LocalID theLocalDbID = DmFindDatabase(0, "PhotosDB-Foto"); DmOpenRef theDmOpenRef = DmOpenDatabase(0, theLocalDbID, theOpenMode); UInt16 nTotal = DmNumR

Raw IR and the Zire 72

2004-07-15 Thread jhillman1
I have several applications that open the serial port in the IR mode that run great on the M500 series but fail on the new Zire 72. Any thoughts? Jesse -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: CodeWarrior 8.3 on Mac OS X <-> Tungsten|T debugging?

2004-07-15 Thread Ben Combee
At 07:20 PM 7/15/2004, you wrote: Is it possible to use the CodeWarrior debugger between a Mac OS X machine and a Tungsten|T via USB? Not directly. While CW V8 doesn't support serial or USB debugging on Mac OS X, there's a USB-to-TCP bridge application that can be used to make the USB port look

CodeWarrior 8.3 on Mac OS X <-> Tungsten|T debugging?

2004-07-15 Thread Ted Peters
Is it possible to use the CodeWarrior debugger between a Mac OS X machine and a Tungsten|T via USB? I'm sure this has been answered before, but I couldn't find it in the archives. Thanks, Ted Peters -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www

Re: Distributor greed - Are there other distributors

2004-07-15 Thread Mike Davis
Duh! Math sucks. You are correct on the math. :-) I just got a reply from Handango. They told me all the good reasons why they are the best but failed to tell me why revenues from them is lower than other distributors. :-) Oops! I will check the other storefront options. On 14 Jul 2004

RE: Distributor greed - Are there other distributors

2004-07-15 Thread Natcho Natchev
I think that swreg.org simply allows you to create a store-front for your software. They are not software distributors like palmgear and handango. Thus, it is your responsibility to find a way to popularize your web store. -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: OS 4.1 to 5.2.1 -> URGENT

2004-07-15 Thread jimrandomh
Desenvolvimento 3 wrote: I wrote a application that works really fine on PALMOS 4.1 (TungstenW) but I tried to install it on a 5.2.1 TungstenE palmOS. I got a lot of problems like freezes that does not occours in 4.1 version. Dos anyone make an ideia about what could be happening with my applicatio

More font questions

2004-07-15 Thread Donald Neuhengen
I've written a little Hiragana/Katakana flashcard app and created my own custom kana fonts (from the PD Kana/Kanji fonts used by JWPce, etc). However, I'm looking to add some more functionality and am reworking my character/font processing. I'm a little confused by the Palm (and tools) font supp

Re: Hotsync struct layout for treo 600

2004-07-15 Thread mike margerum
I think I figured out the problem. It turns out that on the initial cold boot, this resource 'pref' 'psys' is not created like it is in other model so I just need to do a DmNewResource instead of a DmGetResource. -- For information on using the Palm Developer Forums, or to unsubscribe, please s

Re: Image APIs?

2004-07-15 Thread Konstantin Klyatskin
With JPEG/GIF decompression library for Palm OS you can also use native jpeg/gif format. It provides: 1.. Fast and quality decoding 2.. Fast JPEG scaling (1:8, 1:4, 1:2, 1:1) 3.. Optimized palette: 16bpp for 16bpp devices, Web palette for 256 color device, 4bpp for BW devices. 4.. GIF anima

Hotsync struct layout for treo 600

2004-07-15 Thread mike margerum
I have some code I wrote that programatically sets the hotsync user id and hotsync username for os5 devices. I have an ARM padded struct that I write to the 'pref' resource. This works great on all of the tugnsten and zire models but doesn't seems to be working correctly on a treo 600. Did t

Re: Console Mode for Tungsten E

2004-07-15 Thread Ben Combee
At 03:08 PM 7/15/2004, you wrote: Where would I be able to do the shortcut dot two?...Do I enter it from the NotePad application? I am not too familiar with it since I only got this a week ago. Thanks! Please see these two KB articles: http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/s

Re: Console Mode for Tungsten E

2004-07-15 Thread dkwbow
Hi, Where would I be able to do the shortcut dot two?...Do I enter it from the NotePad application? I am not too familiar with it since I only got this a week ago. Thanks! - Original Message - From: "Ben Combee" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: T

OS 4.1 to 5.2.1 -> URGENT

2004-07-15 Thread Desenvolvimento 3
Hi people, I wrote a application that works really fine on PALMOS 4.1 (TungstenW) but I tried to install it on a 5.2.1 TungstenE palmOS. I got a lot of problems like freezes that does not occours in 4.1 version. Dos anyone make an ideia about what could be happening with my application. I guess it

Re: Console Mode for Tungsten E

2004-07-15 Thread Ben Combee
At 01:58 PM 7/15/2004, you wrote: Hi, I am trying to debug some code in CodeWarrior 9. When I click on the debug button, the program instructs me to change my Palm to Console Mode by "shortcut..2". I just bought a Tungsten E Palm and am not sure how to get to the console mode. Can anyone help me

Re: Wav compression

2004-07-15 Thread Ben Combee
At 01:54 PM 7/15/2004, you wrote: Ben, so are you saying I can use the sndFormatIMA_ADPCM? We only use PalmOne units right now and I am particularly interested in what the treo600 supports. Will this put a header on the wav file or will I have to do that when I transmit the file to my server?

Console Mode for Tungsten E

2004-07-15 Thread Dominic Bow
Hi, I am trying to debug some code in CodeWarrior 9. When I click on the debug button, the program instructs me to change my Palm to Console Mode by "shortcut..2". I just bought a Tungsten E Palm and am not sure how to get to the console mode. Can anyone help me with that?...Also, is debug mode

Re: Wav compression

2004-07-15 Thread mike margerum
Ben, so are you saying I can use the sndFormatIMA_ADPCM? We only use PalmOne units right now and I am particularly interested in what the treo600 supports. Will this put a header on the wav file or will I have to do that when I transmit the file to my server? Thanks, Mike Ben Combee wrote: At

Re: Graffiti Shift Indicator on OS 4.1

2004-07-15 Thread bveratudela
Will, Thanks for responding. However, the W has a Graffiti indicator. If I launch the memopad and create a new memo, it actually enables the GSI indicating that caps lock is on so that your first letter is capitalized. The GSI is on at the bottom-right corner of the screen, and if I tap the shi

Re: Wav compression

2004-07-15 Thread Ted Peters
Is there a consensus as to what the 'best' format/encoding is for raw sound to be played back on OS 5 devices with SndStreamCreate()? By 'best' I mean compatibility with the most devices, least CPU load (non-ARM app and callback), smallest size for a given sound quality. My guesses: raw PCM an

Re: Graffiti Shift Indicator on OS 4.1

2004-07-15 Thread Will Rogers
b, Someone please correct me if I'm wrong, but I believe the "W" was a Graffiti-less PalmOD device. It has the "nifty" built in keyboard instead. Later versions (such as the "C") got both keyboard and Graffiti-2 I've also heard Xerox was at the time having a dispute with Palm over Graffiti's u

Re: Displaying Unicode

2004-07-15 Thread Ken Krugler
I have run into a situation where I need to display unicode characters not in the 1252 code page. From what I've been reading, it would appear that I need to make my own custom font to do this. Is that correct? Yes. Also, depending on the characters, you might need to do additional processing of

Re: Wav compression

2004-07-15 Thread Ben Combee
At 11:27 AM 7/15/2004, you wrote: The Docs for the SndStreamCreateExtended mention many sound format types including ADPCM and mp3. However, the docs say only the sndFormatPCM type is support is OS5. Is it up to each manufacturer to implement the additional types or did/will these new types sh

Re: Wav compression

2004-07-15 Thread mike margerum
The Docs for the SndStreamCreateExtended mention many sound format types including ADPCM and mp3. However, the docs say only the sndFormatPCM type is support is OS5. Is it up to each manufacturer to implement the additional types or did/will these new types show up in future release of garnet

Re: Treo 600 5-way navigator

2004-07-15 Thread Ste
Thanks again! "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 10:11 AM 7/15/2004, you wrote: > >I've seen that with > > > >NAVIGATION ID MainForm > > INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState > > NAVIGATIONMAP > > ROW MainDescriptionField > >

Re: Treo 600 5-way navigator

2004-07-15 Thread Ben Combee
At 10:11 AM 7/15/2004, you wrote: I've seen that with NAVIGATION ID MainForm INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState NAVIGATIONMAP ROW MainDescriptionField ROW MainClearTextButton MainSettingsButton END it works! But have I to specify for each form the navigation pa

Structure of pointers in a database?

2004-07-15 Thread BrownB
Hello, I have a structure as this: typedef struct{ WinHandle win1; WinHandle win2; ... }MyWindowsStruct; After all the windows are created with WinCreateOffscreenWindow(), how can I save those windows in database with DmWrite()? Should I lock every winHandle and make a copy with DmWrite()? -- F

RE: Distributor greed - Are there other distributors

2004-07-15 Thread Ricardo Birmele
i just went out to swreg.org, and for the life of me couldn't figure out how to see what products they have available to buy. What am I missing? __Birm | -Original Message- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] Behalf Of andy h | Sent: Thursday, 15 July, 2004 06:28 | To:

Graffiti Shift Indicator on OS 4.1

2004-07-15 Thread bveratudela
Hi, I have a Tungsten W running OS 4.1 and the graffiti shift indicator is not being displayed each time I tap on a numeric field. I also have a Treo 600 running OS 5.2.1 and the GSI actually works. I need to figure out a way to enable the GSI on the Tungsten W and I have tried GsiSetShiftState an

Re: Treo 600 5-way navigator

2004-07-15 Thread Ste
I've seen that with NAVIGATION ID MainForm INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState NAVIGATIONMAP ROW MainDescriptionField ROW MainClearTextButton MainSettingsButton END it works! But have I to specify for each form the navigation path, or is there a way so that tr

Re: Change font of list item

2004-07-15 Thread Saurabh Agarwal
I am using following code: ~~~ ListType* pList = 0; Char** pListItemsStrings; pList = (ListType*)GetObjectPtr(nListID); LstSetListChoices(pList, pListItemsStrings, nItemsNum); LstDrawList(pList); LstSetSelection(pList, 0); ~~~ Here I

Re: Treo 600 5-way navigator

2004-07-15 Thread Ste
Thanks Ben, I make the request today to join pluggedin program and get Treo 600 guide, but they don't answered yet! Is enough Pilrc NAVIGATION tags, or do I need to call also some apis? For example, I've found in another post the name of FrmSetNavFocus and FrmSetNavEntry apis, do I need to call th

[Off-Topic] Re: Distributor greed - Are there other distributors

2004-07-15 Thread Roberto Machorro
Hi On Thu, 15 Jul 2004 14:27:30 +0100, andy h <[EMAIL PROTECTED]> wrote: > "Mike Davis" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Sorry for posting this in this forum. I don't see any other fourms that > I'm > > subscribed to that are more appropriate. Just received anoth

Re: Treo 600 5-way navigator

2004-07-15 Thread Ben Combee
At 05:05 AM 7/15/2004, you wrote: Hi all, on treo 600 you can move through controls (such as fields, buttons, ...) with 5-way navigator buttons (I think it is called in this way!). In my applications, these buttons works only in modal forms, and not in normal forms, while in treo 600 applications s

Re: Change font of list item

2004-07-15 Thread Ben Combee
At 07:42 AM 7/15/2004, you wrote: Hello, Is there any method for changing the font or color of one of the list items in the list? You could do this using a custom drawn list, since you could manually change the font and color before drawing an item yourself. However, Palm OS doesn't directly

Re: Looking for a good font converter

2004-07-15 Thread Ben Combee
At 03:42 AM 7/15/2004, you wrote: Hello, I'm currentrly using xFont to convert Windows fonts to PilRC readable format, and it works well. The only thing is that it is poorly automated: you know that to be able to compile a font usable with the native resolution we actually need of a standard res

Re: Palm OS Developer Classes Coming in August

2004-07-15 Thread Ben Combee
At 02:12 AM 7/15/2004, you wrote: Hi, I'm from India and I work in a company which make applications for palm...I Just wanted to enquire that whether therse is any web telecast of ur classes which is scheduled to take place in the month of August . If you have such facility..Wat is the Fee Str

switching forms and holding data across applications

2004-07-15 Thread arun balas
Hi All, I m trying to print a num array on say form 2 ,the data for the same is collected in mainform. But it is not displaying anything on form2 but dumps data only in the main form, that too only when I switch back to the main form. I do all the switching between the 2 forms using the palm hard

Re: Help sorting databases.

2004-07-15 Thread Ralph Curtis
I think the sortInfoID is rarely used. Sorting is actually quite simple. See DmQuickSort. You need to define a record compare function for use with DmQuickSort. The function must agree with the DmComparF prototype. The simplest way to use DmQuickSort or DmInsertionSort, is to define compare functi

Re: Distributor greed - Are there other distributors

2004-07-15 Thread andy h
"Mike Davis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sorry for posting this in this forum. I don't see any other fourms that I'm > subscribed to that are more appropriate. Just received another increase > notice from Handango. > > Are there any other better ( or as good ) di

Change font of list item

2004-07-15 Thread Saurabh Agarwal
Hello, Is there any method for changing the font or color of one of the list items in the list? Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: FrmCustomResponseAlert "Object Not In Form"

2004-07-15 Thread Neil Whitworth
I found my problem. If Bufferlen == 0 it will crash (and I wasn't setting it properly) Neil Whitworth wrote: I'm tring to use the FrmCustomResponseAlert function to ask for a single line of text, but my app always crashes with "Object not in form". when debuging in POSE the form has been drawn

Help sorting databases.

2004-07-15 Thread BrownB
Hello, can anybody give me some hints about how to sort a database? At the moment I'm reading records just by record index. How should I use the sortInfoId field of the database header? BrownB -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos

Re: MemCopy

2004-07-15 Thread Lakshman
You can use 'MemMove' function if the data is in dynamic heap memory. If the data is in data heap try using 'DmSet' or 'DmWrite' functions. Refer Palm OS Reference.pdf for details Ritu Chawla wrote: Hi , Is their any command in palm to do memcopy. I need to copy complete structure (Moveable chu

Treo 600 5-way navigator

2004-07-15 Thread Ste
Hi all, on treo 600 you can move through controls (such as fields, buttons, ...) with 5-way navigator buttons (I think it is called in this way!). In my applications, these buttons works only in modal forms, and not in normal forms, while in treo 600 applications seems to work in every form (for ex

FrmCustomResponseAlert "Object Not In Form"

2004-07-15 Thread Neil Whitworth
I'm tring to use the FrmCustomResponseAlert function to ask for a single line of text, but my app always crashes with "Object not in form". when debuging in POSE the form has been drawn to the screen, but it does not contain a field for the user to enter text. Buffer is a 256 char array, and Bu

Re: Segmentation error.

2004-07-15 Thread John Marshall
On Thu, Jul 15, 2004 at 09:01:06AM -, BrownB wrote: > Sorry to everybody, I found my STUPID ERROR: I didn't #include the > header containing the extern declariation of those functions... Indeed. Consider reading the documentation, which will tell you how to catch this stupid error at compile

re: Segmentation error.

2004-07-15 Thread BrownB
Sorry to everybody, I found my STUPID ERROR: I didn't #include the header containing the extern declariation of those functions... Now it works. BrownB -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Looking for a good font converter

2004-07-15 Thread BrownB
Hello, I'm currentrly using xFont to convert Windows fonts to PilRC readable format, and it works well. The only thing is that it is poorly automated: you know that to be able to compile a font usable with the native resolution we actually need of a standard resolution font and a native resoluti

Re: Displaying JPGs

2004-07-15 Thread Stefan Stolz
http://flippinbits.com/twiki/bin/view/Main/DevelopmentToolsList Have a look at the Libraries-Section Palm wrote: Hi everybody, How would I be able to display JPGs or GIFs within Palm? I'm using CodeWarrior for Palm v8. Thanks. -- Stefan Stolz AWIN-Software eMail: [EMAIL PROTECTED] WWW: http://ww

Segmentation error.

2004-07-15 Thread BrownB
Hello, I'm using PRC-tools to compile a multisegment application. My app is composed of 3 segments, each obtained by the usual way: #define Seg1 #define Seg2 __attribute__((section("SEGMENT2"))) #define Seg3 __attribute__((section("SEGMENT3"))) and then for each function declariation: void func(

Re: Palm OS Developer Classes Coming in August

2004-07-15 Thread Gaurav Mengi
Hi, I'm from India and I work in a company which make applications for palm...I Just wanted to enquire that whether therse is any web telecast of ur classes which is scheduled to take place in the month of August . If you have such facility..Wat is the Fee Structure..and wat requirements are r