Re: CtlSetLabel

2004-03-09 Thread DongDong
To use label to display variable text, it is usually my practice to input the longest text to the label, such as XXX ... , say 20 char. Then define global constant in the header file: #define PRICE_LABEL_LEN20 And initialize the label just after FrmInitForm and before FrmDrawForm, with

How do I change the application to customize each button?

2004-03-09 Thread armada.li
I use codewarrior9.3.How do I do? If you don't know what I mean,please see the attachment. Thanks. begin 666 1.jpg M_]C_X `02D9)[EMAIL PROTECTED] $L``#_VP!#``@!@!0@'!P)[EMAIL PROTECTED] L+ M#!D2$P\4'1H?'AT:'!P@)XG((L(QP*#I+# Q-#0T'RY/[EMAIL PROTECTED]/XS-#+_ MVP!#`0D)[EMAIL

Re: Font families with Pilrc

2004-03-09 Thread Alexander Lange
Hello John, John Marshall schrieb: If you read the font family specification [1], I think you'll agree that it requires the family to contain a low-density font. I re-read it and you are correct. But still, I cannot believe that I am the only person with this problem. (That is, compiling the

fail to call VFSFileOpen()

2004-03-09 Thread wj
FileRef filehandle£» Err = VFSFileOpen (volRefNum ,/PALM/DOWNLOAD/, vfsModeRead, filehandle); Call successfully,Err =0; Err = VFSFileOpen (volRefNum ,/PALM/DOWNLOAD/12.htm, vfsModeRead, filehandle); Fail to call, Err = vfsErrFileNotFound(file was not found at the path specified) The file

This newsgroup not searchable in nntp?

2004-03-09 Thread Luc Le Blanc
Is it just me or this newsgroup isn't searchable with a nntp reader? I use Netscape 4.6, and when I try to search this newsgroup by topic, I get an Unknown command: XPAT SUBJECT... error message from the server. I works with other servers. I know the newsgroup is archived at eScribe, but their

FrmPopupForm

2004-03-09 Thread Ruben Luna Cabret
Hi my question it's simple and only information , i have a WinDrawRectangle , if I call a Form with FrmGoToForm the rectangle is visible, but if call with FrmPopupForm the recatangle is not visible, why? bye! -- Rubén Luna Cabret -- For information on using the Palm Developer Forums, or to

Re: FrmPopupForm

2004-03-09 Thread Alexandre Luz Barreto
Ruben Luna Cabret wrote: Hi my question it's simple and only information , i have a WinDrawRectangle , if I call a Form with FrmGoToForm the rectangle is visible, but if call with FrmPopupForm the recatangle is not visible, why? bye! Hi, any custom drawing must be made after FrmDrawform. --

UDP socket connection problem

2004-03-09 Thread RAHUL CHOUBE
dear friends , i am working for UDP socket connection betn two palm os simulators , but connection is not establishing no data is received to server. here is my code for the server , client is working fine , it sends the data continuosly .. static void Connect(void) {

Re: Font families with Pilrc

2004-03-09 Thread Roger Stringer
Subject: Re: Font families with Pilrc From: Alexander Lange [EMAIL PROTECTED] Date: Mon, 8 Mar 2004 12:23:08 +0100 X-Message-Number: 5 So obviously it is not possible at the moment to create a font family with only a high-res member. Too bad. :-( Maybe the Pilrc designers could rethink this in

Re: problem in Record Count in AddressDB

2004-03-09 Thread JamesSturdevant
To get the number of active records, call DmNumRecordsInCategory (addressDB,dmAllCategories); instead. JamesS In article [EMAIL PROTECTED], =?iso-8859-1?q?Pinaki=20Roy?= [EMAIL PROTECTED] wrote: hi, sorry , in the first line it's actually i'm NOT calling DmDeleteRecord() or any other API

object missing

2004-03-09 Thread Vu Pham
I must have done something wrong but I could not figure out. The form A was working normally and I was adding stuff to other form B. When I FrmGotoForm( formA ) then it crashes. Debugging with CW, it shows that the error is that the following command case frmOpenEvent: { handled = true;

macro with chrShortcutStroke

2004-03-09 Thread Igor Nesterov
Hi, I'm trying to enter macro name manually with EvtEnqueueKey. When I post chrShortcutStroke and macro name char-by-char, nothing happens. Looking at avialble sources, I begin to suspect that macro expansion works only with text that was recognized by graffiti. Is it right suggestion? Igor.

TealDoc Encryption

2004-03-09 Thread LionScribe
Does anyone have an idea about how the TealDoc encryption format works (what type of encryption it is), or know of any reference for information about it? LionScribe begin 666 Arye Schreiber.vcf M0D5'24XZ5D-!4D0-E9%4E-)3TXZ,BXQ#0I..E-C:')E:6)ECM!GEE.SM- MBX-D9..D%R[EMAIL

Re: object missing

2004-03-09 Thread Vu Pham
The problem was incorrect rerource file was refered. How *stupid* I am ! :-( - Original Message - From: Vu Pham [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 9:01 AM Subject: object missing I must have done something wrong but I could not

is Bitmap compression restricted to certain PalmOS versions?

2004-03-09 Thread Brian Preston
I'm trying to reduce the size of my app by compressing my bitmaps. I'm using CW 8 with Constructor 1.9.1. The compression choices in constructor have a note about which OS they work for (i.e., Palm OS 3.5 for RLE compression). But what happens when you choose one of these compression options and

Cobalt DIA compatibility?

2004-03-09 Thread Scott Thibault
DIA seems to be disabled when we run our 68k application on the Cobalt simulator? Anyone else having problems? Works fine on the T3. Details: WinGetDisplay window returns the rectangle of the whole screen in frmLoadEvent; the input area seems to flash on the screen and then remains up; tapping

Detecting if device is in console mode

2004-03-09 Thread Jonatan Fernstad
I would like to find out, at runtime, if the device is in console mode. Console mode is entered if the user enters ..2, runs the DotDot2 app or any other app that calls SysLaunchConsole(). Is there a way to detect if the device is in console mode? A feature being set/changed? Some API which will

Re: macro with chrShortcutStroke

2004-03-09 Thread Douglas Handy
Igor, I begin to suspect that macro expansion works only with text that was recognized by graffiti. Is it right suggestion? I don't know the official answer, but when I hit the same thing I used GrfGetAndExpandMacro() to turn the macro name into the expanded data, then inserted that instead.

Re: Cobalt DIA compatibility?

2004-03-09 Thread Konstantin Klyatskin
I had exactly the same problems. 1. Was fixed by changing arguments WinSetConstraintsSize(WinGetWindowHandle(frmP), y, pinMaxConstraintSize, pinMaxConstraintSize, x, x, pinMaxConstraintSize); according to SampleCollapseDR3. 2. Was fixed by adding the second line to get correct extents

Re: This newsgroup not searchable in nntp?

2004-03-09 Thread Jonatan Fernstad
(the answer on how to detect whether the DIA support PRCs are installed - or present in ROM - on a Tungsten 3). AFAIK the DIA support PRCs are not included in the T3 rom update. To check whether they are present on the T3 look for the following feature. UInt32 version; Err err =

Re: Cobalt DIA compatibility?

2004-03-09 Thread Ben Combee
At 08:27 AM 3/9/2004, you wrote: DIA seems to be disabled when we run our 68k application on the Cobalt simulator? Anyone else having problems? Works fine on the T3. Details: WinGetDisplay window returns the rectangle of the whole screen in frmLoadEvent; the input area seems to flash on the

Re: problem in Record Count in AddressDB

2004-03-09 Thread SLO Revo News
and , in the doc of DmDeleteRecord it says that it delets but leaves the record entry in the header --is it becoz of that i 'm getting 12 instead of 10?? Yes. As others have pointed out, DmRemoveRecord actually gets rid of the records. actually i 'm manually deleting the record from the

Help! Invalid Card # Line: 1409

2004-03-09 Thread Victor .
Hi Developers, I created a program which worked well when I used cardNo = 0. However, when I changed it to cardNo = 1 or 2. It required me to soft reset. It said: MemoryMgr.c, Line: 1409, Invalid Card #, eventhough I have inserted a formatted SD card in my slot 1 and slot 2. Could you please let

Re: Cobalt DIA compatibility?

2004-03-09 Thread Mike McCollister
Ben, If you based your DIA support on the older Collapse sample in the PalmSource knowledge base, be sure to download Collapse_R3, the updated sample posted in February 2004. There were a few tweaks needed to get the DIA code working on both Palm OS Cobalt's PACE and Palm OS 5. Do you

Re: vchrCalc restored ?

2004-03-09 Thread Matt Graham
Vu Pham wrote: In my app event loop, I capture the vchrCalc. It works. User can not launch Calc under my app with Calcultor silk-screnn icon. But when I display an alert ( FrmCustomAlert ) when vchrCalc detected and I click on the Calcultor silk-screnn icon again, Calc app will run. Does it mean

Re: Help! Invalid Card # Line: 1409

2004-03-09 Thread Ben Combee
At 11:07 AM 3/9/2004, you wrote: Hi Developers, I created a program which worked well when I used cardNo = 0. However, when I changed it to cardNo = 1 or 2. It required me to soft reset. It said: MemoryMgr.c, Line: 1409, Invalid Card #, eventhough I have inserted a formatted SD card in my slot 1

Re: CW IDE

2004-03-09 Thread Matt Graham
Vu Pham wrote: - Original Message - From: Chris Tutty [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Monday, March 08, 2004 2:35 PM Subject: Re: CW IDE [,,,] I noticed that the help system added to version 9 sometimes causes the cursor in the edit window to become

Re: Cobalt DIA compatibility?

2004-03-09 Thread Scott Thibault
That did it, thanks! I also noticed that if dynamically created forms are not created full size, then DIA would be disabled. --Scott Thibault Konstantin Klyatskin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I had exactly the same problems. 1. Was fixed by changing arguments

Re: is Bitmap compression restricted to certain PalmOS versions?

2004-03-09 Thread Ted Peters
Your application will not be able to correctly display a bitmap compressed with a method that the OS doesn't support (unless you provide code to do the decompression yourself). Also note that OS 4 HiRes CLIÉ devices have problems with compressed HiRes 16-bit bitmaps: they draw PackBits

Re: How do I change the application to customize each button?

2004-03-09 Thread Alan Ingleby
armada.li [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I use codewarrior9.3.How do I do? If you don't know what I mean,please see the attachment. These are Popup Triggers. Look it up. Download sample applications from Palm. Alan -- For information on using the Palm Developer

Rotate Screen in OS5 R3 Simulator?

2004-03-09 Thread autocode1
I've used the new OS5 R3 simulator to test the code I plan to run on the Tungsten T3, and know how to collapse the DIA area on the simulator (320x320 = 320x480). However, in addition to the collapse icon, the T3 has a rotate icon that rotates the screen. Where is this icon on the R3 simulator?

Re: Rotate Screen in OS5 R3 Simulator?

2004-03-09 Thread Ben Combee
At 03:41 PM 3/9/2004, you wrote: I've used the new OS5 R3 simulator to test the code I plan to run on the Tungsten T3, and know how to collapse the DIA area on the simulator (320x320 = 320x480). However, in addition to the collapse icon, the T3 has a rotate icon that rotates the screen. Where is

Re: Font families with Pilrc

2004-03-09 Thread Ken Krugler
Alexander Lange wrote: if (densityCount 2) Error(FontFamily must have 2 fonts with density 72 and 144.); So obviously it is not possible at the moment to create a font family with only a high-res member. Too bad. Maybe the Pilrc designers could rethink this in the future. If you read

Still having problems compiling - Please help

2004-03-09 Thread Peter Spam
[If this is the wrong list, please let me know - I just need the answer to this problem, but can't seem to find the right place to ask] I can compile link normal PalmOS apps without any problems, using gcc on my MacOS X 10.3.2 machine. I then downloaded the Treo 600 headers from:

Re: is Bitmap compression restricted to certain PalmOS versions?

2004-03-09 Thread Matthew Henry
they're backwards compatible for older OS's. Or does using bitmap compression limit your app to only those OS versions and later? yep. FWIW and IIRC, we had problems with early Handspring devices and bitmap compression, so we don't use any type of OS bitmap compression in any of our apps. Of

Re: Still having problems compiling - Please help

2004-03-09 Thread Ben Combee
At 06:07 PM 3/9/2004, you wrote: [If this is the wrong list, please let me know - I just need the answer to this problem, but can't seem to find the right place to ask] I can compile link normal PalmOS apps without any problems, using gcc on my MacOS X 10.3.2 machine. I then downloaded the

Re: Still having problems compiling - Please help

2004-03-09 Thread Peter Spam
On Mar 9, 2004, at 6:20 PM, Ben Combee wrote: The libraries are built into the Treo 600 device as shared libraries. You shouldn't need to link anything into your app to use these. All the calls in 68K/Libraries/ImageLib.h, for example, are defined using SYS_TRAP macros that map to internal

Saving/Packing Text in a Database

2004-03-09 Thread Timothy Beamish
I realize that saving strings to a DB is a commonly asked question on this forum. I've read through many posts on the topic and have followed the instruction to pack strings into the end of the database. Yet, my code doesn't seem to be doing any saving to the DB at all. I was wonder if someone

Re: Still having problems compiling - Please help

2004-03-09 Thread Greg Parker
Peter Spam writes: Thanks so much for your response. Here's what happens when I try to compile the Treo 600 Camera sample application (after changing #include 68k\Hs.h to #include 68k/Hs.h): (72) G4 6:53pm Palm/Treo600_ALL_Samples/CameraSample make m68k-palmos-gcc -O2 -g -Wall -I

Re: Saving/Packing Text in a Database

2004-03-09 Thread Chris Tutty
From: Timothy Beamish [EMAIL PROTECTED] /*** 's' remains blank throughout the following statements. What am I doing wrong? ***/ error = DmWrite(s, OffsetOf(PackedAnimalInfoRecord, alphaRhythm), src_record-alphaRhythm, sizeof(src_record-alphaRhythm)); When you say

Re: Still having problems compiling - Please help

2004-03-09 Thread Greg Parker
Greg Parker writes: Try converting the Handspring headers to Unix line endings using CodeWarrior or BBEdit or maybe Xcode. Or you can use old-file tr '\r' '\n' new-file in the shell. (Note that the shell command will erase your file if old-file and new-file are the same file.)

Re: Still having problems compiling - Please help

2004-03-09 Thread Peter Spam
On Mar 9, 2004, at 7:50 PM, Greg Parker wrote: Greg Parker writes: Try converting the Handspring headers to Unix line endings using CodeWarrior or BBEdit or maybe Xcode. Or you can use old-file tr '\r' '\n' new-file in the shell. (Note that the shell command will erase your file if

SOLVED - Re: Still having problems compiling - Please help

2004-03-09 Thread Peter Spam
You were right, that was the problem! I wonder why diff -dburN didn't report a file difference? I ended up using unzip -a and now everything is happy! Thanks so much for your advice. Thanks, Peter On Mar 9, 2004, at 10:43 PM, Peter Spam wrote: On Mar 9, 2004, at 7:50 PM, Greg Parker wrote: