Resource-only PRC w/CodeWarrior & Constructor

2005-02-28 Thread news
Does anyone know of a way to create a PRC file using CodeWarrior 9.3 & Constructor that contains only resources, no code? Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Resource-only PRC w/CodeWarrior & Constructor

2005-02-28 Thread news
On Feb 28, 2005, at 12:52 PM, Ben Combee wrote: At 02:27 PM 2/28/2005, you wrote: Does anyone know of a way to create a PRC file using CodeWarrior 9.3 & Constructor that contains only resources, no code? Your best bet is to build an application PRC, then use a tool like 'par' called from a batch

RCP File Compilation

2005-05-29 Thread news
I'm trying to compile a Treo sample on a Mac, CodeWarrior 9.3, latest SDKs, Mac OS 10.3.9, and I get the message: Error: Can't add file to project. Is it locked? This happens when CodeWarrior tries to compile the RCP resource definition file. Needless to say, neither the project nor any of its

Re: RCP File Compilation

2005-05-29 Thread news
On May 29, 2005, at 10:53 AM, Ben Combee wrote: CodeWarrior for Palm OS V9 was never released for the Macintosh. Are you using CW Pro, the version that builds Mac OS applications? That doesn't have the Palm OS tools. Duh, you're right. I've been using Win and Mac. As you can tell, I'm cro

Re: RCP File Compilation

2005-05-29 Thread news
On May 29, 2005, at 12:07 PM, Ben Combee wrote: That's just a warning. It means that the sample was built without a GRAFFITISTATEINDICATOR on the form, so someone entering text wouldn't be able to tell what text mode he's in. You can ignore it, or you can just fix the resource yourself. I

Re: RCP File Compilation

2005-05-29 Thread news
On May 29, 2005, at 3:10 PM, Ben Combee wrote: 1) Delete the project's Data folder. 2) Make sure the project file (the mcp file) isn't marked read-only. 3) Make sure any output files aren't marked read-only. DId all of the above. None of the files or folders are read-only. Still the same pr

Re: RCP File Compilation

2005-05-30 Thread news
On May 29, 2005, at 11:28 PM, Ben Combee wrote: One other idea came to mind, but it's a long shot. It's possible that the .mcp file has a 'ckid' resource in it. This would tell the IDE that it's been checked out of version control. Deleteing that resource using ResEdit or a similar app mig

PilRC Plugin/CodeWarrior 9.3/Win XP

2005-05-31 Thread news
I'm trying to use the PilRC plugin to create my resources with CodeWarrior 9.3 on Windows XP. I've got the plugin DLL in {Compiler}\Bin\Plugins\Compiler. I've set the file mappings so that RCP files get compiled by PilRC. However, the RCP files don't get compiled. No doubt it's something obviou

Re: PilRC Plugin/CodeWarrior 9.3/Win XP

2005-06-01 Thread news
On May 31, 2005, at 6:39 PM, Ben Combee wrote: Are you using a Mac OS 68K project or a Palm OS 68K project? I had it set up as a Mac 68K project. I switched it to a Palm OS 68K project which made a difference--RCP compiles, zero size, CodeWarrior gets unhandled exception when I try to lauch

Re: PilRC Plugin/CodeWarrior 9.3/Win XP

2005-06-01 Thread news
On May 31, 2005, at 6:39 PM, Ben Combee wrote: Are you using a Mac OS 68K project or a Palm OS 68K project? These use different PilRC plugins -- the Mac )S Linker projects are older and use Neil's RCP-to-Rez plugin, while newer projects using the Palm OS 68K Linker use a MW-supplied plugin t

Re: PilRC Plugin/CodeWarrior 9.3/Win XP

2005-06-01 Thread news
On Jun 1, 2005, at 9:37 AM, Ben Combee wrote: Did you correctly update all the pref panels after changing linkers? The old settings don't get transferred over, so you need to update the Palm OS 68K Project and PRC File Settings panels. That did it. Once again, thanks for your support. Regar

Re: Travel maps/navigation help?

2005-06-07 Thread news
On Jun 7, 2005, at 8:10 PM, Isaac Zacharias wrote: I'm totally new to palm programming and would like to know if anyone has any code/samples on how to make a mapping/navigation application like "Handmap" or "Mapopolis". You might want to get a copy of "Advanced Palm Programming", which cont

Re: problem with DmResizeRecord

2004-08-23 Thread news
On Aug 23, 2004, at 1:49 PM, Jennifer Fell wrote: The following code is giving me this error "DataMgr.c, Line:9573, Index out of range". Any idea why? The error message suggests that recIdx has an invalid value. Regards, Steve Mann -- SLO Revo, Inc. www.slorevo.com -- For informati

Re: To add a bitmap into a pdb

2004-09-05 Thread news
On Sep 5, 2004, at 8:28 PM, SehLim wrote: Is there any tools to add bitmap into pdb file? I need to make pdb to store picture file. Or there is any programming code to do the above function? We offer a utility called Bmp-to-PBM that does exactly that. You can download a demo version at our web s

Re: method to generate register code

2004-10-12 Thread news
On Oct 12, 2004, at 9:56 AM, Zechner Christian wrote: I want generate a register code. I use a sincronization name, but I don't know the best method to create it. Exist any program to create codes? Google "RegCode". Regards, Steve Mann -- SLO Revo, Inc. www.slorevo.com -- For inform

Re: does PalmOS have strong connectivity over networks?

2004-10-27 Thread news
On Oct 27, 2004, at 5:59 PM, hedpe wrote: For instance, I run a server on a local PC on a router. I need a wireless handheld device to connect to the router and communicate with that PC. Does PalmOS have this sort of connectivity? Or do i need to write this for handhelds that run WindowsCE? Beca

Re: How do You display a Bitmap from a VFS .bmp file?

2004-11-06 Thread news
On Nov 6, 2004, at 9:16 PM, Jeff Gibson wrote: That's where I am struggling a bit. It is very easy to convert the .bmp file to .jpg with windows utilites, but I don't know how to do it programatially in the palm OS. I have tried reading the btis out of the file and stuff them into a bitmap mem

Re: Auto power off vs Frequent alarms

2004-11-19 Thread news
On Nov 19, 2004, at 5:55 AM, John Sutton wrote: Is there any way of making the Palm "ignore me" so that it does not reset the auto off time, or at least be able to read how long it is to the auto off time and adjust this value accordingly. I assumed that by setting purgeAlarm to true that nothing

Re: BmGetBits() return value?

2004-11-19 Thread news
On Nov 19, 2004, at 5:47 PM, geoff wrote: Hey, Im kinda of a newb but in my application i want to access the bmp data. The docs say BmGetBits does the job but it returns a void * value. What data type am i supposed to cast this to? Thanks Pretty much whatever you want. What do you want to do with

Re: How to scroll a bitmap

2004-11-21 Thread news
On Nov 21, 2004, at 7:51 PM, Bryan Leong wrote: It is any way i can scroll a bitmap using form. if not how can i scroll a bitmap can anyone show me some simple code that can scroll a bitmap. "Advanced Palm Programming", a book I coauthored with Ray Rischpater, has code that shows how to scroll a b

Re: List event

2004-11-23 Thread news
On Nov 23, 2004, at 10:02 AM, Eka Gauranga Das wrote: cause i found table too dificul i´m using 3 lists emulating a 3 column table the problem arises when the items are more than visible for list so the arrow is shown ... how i know that the arrow was tapped? You can look for a penDownEvent in the

SMS on Samsung i500

2004-11-29 Thread news
I'm intercepting SMS messages coming into a Samsung i500 (Sprint network) using the Exchange Manager. I'd like to pass on selected messages to the default messaging application. Has anyone successfully done this? Regards, Steve Mann -- For information on using the Palm Developer Forums, or to u

Re: "hot links" in text fields.

2004-12-13 Thread news
On Dec 13, 2004, at 11:42 AM, Mike G wrote: Has anyone used this scheme before or does anyone else have another solution. I've used that type of approach to implement hot links on a Palm device. It was pretty straightforward and worked fine. It shouldn't be too tough to do. I used a linked list

Re: Error in day select control

2005-01-03 Thread news
On Jan 3, 2005, at 4:02 AM, Ashutosh Kumar wrote: i m using the folliwng code to show the date selector form with some intialized value.But it shows error "App tried to write at Low memoery area." error.What is wrong in the following code. DateTimePtr dateTimeP=NULL; dateTimeP->month=4;dateTimeP->

Re: Palm OS Developer Program

2005-01-05 Thread news
On Jan 5, 2005, at 7:43 PM, AyloNs Hazzud wrote: My login to the Palm OS Developer Program is once again working (after the updated password reset system) Not mine. They've totally lost me. Please add me to the fix-it list. steve.at.slorevo.com. Regards, Steve Mann -- For information on using the

Re: Development on Macintosh

2005-01-11 Thread news
On Jan 11, 2005, at 3:51 AM, Laurie Davis wrote: One potential option is to use VirtualPC and continue using Codewarrior. Does anyone have experience with this option? I tried that for awhile, then went out and bought a Windows box. It was just too slow. Regards, Steve Mann -- SL

Re: retrieve phone operator and service provider

2005-01-26 Thread news
On Jan 26, 2005, at 9:21 PM, mguo wrote: anybody know how to programatically retrieve phone operator and service provider in Treo600/650? I am using the API from telephony lib, but they all return error. The Treo's don't use the telephony lib, they use Treo-specific libraries. You need to get th

Re: Palm Dev Books

2006-01-06 Thread news
As one of the author's of that book, I wouldn't recommend it. It's way out of date. Regards, Steve Mann # # # On Jan 6, 2006, at 5:04 AM, Jeff Collett wrote: There is also a text named, "Advanced Palm Programming", Wiley, not sure of the author. Jeff -- For information on using the Pal

Re: Decimal field validation...

2006-11-14 Thread News
It doesn't allow "-" characters.Regards,Steve Mann# # #On Nov 14, 2006, at 3:43 PM, Alan Ingleby wrote:I always thought a numeric field didn't allow "-" and "." symbols.On 11/15/06, Efrenk <[EMAIL PROTECTED] > wrote:Add this to the form's frmOpenEventFieldType *yourfield; FieldAttrType attr

Re: Probelm getting out of application

2006-12-05 Thread News
You need to post an appStop event to the event queue and let your application exit normally. Regards, Steve Mann On Dec 5, 2006, at 9:35 AM, Joao Ribeiro wrote: > Hy there, > > I'm having trouble ending my application when someone removes an > expansion card from the slot. > When I remove it

Re: How do I reduce the size of the .prc file?

2004-02-12 Thread Palm News
functions and very large resources can be a big thing. Let us know some more details, and maybe we can help, but more likely you'll need to think about a redesign if size is such an issue. thanks - bill "Miken" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I

Re: large amounts of static data on external card

2004-05-19 Thread SLO Revo News
I'm working on an application that comes with a 1MB+ dictionary database that is just a bunch of static data. I'd like users to be able to either put it in RAM or on an external card. According to the PalmOS docs, I can use VFSFileDBGetRecord() to deal with the database on the card almost like

Re: PopupTrigger/PopupList/List problem.

2004-05-24 Thread SLO Revo News
I tried the LstSetTopItem, LstDrawList and LstScrollList functions but those don't make any change to the screen. When I select an item from the list manually what I select gets displayed correctly but I want to achieve this from program control when the form is displayed. LstSetTopItem requires

Re: converting pdb to text file

2004-05-25 Thread SLO Revo News
For our app, I've written a simple class that does some logging to a pdb file (stream at the moment). What is the easiest way to convert that to a human-friendly text file? I often log to a PDB file, one log message per record (not a stream), then set up a separate form with a simple scrolling l

Re: converting pdb to text file

2004-05-26 Thread SLO Revo News
Thanks, for the suggestion, I will probably do that. However how would you take it a step further and convert it to something you could read on a desktop? I'd probably take the same application and run it on POSE or the simulator. You could get the PDB there by setting the backup bit, HotSyncin

Re: Database to Field

2004-05-26 Thread SLO Revo News
So my question is "What form of data is produced by DmQueryRecord and if it is not a Char then how do I go about converting it to Char format"? The form of the data is whatever you put in there in the first place. You get it into the form you want by locking it and casting it. For instance: MemH

Re: truncate a string

2004-05-28 Thread SLO Revo News
but the compiler is telling me that TxtGlueTruncateString is undefined, any idea? You also have to link the glue library into your project. -- Regards, Steve Mann --- steve-at-slorevo.com Available for Contract Work -- For information on using the Palm Developer Forums, or to unsubscribe, please se

Re: Looking for database library.

2004-05-30 Thread SLO Revo News
As I have your attention is is necessary to have an 'appinfo' block if all I want is to have a record that is used to keep track of various features of other records. Database state doesn't _have_ to be stored in an AppInfo block. You can also store that type of information in preferences or fea

Re: Treo 600: Integrating phone book

2004-06-02 Thread SLO Revo News
How can I integrate the phone book into my application to retrieve someone's email or phone number without leaving my application? I would like to populate a field with someone's email address. Try PhoneNumberLookup or PhoneNumberLookupCustom, both in the reference manual. -- Regards, Steve Mann --

Re: Integrating images in PDB

2004-06-09 Thread SLO Revo News
I want to develop an application where I keep images in a pdb-file, much like an e-book with illustrations, so that the app itself doesn't become huge and the pdb-file can be read from e.g. a memory card. Any tips on approach/tools to use to integrate and compile lo/hi-res images in a static pdb? F

Re: cannot find INet.lib

2004-06-10 Thread SLO Revo News
do i need to send both the header and the message together (with the \r\n to say that the message is finished)? Yes you do. Assuming you're using a GET request, what works for me is something like this: GET HTTP/1.1 Host: with a double newline ("\n\n") after the "Host" line. -- Regards, Steve M

Re: Form ghosting problem

2004-06-10 Thread SLO Revo News
If I move the FrmDrawForm() first prior to initailizing the dynamic list, the form no longer "ghosts" on the other forms but the list is not populated when the form is loaded. If I call the FrmDrawForm() after the list is initialized, then the list works fine but the form ghosts on all the other f

Re: Writing a global variable to feature memory.

2004-06-14 Thread SLO Revo News
So I thought if my app opened the .pdb file and stored the DmOpenRef in feature memory, then my callback function can simply look at it and use it to process the .pdb file that is already opened. That way, if another app gets launched, my callback will still run and can use the .pdb file. My q

Re: Writing a global variable to feature memory.

2004-06-14 Thread SLO Revo News
Steve, by that, do you mean that they could cause havoc with my .pdb file if they know what it is I've written to the feature memory? Or that an application could just arbitrarily go in and smash my feature memory to pieces? Can applications therefore interrogate the layout of feature memory an

Re: FrmDoDialog Eats Events

2004-06-14 Thread SLO Revo News
FrmDoDialog was very attractive since it has it's own event loop to control its form. And, in fact, it usually works. The problem occurs when the other application has events still in the queue, specifically frmLoadEvent and frmOpenEvent. FrmDoDialog processes these other events, and gets hopele

Re: closeing dialog programatically

2004-06-15 Thread SLO Revo News
What is the best way to close a form programatically? I am displaying a form with FrmDoDialog. If the user doesn't respond in a certain amount of time, I need to close the dialog. How can I do this. One way to do that is to call CtlHitControl passing your preferred button after the delay expire

Re: SQL on palm

2004-06-15 Thread SLO Revo News
I need advice whether it is possible to use any database on palmOS which supports SQL syntax? if it is, what it should be? I need for maintaining a some relational datasets. You might want to take a look at SQLAnywhere from Sybase. I believe that IBM also offers a Palm-compatible SQL database quer

Re: temporily blocking the attention manager

2004-06-17 Thread SLO Revo News
In my application, I have a need to insure the user doesn't exit the application while they are in the middle of entering a record. A more accepted approach is generally to let the user exit any time they want and just save their partial record when they do. Look at the ROM-based apps--that's wh

Re: Working with time zones

2004-06-23 Thread SLO Revo News
I want to make a popup list that lets the user select a time zone. What I did is that I made a list with 24 items. The minutes value that i pass to TimeZoneToAscii is equal to ((itemNum - 12) * 60). Therefore, the list items range from -720 (-12 hours) to 660 (+11 hours). Is this the correct wa

Re: application that run¥s in background

2004-06-23 Thread SLO Revo News
I need to make an aplication that 1 - Starts automaticaly 2 - Run´s in background and send me some messages based in the time but i want that aplication send me the message too if i work with another aplication. Anyone have any idea or example ? You could probably use alarms if your program isn

Re: application that run*s in background

2004-06-23 Thread SLO Revo News
I need to make a program like an schedulle at 06/12/2004 12:00 i need to go a meet at 07/12/2004 13:00 i have lunch with Mr X but i need that my palm wakeup or interrupt other aplication to send me the "messages" Sounds like you should look at the Attention Manager. -- Regards, Steve Mann --- stev

Re: Select Key on Treo 600 simulator?

2004-07-07 Thread SLO Revo News
I tried Enter Alt+Enter Ctrl+Enter but none works. Which is the key sequence? "5" on your numeric keypad. It's in the documentation. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

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-19 Thread SLO Revo News
I do not see a LstSetVisibleItems function... Sorry. It was late--that's what I wanted it to be called. LstSetHeight does what you want. The other thing you need is LstGlueSetFont. Between the two of them, it should resize the list and give you the correct # of lines. It may even set the defaul

Re: Event for highlighting list entry

2004-07-20 Thread SLO Revo News
Is there any way to receive an event as soon as a list item is highlighted? Not that I know of. At that point, it's too late. You can, however, detect when the user taps on a list item by looking for lstEnterEvent, then do whatever you want--track the pen, highlight an item, etc. I've successfu

Re: Event for highlighting list entry

2004-07-20 Thread SLO Revo News
That sounds like exactly what I want. Unfortunately, I'm very new to Palm programming and don't quite understand how I would accomplish this. How do I go about tracking the pen, determining what list item should be selected, and highlighting an item? You can track the pen using EvtGetEvent. T

Re: Square root example

2004-07-21 Thread SLO Revo News
Anyone have a C routine or an snipit for returning a square root of a floating point number from a field Thanks Here's a square root routine. I'll leave the exercise of how to get a string from a field and convert it to a double to you. There are plenty of examples in the archives, the Knowledgeb

Re: Event for highlighting list entry

2004-07-22 Thread SLO Revo News
It looks like lstSelectEvent is triggered only after the pen is lifted Jeez: I'm getting sloppy in my old age. I meant lstEnterEvent, not lstSelectEvent. That happens on the initial pen tap, before the pen is lifted. Sorry about the misdirection. -- Regards, Steve Mann --- steve-at-slorevo.com A

[ANN] BMP-to-PBM Graphics Converter

2003-09-21 Thread SLO Revo News
Using POSE, BMP-to-PBM lets you open and view Windows BMP and Palm bitmap (PBM) files and save them in Palm bitmap format to desktop files and Palm databases (PDB). The program automatically converts 1,4, and 8-bit BMP graphics to Palm 1,4, and 8-bit bitmaps, retaining the original BMP color ta

Re: Bitmap into PDB from desktopm - HELP please!

2003-09-25 Thread SLO Revo News
I am trying to incorporate a bitmap into my PDB from the desktop using PDB Make. Thus far, the PDB contains records of text strings, but should also contain a bitmap in each record. How to do this? I have an early beta of a tool that will let you do this. If you're interested, contact me privately

Re: disconnecting a phone call

2003-10-30 Thread SLO Revo News
Does anyone know how to disconnect a phone call on a Kyocera or a Treo device? What about on a Tungsten? For the Kyocera use PDQTelEndCall Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: alarms without turning on the screen

2003-11-18 Thread SLO Revo News
I am attempting to have an alarm flash the led of a unit WITHOUT waking up the screen. Is this possible? From the Alarm manager docs: Procedure alarms also differ from regular system alarms in that if they trigger when the device is in sleep mode, the LCD does not light up. Thus, you can use pro

Re: Hoe remove arrows from the list

2003-12-09 Thread SLO Revo News
but, when i change the attrib lista->attr.hasScrollBar = 0 don't work. If understand correctly what you're trying to do, a list's scroll bar and the scrolling arrows that appear inside the list rectangle are two different things. The only way to make the arrows go away is to always keep the # of

Re: WiFi documentation

2003-12-14 Thread SLO Revo News
Hi, I tried to look for documentation on the WiFi implementations on PalmOS devices but so far drew up nil. Are there any documentations for WiFi? Also, are there any APIs to return the signal strength of a connection to another WiFi device? Thanks The only thing you'll find are the NetLib funct

Re: POSE "unallocated chunk of memory" error during Global Find

2003-12-15 Thread SLO Revo News
This occurs only during Global Find after it gets to "To Do Items". My application does not support Global Find, i.e. does not support the sysAppLaunchCmd SaveData/Find/Goto launch codes. If you application doesn't support Global Find, how do you know the error only occurs during Global Find? R

Re: Gadget best option for list of read-only resizeable columns?

2003-12-23 Thread SLO Revo News
Suggestions and/or examples would thus make a great virtual Xmas gift ;) Get rid of the frame using WinEraseRectangle, get rid of the scroll arrows by fooling the list into always thinking that you only have X items in the list, where X = # of visible items. You have to manage your own scrolling

Re: Fw: Re: How know the name fields of PDB file

2003-12-26 Thread SLO Revo News
so far I'm not convinced that we can retrieve the record structure given an arbitrary pdb along with its AppInfo block. With good reason--there is typically information about record structure stored in the Appinfo block. Regards, Steve Mann -- For information on using the Palm Developer Forums, o

Re: Fw: Re: How know the name fields of PDB file

2003-12-26 Thread SLO Revo News
With good reason--there is typically information about record structure stored in the Appinfo block. Oops - typing too fast and not proofreading. Typically there is NO information. Sorry about that. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, ple

Re: MemHandleLock slow for big records?

2003-12-29 Thread SLO Revo News
recHandle = DmGetRecord(dbHandle, index); You can use DmQueryRecord (assuming you don't need to change the record). That should be a tiny bit faster. DmRecordInfo( dbHandle, index, NULL, &recID, NULL); No idea how much time this takes up. Is there some way to code around it? // do

Re: database pdb

2003-12-30 Thread SLO Revo News
i have written a library that create pdb on a windows os and have rewritten most of palmos db and record functions. I ask myself if there is another way to accomplish the same task. Write a Palm application that runs on POSE or the Simulator. That way you don't have to rewrite the Palm code, and y

Re: MemHandleLock slow for big records?

2003-12-30 Thread SLO Revo News
What is the difference with DmGetRecord if after a Query, you can nonetheless write the record and release it? Only the Busy bit setting? Basically. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Determining what cardNo your application is installed to

2004-01-01 Thread SLO Revo News
However, after searching all the header files using grep and searching the index of the reference manual I have failed to find any function to determine where the user installed (or moved, using copy) the application during runtime. You should take a look at DmGetNextDatabaseByTypeCreator. Regards

Re: Software Protection question

2004-01-02 Thread SLO Revo News
Can someone point me to this white paper? I had email issues and missed the post that had the link/references. It's in the palmsource knowledge base. Sorry, I don't have any clues as to how to find it. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: retrieving previously stored compressed bitmap?

2004-01-08 Thread SLO Revo News
Seems obvious that I have an invalid bitmap header. I just can't figure out how to store it and retrieve it properly. Your saving into the record code looks OK. For reading from the record, this works for me (there may be an easier way): - Get the record pointer - Get the bitmap dimensions and co

Re: retrieving previously stored compressed bitmap?

2004-01-08 Thread SLO Revo News
Dimensions of bitmap to save were 160 & 160. Now, BmpGetDimensions gives dimensions of -258 and -258, and rowBytes of 65278! Am I dreaming? Probably not. :-) Seems your record save code needs to be examined a bit more closely. Why not try a simpler case (POSE, OS < 5.X) where you don't have sepa

Re: Bitmaps storage

2004-01-08 Thread SLO Revo News
for peopole who have already dealed with bitmap, which kind of storage is best suited for bitmap: resource database ,normal database, file ? There is no best single storage. It depends on your application. All three have advantages and disadvantages. None is seriously better or worse than the oth

Re: retrieving previously stored compressed bitmap?

2004-01-08 Thread SLO Revo News
The only alternative I see is for me to just save those data bits, forget about the header, and write my own compression library (compression is not an option; this app generates too many bitmaps). You can get pointers to the header (the bitmap pointer) and the bits (BmpGetBits(?)) and copy them i

Re: Adding bitmap compression support to BmpRsrc

2004-01-09 Thread SLO Revo News
That's my plan but that implies I have to write my own compression routine. I was wondering if I was headed in a long direction. You should be able to implement your own RLE compression within a few (several?) hours. The benefit of rolling your own is that you can compress bitmaps larger than 65K

Re: LstSetDrawFunction Crashing Simulator

2004-01-12 Thread SLO Revo News
Char *PItemText = MemPtrNew(itemTextLen * sizeof(Char)); You need to allocate space for the string terminator, otherwise StrCopy won't work: Char *PItemText = MemPtrNew(itemTextLen * sizeof(Char) + 1 ); Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe

Re: 40k in one record

2004-01-12 Thread SLO Revo News
is there any drawback if save a huge bulk of data in one record let's say 40k ? Not really. What you do with that data may have some negative aspects, but the record size itself shouldn't be a problem. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, p

Re: 40k in one record

2004-01-12 Thread SLO Revo News
Unless that record exceeds 64k and isn't delivered as a stream resource, as I understand it, no? It's my understanding that records can't exceed 64K. File streams can, features can, heap chunks can, but not records stored in PDB file. I'm not quite sure what you mean by a stream resource. Can yo

Re: which devices can send sms messages?

2004-01-14 Thread SLO Revo News
If I had to guess I would say all of the treos, the kyeocra 7100, and the bluetooth devices, but I don't know. The Kyocera 6035 can send them. None of the Sprint Treos can currently send them. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: add a record to Date Book / To Do List

2004-01-14 Thread SLO Revo News
Has anyone added a record to the default applications like Date Book and To Do List in your OWN program? Yes. Is it difficult? Not very if you know how to write Palm applications. Do the ToDo list first, it's easier. Use the Exchange manager for the DateBook on OS 4.0 or later (I've never done

Re: problem using SysGetROMToken.. i can't get the serial# in some devices(m125,zire

2004-01-15 Thread SLO Revo News
whats is worng? hw can i get the serial of ever palm? You can't. Not all palms have serial #s. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: store image and display

2004-01-16 Thread SLO Revo News
I want to display bitmap image on palm device. I am able to do it through .rcp file, but i want to do it through windrawbitmap( ) using database. i think i have to store this bitmap image to database resource, but i am not able to do it. We offer a utility that lets you convert BMP images into Pal

Re: BitmapPtr and DmAddResource

2004-01-29 Thread SLO Revo News
Now if I call WinDrawBitmap on "bitmap" I get garbage. If I call WinDrawBitmap on "pBmp" (the one used in DmWrite) - I get a clean bitmap image. Why not start by comparing the two items--bitmap and pBmp--to see if they contain the same data? Regards, Steve Mann -- For information on using the Pal

Re: BitmapPtr and DmAddResource

2004-01-29 Thread SLO Revo News
I did reply to Ben in another message (above this one) with more details. Any help would be appreciated. You might want to try comparing the header AND the bits of both images AND all their parameters, using the BmpGet functions. Clearly something is different between the two. Regards, Steve

Re: BitmapPtr and DmAddResource

2004-01-29 Thread SLO Revo News
What I'll try now is writting each section at the time, and just offsetting what I need to, I'll hope that works. I think that will fix your problem. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: LIST Object and Setting font

2004-02-04 Thread SLO Revo News
Does anyone know the API to call in order to set the font for the List control? I've tried FntSetFont - but it seems that the list control doesn't use the current font. In your list drawing callback, use FntSetFont then draw what you need to using WinDrawChars or some variant of that. That should

Re: LIST Object and Setting font

2004-02-04 Thread SLO Revo News
I could call this function in my callback, but I'm worried about the perf hit I do this. Shouldn't be a problem. I'll let everyone know how LstGlueSetFont works. That should work fine too, but if your font has a height that is different than the stdFont (or whatever font you assign to the list w

Re: DB Records containing an array of variable length

2004-02-05 Thread SLO Revo News
Is there a way to specify at runtime the number of elements in the array for each record, at the time I allocate each record? You could store the # of items as the first UInt16 in each record. Even simpler, just write the # of items you want to the record, then when you read each record, divide t

Re: Custom font dimensions in lists

2004-02-07 Thread SLO Revo News
I can specify a font in the resource, and change the font with LstGlueSetFont, but in either case the amount of vertical space allocated is as per the default font, which is not what I want. The list widget correctly handles built-in fonts of different sizes, so the height's not hard coded or anyth

Re: Custom font dimensions in lists

2004-02-07 Thread SLO Revo News
I can specify a font in the resource, and change the font with LstGlueSetFont, but in either case the amount of vertical space allocated is as per the default font, which is not what I want. The list widget correctly handles built-in fonts of different sizes, so the height's not hard coded or anyth

Re: DmQuickSort CompareFunction Question

2004-02-16 Thread SLO Revo News
The CompareFunction can return only Int16 numbers, but, 253624 is a Int32 number. How can i correctly sort the recs on this case? If the compare functions returns only -1, 0 and 1, it will work correctly, or i need to return the real diference between two values? You need to look at some sample com

Re: TimGetSeconds and TimGetTicks

2004-02-16 Thread SLO Revo News
SysTicksPerSecond always return the same value on a given device. It might have a different value from one device to the other but I always saw it return 100 on all the devices I ckecked and 60 on the emulator. According to PalmSource, it will always return 1000 on Cobalt devices. Regards, Steve M

Re: dialog default button, frmCloseEvent, and appStopEvent?

2004-02-23 Thread SLO Revo News
I thought that 1) the system would simulate a hit on my default button, and/or 2) my form's event handler would receive a frmCloseEvent. Look for an appStopEvent instead. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.c

Re: dialog default button, frmCloseEvent, and appStopEvent?

2004-02-23 Thread SLO Revo News
Can anyone help me understand what's going on here, or suggest the safest way to handle this? Sorry. I shot off my previous e-mail before fully reading yours. You seem to understand what's happening just fine. What you should be thinking about is how to do your cleanup when the dialog receives t

Re: dialog default button, frmCloseEvent, and appStopEvent?

2004-02-23 Thread SLO Revo News
I really expected the default button mechanism to result in getting a ctlSelectEvent, and I also expected to get a frmCloseEvent. Is there a cause for concern that neither of these is happening? Not really. I believe that if the user does something to generate the appStopEvent, that neither of t

Re: Purchasing Palms

2004-03-02 Thread SLO Revo News
Once, long ago, when our company first became a Palm Developer, we were able to purchase Palms at reduced prices for use in developing. Is that program still in existence and if so, how does one go about accessing it if one is You can get modest discounts thru the Palmone PluggedIn developer progr

Re: Identifying a notification/event

2004-03-02 Thread SLO Revo News
Does anyone know of the event generated when a Kyocera Phone is closed or of a technique for identifying the event/notification that is being generated? You might want to try using PDQSigRegister to register for _all_ PDQ events, then log them to see what happens (if anything) when you close the

  1   2   >