Write directly on the screen in my app?

2001-08-30 Thread Mattias Nylén
Hi Does anyone know if there exists any support in Palm OS to create a form in my application that works like the program Note shipped with palm OS4.0. Note allows the user to draw directly on the palm screen. I work with a program where the user wants a signature from customers saying that the

can 2 apps with same creator id can exist on the device

2001-08-30 Thread Gaurav Palvia
Hi folks, Is it possible to ve 2 apps with the same creator id on the device. I ve 2 apps both of them have the creator id as strt But the output file name is different one is starterd.prc and starterr.prc.Both gets installed on my emulator successfully. It is very confusing as each app's creat

Re: when Press the button , How to exit from my Palm Application.

2001-08-30 Thread Wojciech Godynski
Search the list for word exit, you will find it. Rathaiah wrote: > >Hai Friends >I developed one palm application, that application have one button name >"exit" > when I press the button 'exit' button , need to close my application and >come out to Palm desktop. >I wrote the code for that

Rotating texts

2001-08-30 Thread Csernak Gergely
Hi, I am a newcomer to Palm programming. I am trying to move some part of out GIS application to work on this platform. To be able to draw a map on the screen it is essential to draw texts not just horizontally, but in any direction. In the documentation I have not find any setting about how to d

Re: can 2 apps with same creator id can exist on the device

2001-08-30 Thread Bhaski
Hi U can have any number of apps with same creator "strt" installed but if u want to delete or beam or get info on it then u have problem only one application would be listed in it. Bye Bhaski On Thu, 30 Aug 2001 Gaurav Palvia wrote : >Hi folks, > Is it possible to ve 2 apps with the same c

Re: Emulator for Handspring Visor Expansion Card

2001-08-30 Thread Offir
Well, the POSE 3.1H from Handspring has the "Card Option..." from its Setup menu. (Right click the POSE, goto "Settings" and then "Card Options...") If this helps you in any way, please let me know... :) BTW, I had to debug on the device itself... I didn't find any other way... :-\ Offir. www.Mo

Re: Please Help Me :Emulator vs device

2001-08-30 Thread Holger Klawitter
manish jaggi wrote: > > Hello every one. > I have made a simple application that uses a database. > The application + the database are working fine on the emulator . > But when i upload the pdb file on the device the size displayed is 1k and 1 > record. regradless of the actual size . > Does any

Re: Launch code parameter block

2001-08-30 Thread Holger Klawitter
> how to know the launch code parameter of an application? It depends entirely on the specification of the application you are trying to start. Normally you have to ask the author of the program and/or read her documentation. With kind regards / Mit freundlichem Gruß Holger Klawitter -- Ho

How to sync a conduit twice?

2001-08-30 Thread Stephan Tomek
Hello Problem subscription: - I use a third party conduit. I transfer data with this conduit (Oracle Lite replication). I have to sync twice: first time I transfer data. Secound time i delete the transfered data on the device . Because it is a third party peace of software I can not do the two j

Re: when Press the button , How to exit from my Palm Application.

2001-08-30 Thread Vo Le Phu Quy
I edited your code below, hope will solve your problem Cheers, --- Wojciech Godynski <[EMAIL PROTECTED]> wrote: > Search the list for word exit, you will find it. > Rathaiah wrote: > > > > >Hai Friends > >I developed one palm application, that > application have one button name > >"exit" >

RE: when Press the button , How to exit from my Palm Application.

2001-08-30 Thread Rathaiah
Thank U Very much . But I 'm facing one exception like "unallocating chunk of memory" . Thanks and regards rathaiah -Original Message- From: Vo Le Phu Quy [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 2:56 PM To: Palm Developer Forum Subject: Re: when Press the button , Ho

scanning using mobilestudion

2001-08-30 Thread Ron Lepine
Has anyone been able to use the symbol sdk with mobilestudion??? Thanks, Ron -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Please Help Me :Emulator vs device

2001-08-30 Thread manish jaggi
Hello every one. I have made a simple application that uses a database. The application + the database are working fine on the emulator . But when i upload the pdb file on the device the size displayed is 1k and 1 record. regradless of the actual size . Does anyone has an idea about this . _

YOU INTELLIGENT PEOPLE OUT THERE!

2001-08-30 Thread manish jaggi
Hello every one. I am stuck. The problem i am facing is - I have made a simple application that uses a database. The application + the database are working fine on the emulator . But when i upload the pdb file on the device the size displayed is 1k and 1 record. regradless of the actual size .

Re: Maximum size of a database record

2001-08-30 Thread Stringer
>Subject: Re: Maximum size of a database record. >From: Leonardo Gomes Holanda <[EMAIL PROTECTED]> >Date: Wed, 29 Aug 2001 13:04:11 -0300 > >Is there any document tha shows that limit? >Is this size limited by a the maximum size of a record or by the >maximum size of a database? >A filestream is

setting the font of a control on the fly...

2001-08-30 Thread Paul Nevai
Is there a legal way of setting the font of a control. It seems that "ctlP->font = boldFont" is no longer going to be legal very soon. Thanks! Best regards, Paul -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: NULL & NIL

2001-08-30 Thread Aaron Ardiri
On Thu, 30 Aug 2001, Igor Mozolevsky wrote: > Hi, > technical question, why is NULL defined as: > #define NULL 0 > instead of > #define NULL ((void*)0) the compiler isn't so strict? :) heh // az [EMAIL PROTECTED] http://www.ardiri.com/ -- For information on using the Palm Developer Forums,

RE: drawing on forms - recommendations

2001-08-30 Thread Stringer
>Subject: RE: drawing on forms - recommendations >From: "Avilla, Dane" <[EMAIL PROTECTED]> >Date: Wed, 29 Aug 2001 14:18:07 -0400 > >> Anyone with recommendations on best >> approach? Constructor (I'm using a >> Mac for development) doesn't seem to >> have any good drawing tools... > >There ar

Re: when Press the button , How to exit from my Palm Application.

2001-08-30 Thread Dave Lippincott
This doesn't help your error but every Palm has built-in application 'exit' button, its shaped like a house (on newer units, an arrow on older ones) located in the lower left side of the screen. So you really don't need to add another to your app. You could just add "tap the 'home' button to exi

large Lib (>64K) : more than one segment ?

2001-08-30 Thread Nourredine Hamoudi
Hi, I have to build a large PalmOS lib (> 64 K). Is it possible to use more than one segment ? If no, Is there solution to achieve this? thanx a lot Nourredine -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums

Re: large Lib (>64K) : more than one segment ?

2001-08-30 Thread Dave Lippincott
I think so, I've see large libraries with 100K+ of code in multiple segments. Can't say I've made any that big, try this link: http://oasis.palm.com/dev/kb/papers/1670.cfm - Original Message - From: "Nourredine Hamoudi" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> S

Re: Off-Topic: PalmGear Financial Status?

2001-08-30 Thread Dave Carrigan
Borislav Kolev <[EMAIL PROTECTED]> writes: > It is also quite wrong to say Handango was behind PalmGear's problems. Was > it Handango or was it QVentures? I believe that the founder of Handango is or was a director at QVentures, so in the context of the lawsuit, it's probably both. -- Dave Ca

Re: Rotating texts

2001-08-30 Thread Huy T Phan
You would need to do the rotation yourself, bit by bit, which is more difficult if, in addition to color, you also want to support grayscale modes. Huy Date: Thu, 30 Aug 2001 10:09:10 +0200 From: Csernak Gergely <[EMAIL PROTECTED]> Subject: Rotating texts Hi, I am a newco

Re: Symbol Fonts

2001-08-30 Thread Ken Krugler
>How may I use symbol fonts which come in Constructor? I tried to used them >but only blank boxes appear instead characters. Note that the symbol font only has a small number of characters defined, and these are all in the low (control) range. At the end of Chars.h you'll find defines for all

How to reach the ctlSelectEvent

2001-08-30 Thread Mattias Nylén
Hi I'm programming an app where I do an extensive database search. To save time I leave my ordinary eventloop to make the search faster (some thousands of records might take a while). To be able to detect if the user wants to stop the search I still have to read incoming events. For some reason I

Tables!!

2001-08-30 Thread Johnathan Smith
Ok group I am into tables now. Can anyone please help me out I have sample program that I am trying to display a one col table. If you would be into helping me please email me at [EMAIL PROTECTED] and I can send you the C/C++ sample. __ Do

Re: How to reach the ctlSelectEvent

2001-08-30 Thread GB
First of all I have no knowledge of why some events would occur while others would not (maybe the UI components are in the same kernel thread as the apps??), but can you look for a penDown over the coordinates of the button to do the same thing? GB "Mattias Nylén" <[EMAIL PROTECTED]> wrote in m

RE: Tables!!

2001-08-30 Thread Fergal Moran
Take a look at the memopad sample! > -Original Message- > From: Johnathan Smith [mailto:[EMAIL PROTECTED]] > Sent: 30 August 2001 16:30 > To: Palm Developer Forum > Subject: Tables!! > > > Ok group I am into tables now. > > > Can anyone please help me out I have sample program >

Re: Symbol Fonts

2001-08-30 Thread Ezekiel Sanborndeasis
There is a very useful palm app called "AsciiChart" that will show you what is in the standard fonts and what the hex value for each is... Last I checked it was freeware. It can be found at http://astro.uchicago.edu/home/web/valdes/pilot/ If you look at the application you will see that the Symb

Re: How to reach the ctlSelectEvent

2001-08-30 Thread Steve Mann
>I can read both the keyDownEvent and the appStopEvent, but for some reason >the ctlselectevent never reaches me. Certain events are only added to the queue when the system receives a certain sequence of events that you don't handle. For instance, a penDown event can create a ctlEnter event, wh

Re: NULL & NIL

2001-08-30 Thread John Marshall
Igor Mozolevsky wrote: > technical question, why is NULL defined as: > #define NULL 0 > instead of > #define NULL ((void*)0) The best definition of NULL in standard C is ((void *)0) in standard C++ is 0 (read the respective FAQs if you disagree), and particular compil

Graphical Pushbutton Problem

2001-08-30 Thread Patrick Lewis
I am a relative newbie at the palm, and I am stumped, so please bear with me. I have a group of 5 graphical pushbuttons. They are defined in my .rcp (I'm using gcc/pilrc) as: PUSHBUTTON "" ID workoutFormSnowPB AT (72 PREVTOP 11 11) GROUP weatherGroup NOFRAME GRAPHICAL BITMAPID snowBitmap S

Re: Graphical Pushbutton Problem

2001-08-30 Thread Stephen A. Cochran
--- You wrote: Everything works exactly as expected on a 3.0 debug ROM. However, on a 3.5 debug ROM, i can only select the "Rain" pushbutton. If rain is selected, pressing another pushbutton deselects rain, but the new button doesn't select (i.e doesn't show the "selected" bitmap). Picking

SDK4.0 and missing PalmOSGlue values?

2001-08-30 Thread GB
Hi, OK, I bit the big one and updated to SDK 4.0. I changed my projects to use the new "Palm OS Support" folder instead of the "Palm OS 3.5 Support" folder. Then I added: #define DO_NOT_ALLOW_ACCESS_TO_INTERNALS_OF_STRUCTS to the beginning of my C files to flush out the bad things I'm doing

Re: Graphical Pushbutton Problem

2001-08-30 Thread Patrick Lewis
I guess I thought I was overlaying a push button and a bitmap, so if I am doing something wrong in my definition, I would appreciate the feedback. I won't post it again, but the gist of it was in my original message. Also, I don't have any problem with 3.0. It's 3.5 that is tripping me up. Cou

Re: Resize Form

2001-08-30 Thread Ji Lee
Ah! Thank you. It was WinSetBounds() function. I would have never found it myself because window handle functions were under "System" section of Palm OS Reference.pdf. Thanks! -Ji "John Leung" <[EMAIL PROTECTED]> wrote in message news:61242@palm-dev-forum... > > Have you tried WinSetWindowBound

Re: Edit menu builtin apps

2001-08-30 Thread Ben Combee
"Peter Epstein" <[EMAIL PROTECTED]> wrote in message news:61225@palm-dev-forum... > > I ran into this a few years ago, but it's been too long for a total recall. > I think it's possible to get the edit menu more or less for free by > including an edit menu in your menu bar and assigning it the

Re: Finding the Creator ID of apps

2001-08-30 Thread Ben Combee
"Young S. Cho" <[EMAIL PROTECTED]> wrote in message news:61212@palm-dev-forum... > > Is there an easy way or a call that I can make with an app name to get the > Creator ID? My app launches other apps when certain events trigger and I > need to find the Creator ID of the apps that I need to la

Re: Getting invoked upon install

2001-08-30 Thread Ben Combee
"Scott Sumner-Moore" <[EMAIL PROTECTED]> wrote in message news:61226@palm-dev-forum... > > Peter and DGA, > > Thanks very much for your suggestions. I created an app which > sends either a hotsync launch code or a reset launch code to > my app, and I was able to debug those sections of my ap

Re: large Lib (>64K) : more than one segment ?

2001-08-30 Thread Ben Combee
"Nourredine Hamoudi" <[EMAIL PROTECTED]> wrote in message news:61286@palm-dev-forum... > > Hi, > I have to build a large PalmOS lib (> 64 K). Is it possible to use more > than one segment ? Are you talking about shared libraries or static libraries? For static libraries, you can encode your

Re: NULL & NIL

2001-08-30 Thread Ben Combee
"Aaron Ardiri" <[EMAIL PROTECTED]> wrote in message news:61282@palm-dev-forum... > > On Thu, 30 Aug 2001, Igor Mozolevsky wrote: > > Hi, > > technical question, why is NULL defined as: > > #define NULL 0 > > instead of > > #define NULL ((void*)0) > > the compiler isn't so strict? :) heh

Re: C++ this - pointer gone lost

2001-08-30 Thread Ben Combee
> // This is "Member2" (private) > void CTableForm::HighlightSelection() > { > RectanglePtr pR; > > TblGetItemBounds(_pVisTable, _nLineNumber, 0, pR); > WinInvertRectangle(pR, 0); > > } This code can stomp on the "this" value stored on the stack. The problem is that you have

Re: Index out of range

2001-08-30 Thread Ben Combee
"Madina" <[EMAIL PROTECTED]> wrote in message news:61041@palm-dev-forum... > > Hi, > I have exhausted my little knowledge on this error. And i thought may be > you need more explanation on the application to help me. > The error "DataMgr.c, Line 8589, Index out of range" comes up when the ma

Re: How do I delete a preference

2001-08-30 Thread Ben Combee
"Mike McCollister" <[EMAIL PROTECTED]> wrote in message news:61054@palm-dev-forum... > > Does anyone know how to delete a preference? > > I can crate a preference with PrefSetAppPreferences > and I can read a prefernce with PrefGetAppPreferences > but I don't know how to delete one. > > An

Re: Graphical Pushbutton Problem

2001-08-30 Thread Stephen A. Cochran
--- You wrote: I guess I thought I was overlaying a push button and a bitmap, so if I am doing something wrong in my definition, I would appreciate the feedback. I won't post it again, but the gist of it was in my original message. --- end of quote --- I didn't look at your resource code, sorry,

Re: How do I delete a preference

2001-08-30 Thread Mike McCollister
Ben, Thanks for the tip. I figured it was something like that. Mike McCollister --- Ben Combee <[EMAIL PROTECTED]> wrote: > "Mike McCollister" <[EMAIL PROTECTED]> wrote > in message > news:61054@palm-dev-forum... > > > > Does anyone know how to delete a preference? > > > > I can crate a pr

Return to main application

2001-08-30 Thread Farzin Ashraghi
Hi friends: I know that is possible to call a secondary app from a main one, but how can I return to the main app programatically? Another question, is is possible to simulate a button press in the secondary app? Thanks, Farzin -- For information on using the Palm Developer Forums, or to un

Re: large Lib (>64K) : more than one segment ?

2001-08-30 Thread Dave Lippincott
I would imagine for shared libraries there must be some method for making them multi-segment. I can see 2 shared libraries on my Visor that are possibly multi-segmented, one of which is the Net Library(96K). It has a libr and code segments. Another developer library (121K) has a libr and 3 code

RE: Write directly on the screen in my app?

2001-08-30 Thread Peter Epstein
You'd have to write your own code to do this, but the OS provides the basic support needed. I'd use a gadget as a starting point. You can record the signature either as a sequence of points to be connected by lines, or as a bitmap. They each have their advantage. EvtGetPen is an API you can use to

RE: Edit menu builtin apps

2001-08-30 Thread Peter Epstein
Ben Combee wrote: > Constructor works fine for this. Just make a Edit menu with ID 1, > and the standard commands at the right offsets. I've used this in many > programs without problem. Cool. This approach has advantages. Your app is a bit smaller, and if the edit menu is changed to include

RE: Write directly on the screen in my app?

2001-08-30 Thread Danny Epstein
Search the Knowledge Base for "signature" to find some sample code along the lines Peter described. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Maximum size of a database record

2001-08-30 Thread Tom Hoelscher
Assuming that you have the space available, you can have larger records than 64k, but you have to split them up & chunk them out to separate databases. There is sample code & discussion in the os companion book (by Neal Rhodes) that covers this approach. on 8/30/01 5:29, Stringer at [EMAIL PROTE

Re: Graphical Pushbutton Problem

2001-08-30 Thread David Fedor
>I guess I thought I was overlaying a push button and a bitmap, so if I am >doing >something wrong in my definition, I would appreciate the feedback. If you're overlapping two controls, you will indeed get differing behavior on different OS releases, since the rules changed a bit. (Well, the mai

Change Preferences/Buttons Programatically

2001-08-30 Thread Farzin Ashraghi
Hi friends: How can I change Prefereces/Buttons programatically? Thank you for your help, Farzin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Return to main application

2001-08-30 Thread Christen Fihl
Simply have a variable thats get set to True when you want to exit. Then in the Event loop do Repeat // Until DoStop is set to True EvtGetEvent(Event, evtWaitForever); if not SysHandleEvent(Event) then if not MenuHandleEvent(MyMenu,Event,Error) then if not FrmDispatchEvent(Event) th

Re: Return to main application

2001-08-30 Thread Nullife
Brilliant! So obvious now that you've stated it. I've seen other solutions that try to use SysUIAppSwitch() that seem silly, now. -Nullife "Christen Fihl" <[EMAIL PROTECTED]> wrote in message news:61342@palm-dev-forum... > > Simply have a variable thats get set to True when you want to exit. The

RE: How to reach the ctlSelectEvent

2001-08-30 Thread Danny Epstein
It sounds like you might want to use a progress dialog. Read about the Progress Manager in the docs for details. You just call PrgHandleEvent and deal with aborting when you learn that the user pressed the Cancel button. The Progress Manager uses a callback, so it's a little tricky. Still, I'm sur

problem with popup, creating pointer array for SysFormPointerArrayToStrings

2001-08-30 Thread Salma Saad
I am trying to initilize a popup list in my application. I try creating a packed string from records in one of my databases to send to SysFormPointerArrayToStrings. I am not too expereinced with pointers and the pointer with which I create the packed string is always empty. I have looked over this

RE: Saving LocalID of storage chunk in database field

2001-08-30 Thread Danny Epstein
> I don't think there are any guarantee that the unique IDs will > be preserved when databases are copied over to those external > storage cards. The same is true for people trying to beam a > database to another device using third party software. You raise some interesting issues. You shoul

Anouncing FontBucket Beta

2001-08-30 Thread Shannon Pekary
We have put together an application that lets users manage a central repository of fonts, and allows developers access to those fonts programmatically. The interface is based on launch codes, no trap patching or hacks are used. We are going to give this away for free. Developers will be able to f

RE: Saving LocalID of storage chunk in database field

2001-08-30 Thread John Leung
At 02:14 PM 30/08/2001 -0700, you wrote: > > I don't think there are any guarantee that the unique IDs will > > be preserved when databases are copied over to those external > > storage cards. The same is true for people trying to beam a > > database to another device using third party software.

Re: large Lib (>64K) : more than one segment ?

2001-08-30 Thread Jim Schram
At 2:27 PM -0400 8/30/01, Dave Lippincott wrote: >I would imagine for shared libraries there must be some method for making >them multi-segment. I can see 2 shared libraries on my Visor that are >possibly multi-segmented, one of which is the Net Library(96K). It has a >libr and code segments. A

RE: SysAppLaunch

2001-08-30 Thread Danny Epstein
> when trying to use > Err SysAppLaunch( UInt cardNo, LocalID dbID, > UInt launchFlags, Word cmd, > Ptr cmdPBP, DWord* resultP) i get an error message saying that the > application launched tried to access a global variable. I guess i'm wrong > with setting some parameters.What should be

RE: SDK4.0 and missing PalmOSGlue values?

2001-08-30 Thread Scott Johnson
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > if(pMenu->attr.visible) . . . > if(pMenu->numMenus <= 1) . . . > of course the compler now complains but I don't see > PalmOSGlue access to the menu vars (or am I just blind???). Currently there are no Menu glue functions. It has been sugges

Re: Getting invoked upon install

2001-08-30 Thread Mark A. Peters
Just to add yet another way to debug such code: set a breakpoint in the code handling the system "Find" launch code, run your app under the debugger, quit the app via the "Application" silk-screened button, then do a "Find". When the debugger breaks at your breakpoint, move the program counter to

Error opening database

2001-08-30 Thread Johnathan Smith
I am getting the following error trying to open the database Error : illegal character constant Starter.cpp line 356 'Data_for_JOHN' Here my code: #define CREATORID 'JOHN' #define DBTYPE'DATA' #define DBNAME'Data_for_JOHN' static Err AppStart(void) { StarterPreferenceType prefs;

Re: YOU INTELLIGENT PEOPLE OUT THERE!

2001-08-30 Thread Alan Ingleby
If it's working find on the emulator, try and EXPORT the database from the emulator, and saee how that goes when put onto the device. "manish jaggi" <[EMAIL PROTECTED]> wrote in message news:61279@palm-dev-forum... > > > > Hello every one. > I am stuck. The problem i am facing is - > > I have mad

RE: Error opening database

2001-08-30 Thread Raymond Ochoa
Try #define DBNAME"Data_for_JOHN" instead of #define DBNAME'Data_for_JOHN' The function takes a char * as a name -Original Message- From: Johnathan Smith [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 4:54 PM To: Palm Developer Forum Subject: Error opening data

RE: Error opening database

2001-08-30 Thread Johnathan Smith
Thanks. I have a new question I am getting the following error Error : function call 'DmSet(void *, unsigned long, unsigned long)' does not match 'DmSet(void *, unsigned long, unsigned long, unsigned char)' Starter.cpp line 249DmSet( rec, sizeof( *rec ), 0 ); Heres my code; { DmO

Re: setting the font of a control on the fly...

2001-08-30 Thread David Fedor
>Is there a legal way of setting the font of a control. It seems that >"ctlP->font = boldFont" is no longer going to be legal very soon. Soon, there'll be a version of PalmOSGlue which supports this and some other similar things. For the full details, come to PalmSource. (Remembering to sign u

RE: Error opening database

2001-08-30 Thread Jim Schram
At 5:46 PM -0700 2001/08/30, Johnathan Smith wrote: >Error : function call 'DmSet(void *, unsigned long, >unsigned long)' does not match >'DmSet(void *, unsigned long, unsigned long, unsigned >char)' >Starter.cpp line 249DmSet( rec, sizeof( *rec ), 0 >); If you check the documentation for D