Re: Displaying Text in a TextField.

2003-06-10 Thread DongDong
If you want to display only, why don't you use label, instead of field for the output. Khuram Mir [EMAIL PROTECTED] ???:[EMAIL PROTECTED] Hi All, I want to display a value in a textfield.Actually it will display the total sum of two other fields in same form which will be entered by

Re: Displaying Text in a TextField.

2003-06-10 Thread Debmalya Jash
-- FieldPtr fieldP; MemHandle oldText,newText; fieldP=(FieldPtr)FrmGetObjectPtr(FrmGetActiveForm(),FrmGetObjectIndex(FrmGetActiveForm(),nFieldID)); // nFieldID ID of the field // strValue is value to be assigned in the field oldText=FldGetTextHandle(fieldP);

writing files

2003-06-10 Thread Sherry Lane Razon
hi everyone! am doing an application to connect to a particular server via gprs connection. i can send the data though but i should have a TCP/IP application running on the server. what i want to do is when i send the data via gprs then save it on the server as file. is it possible? i'll be

Loading two arm native shared libraries

2003-06-10 Thread TVS Deepak
Hi everyone, I have a palm application which needs to load two arm native shared libraries. My application loads each shared library individually using syslibload. But when I am trying to load both the libraries in the shared library, the application is above to load only one library. It gives

New POL update

2003-06-10 Thread Maks Pyatkovskiy
I just released POL 4.04.01 update: a) This release contains a lot of internal fixes. It has been tested for a while. b) I redefined most constructors as explicit to reduce potential programming errors. c) Strings reading and writing in binary stream mode may be further customized. Strings may

Table or List or Gadget?

2003-06-10 Thread David Martin
Opinions wanted: Here is roughly what I want: Nth Fibonacci\__ N DecimalHexadecimal +-++--+ (up arrow) | 1 |1 |0001 | | 2 |1 |0001 | | 3 |2 |

Re: charAttr_XA

2003-06-10 Thread Ken Krugler
Which chars have charAttr_XA? Any pointers please? #define charAttr_XA 0x0200 // extra alphabetic The simple answer is all of the characters for which TxtCharAttr returns a result with bit 0x0200 set. In other words, you shouldn't be relying any static set of characters having this

Re: Table or List or Gadget?

2003-06-10 Thread Dave Lippincott
B) List Custom draw each line. With a list you won't have to manage the scroll bar. A table or gadget will also work but IMHO require a little more work up front. - Original Message - From: David Martin [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, June 10,

RE: bluetooth connection problem

2003-06-10 Thread Agus Silas
Hi all, I've also started a new project using Bluetooth device ( Socket bluetooth GPS receiver and Tungsten W with Palm BT SD card ), and tried the code found in the documentation the same as follow. Unfortunately I got an error code 0x3108 ( btPortID = 0 ) which is not referenced in the

getting field text and padding

2003-06-10 Thread Matt Andreko
First off, a warning: I'm not a very good programmer yet, just a beginner, so anything i ask that's stupid, just remember that please. i'm currently reading a few books, so i'm trying to find the answers on my own first, but asking here what i haven't found in books or at google. Ok, here's the

Re: Screen Blanking?

2003-06-10 Thread Daniel Seifert
Am Mon, 2003-06-09 um 23.15 schrieb Ron Nicholson: Hi, Which PalmOS models support turning off the display to save refresh and backlight power while still executing application code (foreground or background task)? Where might this be documented, if anywhere? At least Sony's devices and

Re: getting field text and padding

2003-06-10 Thread ThuNguyet Nguyen
Hi there, To get the text in the field, search the archives for textfield or SetFieldText(), GetFieldText(), FreeFieldText()... These functions are in almost every Palm books that I read. After you get the string from your text field, you can pad it with this function (no compiling and testing

Http in INetLib

2003-06-10 Thread Larry
Hi, everyone, I am new to palm network programming and want to use Http in INetLib. On a smartphone, I was able to post and get data from a web server. But I still run into some problems and hope you guys could help : a) When I quit the application, I want to close all the socket and hangup the

Re: getting field text and padding

2003-06-10 Thread Matt Andreko
that definately works, except for one thing that has struck me as quite odd. i always thought that all variables made in a function get destroyed after the function is done (pointers don't get destroyed, but dereferenced). For some reason, the function is keeping a connection to the variable

Re: getting field text and padding

2003-06-10 Thread ThuNguyet Nguyen
Hi there, As I said, the input string must be at least maxlen+1 (which is 16). You overwrite every string. Char a[15] = 123456789; // should be Char a[16]; Char b[15] = 987654321; // Char b[16]; Char c[15] = 741852963; // Char c[16]; PadStringWithChar(a,15,' '); // maxlen = 15

callback for image capture with Zire 71 camera

2003-06-10 Thread Matthew Fleming
Palm-meisters, The Camera Manager API, which is part of the SDK from the Palm PluggedIn program, is supposed to make it possible for 3rd party programs to control the Zire 71's camera. According to the Camera Manager API Guide, image capture is initiated with a call to CamLibControl, where

Re: getting field text and padding

2003-06-10 Thread Matt Andreko
oh, i missed that. i read it, but just didn't think about it enough. i will definately be reading more. i've only been playing with c++ for a short time, but i am starting to like it. it's just really hard compared to some other languages i've done. Thanks again. ThuNguyet Nguyen [EMAIL

Re: callback for image capture with Zire 71 camera

2003-06-10 Thread Ben Combee
The Camera Manager API, which is part of the SDK from the Palm PluggedIn program, is supposed to make it possible for 3rd party programs to control the Zire 71's camera. According to the Camera Manager API Guide, image capture is initiated with a call to CamLibControl, where kCamLibCtrlCapture is

Re: Netlib Redirect on Real Device

2003-06-10 Thread Gary Gorsline
Any ideas on how to make this work - mochaPPP will work for serial, but not usb. For all PalmOS 3.1 thru 4.X (or 3.5 to 4.X) [Yes, I'm ignoring os5] I need to be able to create [at each customer site] a TCP connection between a custom app on the Palm and a custom server app on the Windows

Turn on the mobile phone on Tungsten-W

2003-06-10 Thread Jerome C.
Anyone has sample code on how to turn on the phone on the Tungsten-W ? When I call TelPowSetPhonePower(...) the phone does turn on, but then a message will pop telling me that the SIM card is not inserted... but the phone is up and running (I can receive SMS messages). What is it I'm not doing

Re: Database copy issue

2003-06-10 Thread Philip Sheard
The application I am doing now needs to copy an entire database file(e.g. temp.pdb) to another one. Is there any API like file management can copy or rename a database's file name? you need to create a new database, iterate through the existing and create/copy all resources into the new

Re: Why the reset after new HotSync UserID

2003-06-10 Thread Jeff Ishaq
At 12:10 PM 6/5/2003 -0700, John C. Christensen wrote: On a fleet of company owned Symbol units, we've decided to assign HotSync User Names and User IDs according to a company wide scheme. I've added provisions to my app to set these values on the handheld's. John, Grant Street Software has a SD

Lists in OS 5

2003-06-10 Thread Paul Nevai
It seems to me that every release of OS 5.x handles 5-way navigators differently when using LstHandleEvent() and LstPopupList(). I could definitely see the difference on the Tungsten T and Tungsten W. I don't have a Tungsten C so I don't know about the 5-way navigator behavior in OS 4.x. Is

default value error converting from GCC++ to CW9

2003-06-10 Thread Danny Wong
HI, I'm in the process of converting a large project from GCC C++ to CW9. I'm running into the compiler error about error with the default value eg: myClass::function1(MemPtr var, Boolean ok = false) the compile errors out. If I remove the default value of false it will compile. How do I fix

Re: What are the Constants for Hardkeys?

2003-06-10 Thread Gary Morris
I didn't find them in the docs, but they are all in SDK5.0\Palm OS Support\Incs\Core\System in the Chars.h file. --GaryM Alexandre Barreto wrote: I need the constans names for Hardkeys like vcharHard1, vcharHard2, etc... i need the other ones like Calculator key and the turn off key --

Re: default value error converting from GCC++ to CW9

2003-06-10 Thread Sherry Lane Razon
i guess you have to declare the default value inside the function. myClass::function1(MemPtr var, Boolean ok) { ok = false; your code follows... } ... or better yet make the ok variable global. hope that helps. Sherry At 10:08 PM 6/10/03 -0600, you wrote: HI, I'm in the process