RE: Palm Debug console in CW6 crashes Win98

2000-10-16 Thread Heather Tufts

> > I'm trying to squelch a memory leak in my app. POSE would 
> complain that
> > I have a possible leak at 0x, and recommends using 
> 'hd 0' to find
> > it.
> > So, I open up the debug console within CW6 and enter 'hd 0'.
> >
> > CW6 freezes, and about 20secs later, I get the blue screen. Pressing
> > enter gives me a popup window in Win98 telling me that 
> KRNL386.EXE has
> > caused a general protection fault.

You could also go back to build 9 of the debugger plugins --
ftp://palm:[EMAIL PROTECTED]/Archives/PalmPlugin1-6-3b009/.  This
behavior (which is only seen on Win98) does not occur there.  

-hkmlt

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: Emulator behaviour with the Palm V ROM - "AMX" (unknown versi on)

2000-10-16 Thread Heather Tufts

> I'm using the Palm V ROM with the POSE versions that I have 
> and getting the
> following problems:
> 
> With POSE 3.0a7
> "AMX" (unknown version) has just tried to write to the ROM.
> 
> With POSE 3.0a6
> "AMX" (unknown version) has just read directly from Palm OS Global
> variables.

I have seen this before with people who have transferred a ROM file from a
device that has been flashed.  The emulator sees that ROM file as corrupt.
Do you have a ROM from a non-flashed device or can you download one from the
Provider Pavilion to see if you continue to see errors?

-hkmlt

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: No debugging after having installed SDK 3.5

2000-10-16 Thread Heather Tufts

> sorry if this has been asked before, but I could not find any answer 
> to the following problem. I run CW 6 on my win2000 SP1 machine and 
> all went fine until I installed the SDK3.5 along with its 
> Update 1. After this I installed the files from the 
> palmplugin1-6-3-12.zip from ftp3.metroworks.com. 
> But now I am not longer able to get my emulator to debug my apps.
> It connects, but then it stops, the emulator's screen beeing blanc.

This sounds more like there is an issue with your project file (if the
debugger truly couldn't connect, you would get a Failed to Connect to Remote
error).  Can you drag the compiled .prc file onto the Emulator screen and
get it to load?  If so, delete the CW Autosave and CW Debugging Cache
folders from the C:/WinNT/Metrowerks folder and try to debug again.  If you
can't load the .prc, the Emulator will give you an error that will allow you
to track down the problem.

-hkmlt

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



http post...

2000-10-16 Thread Wadhwa, Harmit

Hey everyone,

I am trying to use the InetLow sample code to connect to a server
and pass certain parameters.  I guess I am missing something fairly 
simple.  When I connect, the response I get is html.  I'm sure that is a
simple fix.  But what I am concerned about is that when I connect to the 
server-side script (.asp) it doesn't even perform the functionality
properly.
Let's just say that I am passing an id as a parameter and I want the .asp
page to print it's associated values from a database.  This isn't happening.
Would anyone know what I am missing off hand.
I simply am just using my own url and the sample page submits to a form that

I pass a parameter to, I have tried both with a get and post method.

Any help would be greatly appreciated.

Thanks,
Harmit

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



List Object HowTo

2000-10-16 Thread Patrick Ouellet

I need help 
Im trying to full a List at run-time but I got an error
Object not in form and since the object ios in the form, im wondering
whats the problem

LstSetListChoices(FrmGetObjectPtr(frmP, FrmGetObjectIndex( frmP,
Screen2ResultList)), TheResult, ResultCount);

TheResult is an array of CharPtr of 100 char long
(but it's not full. there's around 30 to 40 caracter per lines.)
( I'll shrink it now that I think about it )

Whats the problem here...
I looked at some exemples, but It didn't help

Somebody please...

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Patrick Ouellet - Programmeur
[EMAIL PROTECTED]
Recherche & Devloppement
Les Entreprise Microtec inc.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: creating elements dynamically

2000-10-16 Thread Richard Burmeister

From: "Francisca Sepúlveda" <[EMAIL PROTECTED]>
Subject: creating elements dynamically


> Hi. Am I right in thinking that before Palm OS v3.0 you can't dynamically
> create forms/objects/whatever? I'd like to dynamically create buttons and
> labels on a form within my application, but for v2.0 and above. Ideally,
> I'd like to create a form too. Is that possible?

The docs for FrmNewForm say "Implemented only if 3.0 New Feature Set is
present."  You do have a copy of the "Palm OS SDK Reference" don't you?



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: Version String

2000-10-16 Thread Scott Johnson (Bellevue)

> From: David Heil [mailto:[EMAIL PROTECTED]]
> I need to embed: $ProjectRevision: 0.1 $
> somewhere in the .r file to get Source Integrity to recognize it
> and update it. But I only want to display the numbers . 
> Would that be possible in a .r file?

Doesn't sound doable without some extra steps.  Is it possible to add some
automation / scripting to your process?  At one project I worked on, we had
a build script (in Perl) that ran every night.  Among other things, it would
check out the .r file, modify the build number, and check it back in.  Would
a process like this be practical for you?

-slj-


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



transferring and displaying bitmaps images

2000-10-16 Thread Jeff Davey

using CW 6.0 on Windows NT

Hello all,

I would like to upload bitmaps, via a .pdb file, display the bitmaps. I 
know how to get the data to the the device, but I'm a little confused about 
how to get a BitmapPtr to it.

Should I include all the BitmapType header information in the .pdb file?

Should I create another DB file on the device with appropriate headers 
followed by image data and get a pointer to that?

If someone has an example of how to do this I'd really appreciate seeing it.


Thanks in advance,

-jeff

I'm looking into displaying bitmaps on the Palm?  Does anyone know of a
good reference to get started on this, or a tutorial? Any
suggestions?   Things like storage, file formats, etc.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: I have a file that needs to be converted to PDB

2000-10-16 Thread Heather Gazdik

Sorry for not using the appropriate verbage to describe my question...I'm
learning

To  clarify what I am trying to accomplish:

I am using the XMLDOM to pull the text nodes' data (no tags).
I am putting it in to a .txt format. And I think that I will just use
the conduit file transfer examples(changes files to palm records).  The data
is read only.
And I will just manipulate the data on the pdb in codewarrior.

If Palm has addressed XML issues can someone point me in the right direction
to the documentation?

 Can we reply/send messages from egroups??

Thanks for all the input on this question,
Heather Gazdik






"Heather Gazdik" <[EMAIL PROTECTED]> wrote in message
news:26621@palm-dev-forum...
>
> Hi,
>
> I looking at data transfer in a new light.  I can't believe I am asking
this
> question after all these months of developing:
>
> If I have a file (xml to be specific).  I am going to take an XML file
> and using the XMLDOM I will transverse the file to get the data.  I now
need
> this data in pdb format.  Is there a utility to change a file in to a pdb
> format??  I don't need this data synchronized..therefore don't really see
> the need of using a conduit??  Should I use a conduit?? or can I just
> install the pdb file.
>
> Thanks,
> Heather
>
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



CodeWarrior and MathLib problem

2000-10-16 Thread Nesselhauf, John

Hello all, 

I have tried to get MathLib installed into a project in Code Warrior and so
far have been unsuccessful. I have added the following libraries:
NewFloatMgr.lib
MSL Runtime Palm OS (2i).Lib
I added them by going to project|add files.
I have put the header in MathLib.h and the header NewFloatMgr.h.
I have added MathLib.c to the project.
If I compile I get no complaints. As soon as I try to do the sqrt function
however the compiler complains. If I double click on the error
MathLib.c is opened and the following is highlighted.

MathLibSqrt(MathLibRef, x, &result);

Can someone please help?

Thanks in advance,
John N.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: newbie using CodeWarrior Lite

2000-10-16 Thread Heather Tufts

> I want to develop a course project using CodeWarrior Lite. But I
> cannot find any infomation about it.
> 1) What is the difference between Lite and R5 / R6?

Richard Burmeister answered this for you.

> 2) Which version of Palm OS original support (seems to be 
> 3.1)? can
> it upgrade to SDK 3.5?

It comes with 3.1 and 3.2.5 (Palm VII) support.  3.5 Support must be
downloaded.

> 3) Can development carry out in Window 2000 with no admin. right
> (only ready and execute rights)?

It should be able to.  You must have administrator rights to install or
uninstall, though.

> 4) After installing the Lite Version, I try to compile the Palm OS
> example (SubHunt), it pop out an unknow error occur when linking the
> project, why? the error is related to 68kLinker.dll. ( I can support
> details later, if anyone wants )

I pulled up the SubHunt example, and compiled fine (one warning, no errors).
What error are you seeing?  Which version of the 68kLinker.dll do you have
(found in the bin/plugins/linker folder)?

> 5) Is there any major feature that Lite Version don't 
> have? and will
> affect development?

RB answered this too.

-hkmlt

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Palm Programming

2000-10-16 Thread Dave Lippincott

The Palm APIs and app structure are currently C beast only (although you can
use C++)  If you need a C++ framework (like MFC or OWL) you will need to
look at some of the 3rd party offerings such as Teenee.
 www.classactionpl.com/Teenee/index.htm )
For general C++ programming, just about any of the C++ books will do.  Go to
your local book store or library and read a few, take home the one you like
best.

- Original Message -
From: "Herman Badenhorst" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, October 16, 2000 8:39 AM
Subject: Palm Programming


> where can i get nice C++ examples...
>
> I'm, new to Palm Programming and dont even know where to start...
>
> Can anybody recommend a good book or two?
>
> Thanks
>
> --
> Herman Badenhorst
> OPENWARE
> [EMAIL PROTECTED]
> http://www.openware.co.za/
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



NT CW6 Registers Window

2000-10-16 Thread Eugene Chin

I noticed that the registers window does not survive across debug
sessions.

That is, debug one session with the registers window, then stop debugging,
then start debugging again, and the registers window is not there.  On the
other hand, the breakpoints window has the opposite behaviour.

Can we fix the registers window please?

Thanks.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



PalmDebugger and GCC

2000-10-16 Thread Laurent Dutour

Trying to use PalmDebugger with GCC... I got some problems !
I always obtain a message "Bad line count" while loading a xxx.code.1.sym
file.
Is PalmDebugger design to work with Prc-Tools 2.0 ?

But the HandSpring distribution of GCC (0.5 ) comes with PalmDebugger and
some new command line options :
-mdebug-labels (to turn on a 'Macsbug label' capabilities... )
-mvs-err-msgs (to conform the format of error messages to Visual Studio...)

Also, it seems to be possible to use PalmDebugger with GCC and I'm very
interesting to using it.
Has anyone experiences something with PalmDebugger and GCC, or has any ideas
?



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Version String

2000-10-16 Thread David Heil

I need to embed:

$ProjectRevision: 0.1 $

somewhere in the .r file to get Source Integrity to recognize it and update it. But I 
only want to display the numbers (0.1, in this case). Would that be possible in a .r 
file? How would you extract the 0.1 from the above and assign it to the Project 
Version string? Also, is there documentation somewhere describing the syntax for these 
files?

>>

Create a text resource file and add it as part of your project. To do so, create a 
text file with the extension set to ".r" like: ... foo.r ... #include "palmtypes.r" 
#define APP_VERSION "1.00" //pick whatever you want here, any define works

data 'tver' (1) { APP_VERSION $"00" };
data 'tver' (1000)  { APP_VERSION $"00" };
... end foo.r ...

Make sure you set up the .r extension in CodeWarrior to PalmRez and you are off and 
running.

>>>
That still requires that I remember to change the version string in constructor. The 
way I do my application's about box means that I let the
version control software change the version, so I don't have to remember to do it. 

Dave Heil
Preco Electronics
[EMAIL PROTECTED] 
208-322-4288


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



SetSysDateTime failing on OS 3.3

2000-10-16 Thread David A. Desrosiers


I've added some code to pilot-link 0.9.5 which allows the user to
sync their local desktop time to their Palm. This code works on every
single device and OS I've tested it against... except OS 3.3. When running
the same code against an OS 3.3 device, I get "Error waking task". I can't
seem to locate where that may be causing an error. Has anyone used this
code? The relevant sections are in DLCommon.h

---
#define dlpSetSysDateTimeReqArgID dlpFirstArgID

typedef struct DlpSetSysDateTimeReqType {
   DlpDateTimeType dateTime;
} DlpSetSysDateTimeReqType;

typedef DlpSetSysDateTimeReqType *DlpSetSysDateTimeReqPtr;
---

My code is ridiculously simple, currently sits in dlpsh.c, and
will get enhanced and moved into pilot-xfer.c in a few days. Most of this
code is actually at the user-presentation layer, so the real active
portion is about 3 lines of the below snippet.

---
int
time_fn(int sd, int argc, char **argv)
{
   int r;
   time_t ltime;
   struct tm *tm_ptr;
   char c, timebuf[80];

   time(

Is there a simple Socket sample code

2000-10-16 Thread A Rafiee

I am looking for a really simple example of the native
socket calls.  Specially on how to use NetLibSelect. 
When I call it, it comes back saying that there is
data, even when there is no data.  I am not sure if I
am initializing everything correctly before the call.

Ali

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Visor Prism

2000-10-16 Thread James Lee

I don't have any of the technical documentation with me, but apps
currently written for the IIIc, which follow the API's, will run just fine
on the Prism.

James Lee, [EMAIL PROTECTED]
Seahorse Software, http://www.seahorsesoft.com/

On Mon, 16 Oct 2000, Gordon, Douglas wrote:

> Does anyone have any technical OS details on the Visor Prism? Mainly I'm
> wondering how they work the 16-bit color deal if they're using PalmOS 3.5.
> Will color apps written for 3.5 on the IIIc work as-is on the Prism? It's
> not going to be a lot of fun if our PalmOS apps have to start taking special
> versions of the hardware into account too much.
> 
> See http://www.handspring.com/products/visorprism/index.jhtml.
> 
>   Doug Gordon
>   GHCS Software
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/
> 


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



How to print using IR?

2000-10-16 Thread Farzin Ashraghi

Hi everyone:

For my application I need to print using the IR port to a HP printer (model
82240B).  Could you please help me giving me some suggestions?  Do you know
the existence of some driver for this?  If not, where could I find more
information about this?

Thank you very much for your help,
Fazin



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Draining Batteries

2000-10-16 Thread Mike Montalvo

I think I installed something in my Palm that is not letting it sleep when
its off.   I listened to several other palms and they dont make sound when
they are off, but you can hear mine if you listen closely.  My batteries
have been draining quickly lately.  I dont know what program it is (if its
even possible)...anyway is there a way to use the debugger to see whats
keeping the palm from dozing? Like is there a way to see what events are
being generated and by what?

Thanks,
Mike



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Visor Prism

2000-10-16 Thread Aaron Ardiri

> Does anyone have any technical OS details on the Visor Prism? Mainly I'm
> wondering how they work the 16-bit color deal if they're using PalmOS 3.5.
> Will color apps written for 3.5 on the IIIc work as-is on the Prism? It's
> not going to be a lot of fun if our PalmOS apps have to start taking special
> versions of the hardware into account too much.

  if your app is written to use 8bpp - then, it will work with no problems
  :)) as for the 16bit color aspect of things, PalmOS 3.5 does provide
  support for direct color (RGBColorType) :P so far, people have only 
  been using the indexed based color systems (IndexColorType).

  from a "technical" point of view, Handspring would just need to rewrite
  the hardware layer that interfaces to the LCD controller itself. the
  details of such a partnership probably involved Palm, and at this time
  may probably remain under NDA if there is any.

  from a "developers" point of view, it makes no difference, unless you 
  are specifically targetting the 16bit color environment. your apps 
  written for 1, 2, 4 or 8bpp would work fine on these new devices.

  the tools will need to be updated to provide the ability to write
  16bit color applications (tools like PilRC etc) - however, you can
  do direct color in 3.5 already - and this would work on the new 
  prism if you changed into the 16bit color mode.

  NOTE: the default display mode for the prism is 8bpp. :)
- if you want 16bit color, you must ask to change into it.

  i could be wrong :) grab one and experiment :P

// az
[EMAIL PROTECTED]
http://www.ardiri.com/<--- free games!



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Filling a table

2000-10-16 Thread chongwm

There is Neil Rhode's Palm Programming book. That is good. Not sure if
the 2nd edition is out yet (1st doesn't cover OS3.5). The Memopad
tutorial covers the table API pretty thorougly.

You can use WinDrawChars(). The table API does have specific datatypes
that draw items for you. For custom data types, you use WinDrawChars().
Personally I prefer using my own custom draw routines, it provides more
flexibilty. 
You don't have to do fancy calculations in your custom table draw
routines. The custom table draw callback function works on individual
table cells, and you are provided with the coordinates for the cell.

"Laursen,Jacob Lykkeberg XJT" wrote:
> 
>  I have some data (well, eventually I will have) I want to display in a
> table. Is it really true that I have to use WinDrawChars() for this. Just
> the fact that I have to implement a scroll routine seems out of proportions,
> but having to calculate coordinates to display simple strings in a table
> seems too complicated to be true..? (when being used to a modern GUI
> engine/API) I've been looking at the example source (Address, Expense,
> Datebook), but just got more confused.
> 
>  Any recommended stuff to read besides the Palm OS Companion and Reference
> documents?
> 
> --
> Jacob Laursen ([EMAIL PROTECTED])

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Visor Prism

2000-10-16 Thread Richard Burmeister

From: "Gordon, Douglas" <[EMAIL PROTECTED]>
Subject: Visor Prism


> Does anyone have any technical OS details on the Visor Prism? Mainly I'm
> wondering how they work the 16-bit color deal if they're using PalmOS 3.5.
> Will color apps written for 3.5 on the IIIc work as-is on the Prism? It's

I don't have any of the inside details, but if you read further down the
page, you'll see Handspring's claim:

Fully compatible
Based on the popular Palm OS®.
Every Visor comes with Palm OS® software, which means you can run all
Palm-compatible applications



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



creating elements dynamically

2000-10-16 Thread Francisca Sepúlveda

Hi. Am I right in thinking that before Palm OS v3.0 you can't dynamically 
create forms/objects/whatever? I'd like to dynamically create buttons and 
labels on a form within my application, but for v2.0 and above. Ideally, 
I'd like to create a form too. Is that possible?

Thanks
Fran


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Visor Prism

2000-10-16 Thread Gordon, Douglas

Does anyone have any technical OS details on the Visor Prism? Mainly I'm
wondering how they work the 16-bit color deal if they're using PalmOS 3.5.
Will color apps written for 3.5 on the IIIc work as-is on the Prism? It's
not going to be a lot of fun if our PalmOS apps have to start taking special
versions of the hardware into account too much.

See http://www.handspring.com/products/visorprism/index.jhtml.

  Doug Gordon
  GHCS Software

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Visor Prism

2000-10-16 Thread Gordon, Douglas

Does anyone have any technical OS details on the Visor Prism? Mainly I'm
wondering how they work the 16-bit color deal if they're using PalmOS 3.5.
Will color apps written for 3.5 on the IIIc work as-is on the Prism? It's
not going to be a lot of fun if our PalmOS apps have to start taking special
versions of the hardware into account too much.

See http://www.handspring.com/products/visorprism/index.jhtml.

  Doug Gordon
  GHCS Software

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Palm Programming

2000-10-16 Thread Herman Badenhorst

where can i get nice C++ examples...

I'm, new to Palm Programming and dont even know where to start...

Can anybody recommend a good book or two?

Thanks

--
Herman Badenhorst
OPENWARE
[EMAIL PROTECTED] 
http://www.openware.co.za/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Reconstructing a PRC/PDB

2000-10-16 Thread Tim Charron

The ExgDBRead function does exactly what you want.
-- Tim

[EMAIL PROTECTED] wrote:

> Hi,
>  Hope there will be someone which will help me out of this ptoblem. i
> am receiving a byte stream
>  through sockets from desktop and want to re-create the prc/pdb on the
> Palm. the component on theDesktop just reads a prc/pdb as a file and
> sends  its data to a socket. on the palm side i want to   read this
> byte stream and recreate the oroginal file.
>  Please HELP!!!
> Thanks
> Krish



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Form Alert in RunTime

2000-10-16 Thread Shay

Hi,
Can i make a new Form Alert during RunTime ?
NOT using a resource file !

if i can't, and i need to use FrmNewForm, what are the parameters of an
Alert Form (size, place), and all the parameters that i need to give it ?

thanks,
Shay



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Betr.: Filling a table

2000-10-16 Thread Jaco Vis

Have a look at the book "Palm Programming, the Developers Guide" by Neil Rhodes and 
Julie McKeehan. It has some stuff relating to the use of tables in chapter 8, that is 
more readable then just diving into the sample programs which are very overwhelming if 
you are new to the subject.
publisher: O'Reilly
isbn: 1-56592-525-4
Look it up at any online bookstore or read a preview 
at:http://www.palmos.com/dev/tech/docs/devguide/TableOfContents.htm#TopOfPage 
It has helped me a lot when I needed to implement tables in my program. 
For a short answer: yes, scrolling is something you have to implement yourself. 
Calculating coordinates is not neccessary, because these get passed as parameters. 

>>> [EMAIL PROTECTED] 16-10-00 12:09 >>>

 I have some data (well, eventually I will have) I want to display in a
table. Is it really true that I have to use WinDrawChars() for this. Just
the fact that I have to implement a scroll routine seems out of proportions,
but having to calculate coordinates to display simple strings in a table
seems too complicated to be true..? (when being used to a modern GUI
engine/API) I've been looking at the example source (Address, Expense,
Datebook), but just got more confused.

 Any recommended stuff to read besides the Palm OS Companion and Reference
documents?

-- 
Jacob Laursen ([EMAIL PROTECTED])

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/ 


Dit bericht is gecontroleerd op virussen.
This message has been checked for viruses.


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: text and fields

2000-10-16 Thread chongwm

One of the best places to look for example code are the app examples
that come with the SDK.

But here, this may be something that can help u. It changes the text in
field textFieldID to something that is contained in a string, myNewStr.
A copy of myNewStr is then pasted onto the top left corner of the
screen.

FieldPtr fldP;
MemHandle textH;
Char *text;
fldP = GetObjectPtr(textFieldID); // look inside the standard PalmOS
stationary of CW for def of GetObjectPtr
textH = FldGetTextHandle(fldP);
if (textH) // check if a handle has already been created for the field
by FieldMgr
{
  FldSetTextHandle(fldP, NULL); // remove that handle from the field
  MemHandleFree(textH); // dealloc
}
textH = MemHandleNew(sizeof(Char) * (StrLen(myNewStr)+1)); // create a
new handle
StrCopy(MemHandleLock(textH), myNewStr); // copy my str to the handle
MemHandleUnlock(textH);
FldSetTextHandle(fldP, textH); // set the unlocked handle to the field
WinDrawChars(FldGetTextPtr(fldP), FldGetTextLength(fldP), 0,0);





Jim Duffy wrote:
> 
> Hi everyone,
> 
> As a relatively novice programmer, I am at the point in my app where I want
> to start coding the database functionality.
> 
> I want to start out by simply having some text (and numeric) fields in some
> forms saved into the global prefs struct so they can be retrieved when the
> app is reopened.
> 
> The docs say not to use FldGetTextPtr and FldSetTextPtr with an editable
> field, but I don't quite understand how to get the Get and Set TextHandle
> functions to work.
> 
> Could any help with some example code or point me to some reference
> material, other than the docs.
> 
> Thanks so much for the help.
> 
> Jim

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Creating overlay and localizing

2000-10-16 Thread Daniel Gutierrez

Does anyone have any experience about "overlaying"? (This technique is used
to localise PCR files without having to re-compile it.)

I'd like to know:
How an overlay file could be created - manually or programmatically; if a
program is necessary, where it could be found.
If the file needs to have a special name or a special extention
Where this file needs to be put, probably next to the original PCR file

Thank you



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Filling a table

2000-10-16 Thread Laursen,Jacob Lykkeberg XJT


 I have some data (well, eventually I will have) I want to display in a
table. Is it really true that I have to use WinDrawChars() for this. Just
the fact that I have to implement a scroll routine seems out of proportions,
but having to calculate coordinates to display simple strings in a table
seems too complicated to be true..? (when being used to a modern GUI
engine/API) I've been looking at the example source (Address, Expense,
Datebook), but just got more confused.

 Any recommended stuff to read besides the Palm OS Companion and Reference
documents?

-- 
Jacob Laursen ([EMAIL PROTECTED])

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



languages supported

2000-10-16 Thread bhupendra bhardwaj

Hi

Can you please tell me that the PalmVII  supports appletes or not.
Where will I get the info  for the languages supported by the PalmVII.
This is not for web clipping applications  but for other web sites which
will be accessed by the PalmVII. If that site sends applets will PalmVII be
able to display.?

Thanks
Bhupendra
Email : [EMAIL PROTECTED]
  : [EMAIL PROTECTED]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/