Palm Clock Button Application

2005-12-01 Thread Régis Daniel de Oliveira
Is there any way to change the CreatorID associated with the Palm's Clock Button (That one that appears on the top-left side of graffiti's area)? Thanks a lot! -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Display Large Text Messages on a Field

2005-08-31 Thread Régis Daniel de Oliveira
Thanks Jim. Suppose that I have a database that I use to store this message. The database contains only the message field. So, actualy I'll load the record as show bellow: DmOpenRef DbPtr; MemHandle rh; Char *rp; //Open the Database ... //Load the Record rh = DmQueryRecord(DbPtr,0); rp =

Display Large Text Messages on a Field

2005-08-30 Thread Régis Daniel de Oliveira
Hi all!!! There is on my application a form that have a read only text field. This field is used to show a messages that is generated from server to the palm. There is a database that stores all these messages. Mostly times, this message have about 100 lines. So, what I do is create a Char

How Can I Retrieve the Record Category?

2005-08-25 Thread Régis Daniel de Oliveira
Hi!!! I use the folowing code to set the record category: DmRecordInfo(DbPtrF, Count, attr, NULL, NULL); attr = ~dmRecAttrCategoryMask; //Check with category to Use if (StrAToI(rp) = TodayN) attr |= 0; //Open else attr |= 1; //Closed

Creating Apps that runs on 320x480 screens

2005-08-24 Thread Régis Daniel de Oliveira
Hi forum! Actually I develop apps to PalmOS plataform using CodeWarrion 9.3. I always developed applications that runs on standart screens (160x160, 320x320), and now, i want do develop an app that will work on palms that have 320x480 screens. When my actual apps runs on devices that have

Use os MemHandleFree

2004-08-09 Thread Régis Daniel de Oliveira
Hy all!!! Is mandatory the use o MemHandleFree after using MemHandleNew and MemHandleLock? If yes, what can happen if i don't use it? Thanks all! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support

MemPtrNew versus MemHandleNew

2004-06-08 Thread Régis Daniel de Oliveira
Hy all! My app need to allocate four 4k buffer, that will be used by many functions during the app execution. I can allocate memory for the pointers using MemPtrNew and MemHandleNew. Witch one is the best for using? Thanls all! -- For information on using the Palm Developer Forums, or to

Palm Freezes on Palm Logo Screen

2004-04-20 Thread Régis Daniel de Oliveira
instead of MemHandleNew, and, sometimes, any data on Palm get currupted and the system cant start. Only a hard reset could make palm working again... Does anybody can help me to solve this problem? Thanks all! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums

Re: Palm Freezes on Palm Logo Screen

2004-04-20 Thread Régis Daniel de Oliveira
having the same problem and if so, how can we fix it? Thanks Régis Daniel de Oliveira [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hy all! My application uses NetLib to send and receive information from a server. The app has a Char pointer, that has 2000 bytes of size

ZLib Compression Examples

2004-03-31 Thread Régis Daniel de Oliveira
Hi! Does anybody knows where can i found an example of use of ZLib on Palm? Thanks!!! Ps.: Is this the best compression lib for Palm? If no, with one is? Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Large Strings - Memory Allocation Techniques

2004-03-30 Thread Régis Daniel de Oliveira
and Palm M100??? Any explanation, example and/or code will be appreciable. Thanks all!!! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Memory Semaphore timeout

2004-03-30 Thread Régis Daniel de Oliveira
it mean. Doen anybody can explain me what is Semaphore Calls and what should i do to stop receiving this alert? Thanks!!! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Memory Semaphore timeout

2004-03-30 Thread Régis Daniel de Oliveira
- Original Message - From: Ben Combee [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 9:33 PM Subject: Re: Memory Semaphore timeout At 06:16 PM 3/30/2004, you wrote: The Memory Manager semaphore has been held for

Re: Memory Semaphore timeout

2004-03-30 Thread Régis Daniel de Oliveira
Ben Combee [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] At 06:16 PM 3/30/2004, you wrote: The Memory Manager semaphore has been held for longer than 1 minute. PalmSource recommends that applications not acquire the Memory Manager semaphore at all, but that if they do, they

PRC File NetLib Streaming

2004-02-18 Thread Régis Daniel de Oliveira
Hi all!!! I need to make a app that will receive a PRC file sent as binary mode through stream socket connection. But, i don't know how to proceed when the chunks of data arrive on the device. Does anybody can tell me how need i proceed to store this file into device Thanks... Régis Daniel de

DmQuickSort CompareFunction Question

2004-02-16 Thread Régis Daniel de Oliveira
Hy all!!! Supose that i want to use DmQuickSort to sort a db that has the following recs: The primary key is the #ID column... #IDName 1TEST A 2584 TEST B 569TEST C 253624 TEST D The CompareFunction can return only

Palm Zire 21 Espontaneous Reset

2004-02-12 Thread Régis Daniel de Oliveira
well on other palms (like M130), and not all Zire 21 devices show me the same problem... Does anybody knows anything about this? Is the Zire21 a intrustable device? Thanks all!!! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Auto Load my app After a Soft Reset

2004-02-03 Thread Régis Daniel de Oliveira
Hy all! Does anybody can explain me how can i load my app after a soft reset? I read that i need to use some alarm functions, but i dont know how to make them working. Any code will be gratefull. Thanks!!! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums

Manual Power Off versus Automatic Power Off

2004-01-15 Thread Régis Daniel de Oliveira
Hy all! I need to know when the Palm is turned off Manualy and Automaticaly, but, i don't know wich event to query to discover how the device is shutting down. Does anybody knows how doing this? Thanks! -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Calling Network Prefs Pannel and back to app

2004-01-08 Thread Régis Daniel de Oliveira
Hy all How can I call the Network Preferences Pannel from my Application, and, after editing the setting, switch back to my app? Thanks all Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Integrating Palm Zire 21 Simulator on CW 9.2

2004-01-01 Thread Régis Daniel de Oliveira
Hy all! I downloaded the Palm Zire 21 Simulator from the plugged in homepage and installed it on my computer. The installer created a folder called Palm OS 5 Simulator (Zire 21) into CW for Palm OS Tools, but, when i go to the IDE Debug Settings, the new emulator doen't appear on list. Is there

Zire21 CodeWarrior USB Debugging

2003-12-07 Thread Régis Daniel de Oliveira
Hy all! Does anybody know how can i allow USB Debugging with Zire 21 Device? I configured the Debugger seting to try to connect with the device using the USB port and started the DotDotTwo app on the device, but i always receive the folowing error: Failed do download de Palm OS Database. The

CodeWarrior Debugging Problems...

2003-12-04 Thread Régis Daniel de Oliveira
to solve these problems??? I can't believe that all CW programmers have the same problems too... :-) Thanks all! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

CodeWarrior 9 - AutoVersioning App

2003-12-03 Thread Régis Daniel de Oliveira
Hy all! Does anybody knows how can I auto increment the version of a PRC when a compile it with the RELEASE target? Thanks all! Regis Daniel -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Zire 21 Problem...

2003-11-27 Thread Régis Daniel de Oliveira
Hy all! I developed an app using Falch.Net and SDK 4 that works well on PalmOS 4, but, on PalmOS 5 (Zire 21) sometimes, when the Palm is signing to a network connection using a infrared celular as modem, its freezes and i need to reset to make it work again. Another time, the connections is

Batery low versus Palm Erros

2003-11-25 Thread Régis Daniel de Oliveira
to make a network comunication using a Celular with a InfraRed port. Thanks all! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Palm OS Serial Number

2003-11-20 Thread Régis Daniel de Oliveira
Thanks Aaron. Ok. This is the thing that a want... When the users change the device, your registration should be replaced... Do have any example that i can use to get the device/HAL id's or CPU id's? Thanks! Regis Aaron Ardiri [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] I

Palm OS Serial Number

2003-11-19 Thread Régis Daniel de Oliveira
Hy all. I need to develop a way to identify uniquely all palms that are in use im my company. I tried to get the Rom Serial Number, but it is not present on Palm M100 Series (M100, M130, M150 (Zire), ... etc...) Does anybody have any idea that i can use to make the palm uniquely identified,

Debug Falch.Net with Zire71 Simulator

2003-11-17 Thread Régis Daniel de Oliveira
Hy all! I've been developed an app that works well on palm os 4.1, but, on the simulator it crashes and i don't know what is happening. Does anybody knows a whay to debug in Falch.net 2.6.1.0 using Zire71 Simulator? Thanks all. Regis Daniel de Oliveira -- For information on using the Palm

Re: Connecting palm to VB server using modem

2003-11-11 Thread Régis Daniel de Oliveira
Hy boy! I've developed an app that use Netlib to comunicate with an app server that was developed in vb, using winsock. I you want, i can send it to you and you will see how easy is using this on palm/vb. Bye! Regis Daniel de Oliveira Jonathan Dudley [EMAIL PROTECTED] escreveu na mensagem

Palm String Compressing/Uncompressing

2003-11-05 Thread Régis Daniel de Oliveira
it to the palm and palm should decompress it. Thanks any information. Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Calling a New App from Other App.

2003-10-25 Thread Régis Daniel de Oliveira
Hy all. I Have two apps (A and B) developed using falch.net, and want to make app A launch app B and, when app B closes, the focus return to App A, that should be exactaly how it was before calling the app B. I now that i should use the SysAppLaunch() function, but, when the app B starts, the

Multiline Text on a Field Box

2003-10-24 Thread Régis Daniel de Oliveira
using 3 lines. How can i do this? Thanlks! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Source Code for LFTP

2003-10-24 Thread Régis Daniel de Oliveira
Does anybody know where can i get a copy of source code of LFTP? Thanks! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Max Lenght of a Field Control

2003-10-23 Thread Régis Daniel de Oliveira
that this operation will drain from the system. Is this the best way to create a log into my app, or there is another way to do this that is better than using field. Any example or code will be very good! Thanks! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums

Opening another app...

2003-10-23 Thread Régis Daniel de Oliveira
How can i open another APP from my program? Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

NetLib Question

2003-10-09 Thread Régis Daniel de Oliveira
! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

App developed used SDK 4 runnig in PalmOs5???

2003-10-09 Thread Régis Daniel de Oliveira
it on a PalmOs5 device... Is these affimation real? Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: App developed used SDK 4 runnig in PalmOs5???

2003-10-09 Thread Régis Daniel de Oliveira
Thanks Aaron! So, if an app run without any problem in Palm OS 4, it will run on PalmOs 5 too, without problems. Right? Thanks! Aaron Ardiri [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Is there any problem if try to use an app developed with the SDK4.0 in the PalmOs5? I

NetLib Questions

2003-10-06 Thread Régis Daniel de Oliveira
Hy all! I'm including the network abilities to my Palm application. But, I have some questions about the way the the palm and the server exchanges data. 1- I need to call NetLibSend repeatedly to send the information from the palm to server. The data is stored in the buffer sucefully, and after

Amout of Memory that NetLib need to run witout problems...

2003-10-02 Thread Régis Daniel de Oliveira
Hy! Does anybody know which size of memory heap should be free to load and run NetLib without errors? Thanks! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Memory Heap Usage

2003-09-30 Thread Régis Daniel de Oliveira
Hy all! Does anybody know any way to see the size and the amount used of the memory heap? Thanks all! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Version on a PRC database

2003-09-22 Thread Régis Daniel de Oliveira
Hy all! How can I get the version of my application? I defined it using a version resource, but i don't found nothing about retrieve this value. Any idea? Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

PRC Database Version

2003-09-22 Thread Régis Daniel de Oliveira
Does anybody know how can i get the version (App version, the same that we can see on the Information Menu of the Palm's Laucher app) of a PRC file? Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Draw Vertical Text

2003-09-18 Thread Régis Daniel de Oliveira
Hy! Does anybody know how can I draw a vertical text? Thanks! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Structs And PDB Generated by PalmDB.dll

2003-09-11 Thread Régis Daniel de Oliveira
Hy all! I'm getting some dificulties to open a record from a db that was created by palmdb.dll. I can't put it on a struct. The database contain recs that have 3 Char variable lenght fields. This the code, that works very well when is used with recs that is created by the device (using DmWrite).

Re: Structs And PDB Generated by PalmDB.dll

2003-09-11 Thread Régis Daniel de Oliveira
Daniel de Oliveira [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 2:06 PM To: Palm Developer Forum Subject: Structs And PDB Generated by PalmDB.dll The database contain recs that have 3 Char variable lenght fields. This the code, that works very well when is used with recs

DataTypes and Databases

2003-09-08 Thread Régis Daniel de Oliveira
the correct Data Type? Thanlks all! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: DataTypes and Databases (PalmDB.dll)

2003-09-08 Thread Régis Daniel de Oliveira
, a smaller amount of data will speed-up the hot-syncing process, coserving both time, space, and processor resources. Dennis Leas --- [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Régis Daniel de Oliveira Sent: Monday, September

Query DmQuickSort Progress

2003-09-02 Thread Régis Daniel de Oliveira
! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Graphical Progress Bar

2003-09-01 Thread Régis Daniel de Oliveira
that explain how make one. Does anybody has any example, or could tell me the tecniques used to make one? Thanks! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

FrmPopupForm Issue

2003-08-25 Thread Régis Daniel de Oliveira
the FormB closes? Thanks All! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

MultiSegmenting Questions

2003-08-19 Thread Régis Daniel de Oliveira
about my globals variables? What do i need to do with them? Thaks all! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Multi Segment Manual

2003-08-19 Thread Régis Daniel de Oliveira
Hy! Does anybody knows where can i find documentation about segmenting aplications for Palm Os? I'm using falch.net, and need to segment my app. Thanks! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Re: Multi section for C++?

2003-08-19 Thread Régis Daniel de Oliveira
Hy! Here is an example of how make multi segmented app using C++: http://www.falch.net/Articles/?art=151 http://www.falch.net/Articles?art=334 http://www.falch.net/Articles?art=171 I'm looking for an example of how to do this same thing on C, and you said that you get one.

Re: How to create a .PDB in Windows - looking for a utility (VB6) or the documentation - Newbie question of the day!

2003-08-19 Thread Régis Daniel de Oliveira
Hy Fred. I developed an utility, in VB, that use PalmDb.dll to create a PDB. If you can, i can send the app and source code to you see how it works... Regards. Régis Daniel de Oliveira Fred Zappert [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Hi, I am trying to create

Re: How to create a .PDB in Windows - looking for a utility (VB6) or the documentation - Newbie question of the day!

2003-08-19 Thread Régis Daniel de Oliveira
Ok. I'll send it to your e-mail Good luck! Regis Fred Zappert [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Regis, I would appreciate it very much if you could send me that code. Regards, Fred. - Original Message - From: Régis Daniel de Oliveira [EMAIL

Trunc String on the Popup Trigger

2003-08-18 Thread Régis Daniel de Oliveira
Hy all! How can i truncate a string that appear on my trigger control? Whe i click on the trigger, the list show the itens truncated, but, when a select a truncated item, it doesn't appear truncated on the trigger. Thanks any information. Régis Daniel de Oliveira -- For information

Setting WinDrawTruncChar issue

2003-08-14 Thread Régis Daniel de Oliveira
set the focus on this text, the color continues blue, and not changes to white. How can i set the color of the text when it is selected? Thanks! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support

Palm Zire Compability

2003-08-14 Thread Régis Daniel de Oliveira
pixels. Will my forms appear smaller on palm Zire 71)? Thanks! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Freeing Variables

2003-08-07 Thread Régis Daniel de Oliveira
Hy all! Is there anyway to free a static variable, like Char Teste[50], and, with this, avoid memory leaks? Thanks! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Allow Numeric Fileds to Accept the Minus sign

2003-08-06 Thread Régis Daniel de Oliveira
How can i make a numeric field accept the minus (-) field? Thanks! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Best Way to Fill a list whith many itens

2003-08-01 Thread Régis Daniel de Oliveira
with a list of this size? Thanks all! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Memory Leaks

2003-07-30 Thread Régis Daniel de Oliveira
); } Thanks all! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Memory Leaks

2003-07-30 Thread Régis Daniel de Oliveira
Thanks Alan. Now it's working very good! Thanks! Alan Ingleby [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Does anybody knows what is wrong? Yes, you need to free all the allocations created by : itemList[count] = (char *)MemPtrNew(StrLen(NomeCli) * sizeof(Char *));

Re: Newbie Database Questions

2003-07-29 Thread Régis Daniel de Oliveira
); Régis Daniel de Oliveira [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Hy all! I need to perform the folowing operations in my program, but i get a litlle bit confuse about the processes and functions that i need to use o perform the operations. Can anybody show me

Database Edit Question...

2003-07-29 Thread Régis Daniel de Oliveira
file://Busca no Banco de Dados as Informacoes sobre a Senha do representante dbPtrF = NULL; OpenDatabase(dbPtrF, Config); { typedef struct { Char *CodRca; Char *NomeRca; Char *Senha; } StructType; StructType *s;

Newbie Database Questions

2003-07-28 Thread Régis Daniel de Oliveira
record. 2) Permanent exclusion of a specified record. 3) Insertion of a record on a specified positiom. 4) Insertion of a record on a sorted specified position. Thanks all! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Idiot C/C++ Pointer Question

2003-07-25 Thread Régis Daniel de Oliveira
= (Char *) MemHandleLock(h); ForwardColumnsOnRecord(Codigo, Razao, 1); // here, the pointer Razao shoud assume the value that DestColumn assumed inside the code, but it,s not working. } DmCloseDatabase(dbPtrF); Thanks all, and sorry by the idiot question! Régis Daniel de Oliveira

Re: Idiot C/C++ Pointer Question

2003-07-25 Thread Régis Daniel de Oliveira
= LastColumn; for (Count = 0; Count NumColsToAdvance; Count++) { NumChars = NumChars + StrLen(*DestColumn) + 1; *DestColumn = LastColumn + NumChars; } return; } The function should be called like this: ForwardColumnsOnRecord(Codigo, Razao, 1); Thanks all! Régis Daniel de Oliveira

Hide/Show form without lost the Form's memory

2003-07-23 Thread Régis Daniel de Oliveira
Hy all! I'm developing an app that will fill a list with 3000 recs. I need to put this list in a form, and this list will pass informations to another form, using a global variable. But, each time that a call this form that have this list, the list needs to be reloaded. Is there any way to load

Draw Lines into a List

2003-07-22 Thread Régis Daniel de Oliveira
Hy all, I'd like to show a table that will have 3 columns, and want to draw this line to discriminate each one. What control is the best to use for doing this? The LIST or TABLE control? I prefer that when a select a item, all line should be selected too, like the Full row select of Vb's

Re: Draw Lines into a List

2003-07-22 Thread Régis Daniel de Oliveira
Sorry... The correct sentence is: I'd like to show a table that will have 3 columns, and want to draw ONE VERTICAL line to discriminate each one. Thanks again! Régis Daniel de Oliveira [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Hy all, I'd like to show a table

Avoid Exit a Program

2003-07-17 Thread Régis Daniel de Oliveira
Hello all, I'm starting to develop an aplication that should not exit when we press any of the palm's buttons, like Calc, Phone Book, ToDo, aplications, How can i do this? I'm using Falch.net Developer Studio Thanks All! Régis Daniel -- For information on using the Palm Developer

StrCopy Problem. Why?

2003-01-28 Thread Régis Daniel de Oliveira
Hy All. I have a function that receives a string and should copy this string to another one. It compiles well, but cause a memory error (BUS ERROR) when the app run. I think that the error is simple and is something about C/C++ sintax too. Can anybody help-me, please!!! Thanks all! The value

Pow Function.

2003-01-28 Thread Régis Daniel de Oliveira
I try to use your code, but i have no reference to 'pow'. Is this a function? Thanks! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Centralizing a Label Resource

2003-01-27 Thread Régis Daniel de Oliveira
Hy all! Does anybody know how can i centralize a label resource in a form? Thanks!!! Regis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Setting text to a Field

2003-01-27 Thread Régis Daniel de Oliveira
Hy! How can i set the text of a field at runtime? Thanks! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

How Can I Get the Size of a Label?

2003-01-27 Thread Régis Daniel de Oliveira
Hy! How can i get the size of a label? Thanks! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Setting text to a Field

2003-01-27 Thread Régis Daniel de Oliveira
Hes, i was looking for this function, but i dont know how to use that. I think that i have to use more functions to make it work. I need some source example code. Does anybody have anything? Thanks!!! Régis Daniel de Oliveira [EMAIL PROTECTED] escreveu na mensagem news:110725@palm-dev-forum

Formating a double value

2003-01-27 Thread Régis Daniel de Oliveira
Hy! How can I format a double value to a string like the example bellow? a string like this: 200 to 200,00 235,1 to 235,10 2541 to 2.541,00 The last one is not very important, but i really need to know how to transform the doubles values to string like the

Retrieve Text from a Table

2003-01-21 Thread Régis Daniel de Oliveira
Hi! How can i retrieve the text of a customfield of a table resouce? Thanks! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

TABLE Question

2003-01-20 Thread Régis Daniel de Oliveira
Hy all! I'm using a table resource in my app. It have 2 columns and 7 rows, all of them are label type, but i want to align all the field in the left, and i don't want that : symbol after the field. I was looking in the phone book example of the CW, but the code is very extense and dificult. Does

Is this a PALM OS List BUG?

2003-01-20 Thread Régis Daniel de Oliveira
Hy! I maked a form that a have a LIST Control. All my clients will be loaded in this list when the form is opening. Each name have about 20 chars. All the list is loaded when the form start (the list show 7 lines at each time, and the list have about 40 records). The problem appears here. The

Arrows UP and DOWN in REPEAT BUTTON

2003-01-19 Thread Régis Daniel de Oliveira
How can I set the arrows UP and DOWN in a REPEAR BUTTON by code? This arrows is like that ones that appears on the PhoneBook app when the list has more than 1 page of itens. Thanks! PS.: In CW, the Arrows is show in the Character Map of the constructor; font Symbol 7 Thanks! -- For

Global Variable Question

2003-01-18 Thread Régis Daniel de Oliveira
Hy all! I need to write a string to a global variable tha will be accessed by 2 or more forms, but i don't know where to put it and how to access is from a form. Can anybody give-me a example? Thanks!!! -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Global Variable Question

2003-01-18 Thread Régis Daniel de Oliveira
Hy! I tried the code bellow, but it's no working Can anybody tell me why? This is the code of where I'm trying to call the variable: // FILE global.h #ifndef GLOBAL_H_INCLUDED #define GLOBAL_H_INCLUDED //VAriavel Global - Nome do RCA

I Cant Make my Globals Variables Working... Please HELP!

2003-01-18 Thread Régis Daniel de Oliveira
Does anybody have a source code of any app that uses Globals Variables??? I saw all the examples of the list, but none of that worked. The questions are: How to declare a global variable (I thing i a .h file) How can I read a Global Variable from a form? How can I set a new value into it?

Set Fields Values when openin a new form

2003-01-17 Thread Régis Daniel de Oliveira
Hy!!! A want to put the selected text from the LIST of the current form on a new form before deleting the old one. The problem is that when i draw the new form, the LABEL is set with the value that i want, but none of the controls responds to my command. I tried to use a FrmGotoForm after setting

Compilation Error... Why?

2003-01-16 Thread Régis Daniel de Oliveira
Hy all!!! I'm using this function the find a item in a list. When I put the last 'LstSetSelection(lptr,iItemMid);', the compiler says : frmRCAS.c: In function `FindItemList': frmRCAS.c:336: `iItemMid' undeclared (first use in this function) frmRCAS.c:336: (Each undeclared identifier is reported

Select a List item with the content os a field

2003-01-15 Thread Régis Daniel de Oliveira
Hy! How can I select a iten from a LIST control given their value (or a part of it)? Example: My LIST have the following itens: Apple Microsoft Linux Palm Jornada When I write to field the string 'Mi', for example, and press a Button, i need that the focus of the list go directly to

Wy i,m getting this error?

2003-01-15 Thread Régis Daniel de Oliveira
I have the following code in my app: void loadRCAS(UInt16 Modo) { //Declara variavel Count: UInt16 Count; //Configura os ponteiros para a lista FormPtr form = FrmGetActiveForm(); ListPtr lptr = (ListPtr)FrmGetObjectPtr(form, FrmGetObjectIndex(form, lstRCAS));

List Example

2003-01-14 Thread Régis Daniel de Oliveira
Hy all! I,m having some dificulties with working with LIST in PalmOS. I found an example that allow me to put itens on the List, but when I click on them, they start to desaperar until i scroll the list. Does anybody have/know a example (that realy works) that show how can I use the LIST without

Clearing List Control

2003-01-13 Thread Régis Daniel de Oliveira
Hy all! Does anybody know how can I delete a item from a List? An how can I clear the List, deleting all the itens that is on it. Thanks! Régis Daniel -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

List Function

2003-01-13 Thread Régis Daniel de Oliveira
Hy all! I would like to make a function that will be called from the frmOpenEvent and will populate a list with some records. I have been made the function and the database access is working well but, when i implement the routines to clear the list and the points to the list, the compiler

How can I insert a record between two other ones?

2002-08-04 Thread Régis Daniel de Oliveira
Hy all! Can anybody explain me how can I insert a record between two other ones in a simple database, that have around 3000 recs? Thanks a lot!!! Régis Daniel -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Sorting strings

2002-07-11 Thread Régis Daniel de Oliveira
Hy everybody! I'm implemeting a sort routine into my app (quicksort) and ité working fine. But, I dont know how can I sort strings in alphabet order. Into Visual Basic, if I make a compare like this IF A AAABA then, it return me that AAABA is greater than A. How can I do this in Palm?

UInt16? UInt32? What is this?

2002-07-10 Thread Régis Daniel de Oliveira
Hy all! I'd like to know what mean UInt16 and UInt32. I looked at Palm Docs, but can't find nothing that explain me these things are. Thanks! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Which is the fastest way to access large databases?

2002-07-07 Thread Régis Daniel de Oliveira
Thanks Colin, I'll create a index DB that will have that thing that you told-me. Now, I'm with another quertion. O don't want to transfer the Index DB during a hotsync operation. Is there anyway to create this sorted DB directly on PALM, at runtime? Thanks a lot again! -- For information on

How to create indexes inside primary DB

2002-07-07 Thread Régis Daniel de Oliveira
Hy Marco, First of all, I want to thank you for the attention gave while you was reading my question. You wrote me that i dont need to create a secondary db like a index db, but i don't urdestood how can i create a index without creating another db. Below there is a sample of my db structure.

  1   2   >