Re: [Codewarrior] how to transfer segment layout to another design?

2004-12-12 Thread Matt Graham
Thomas Werner wrote: I just fiddled around with segments for at least 10 minutes under Codewarrior 9. I currently wonder how to transfer these efforts to the Release design mode. Is there any copy paste command for segment layouts? Depending on how different your debug and release settings are,

Re: How to treat interruptions in Palm OS

2004-10-19 Thread Matt Graham
Marcelo Fornazin wrote: I would like to know how to treat interruptions in Palm OS 5. I didn't find something about this in palm programming API. Everything I saw were predefined events. Is there a way to treat custom interruptions in Palm OS 5? Interruptions triggered by what? -- For information

Re: How to treat interruptions in Palm OS

2004-10-19 Thread Matt Graham
Marcelo Fornazin wrote: I'm using Palm with Xscale Processor. This processor has a Performance Monitoring Unit (PMU). This Unit generates interruptions by event counts. I want to treat this interruptions. I saw that Palm OS has APIs to treat interruptions from IR, Bluetooth and others. Is there a

MemHandleUnlock vs. MemPtrUnlock

2004-10-18 Thread Matt Graham
Is there any technical or performance reason for favoring either MemHandleUnlock or MemPtrUnlock? I usually use MemHandleUnlock b/c it gives better aesthetic symmetry in the code and I was just wondering if it matters much either way. Thanks, Matt -- For information on using the Palm Developer

Re: problem with debugging on Palm device (connected via USB) using CodeWarrior v9

2004-10-18 Thread Matt Graham
Jennifer Fell wrote: While trying to debug an application on a Tungsten T3 PDA using Code Warrior v9.0, I am getting the following error message. The device is connected via USB port. I'm not sure if it will fix your problem, but downloading and installing CW 9.2 and then 9.3 might help. --

Re: PalmOS Cobalt Schema Databases

2004-10-18 Thread Matt Graham
Matthew Bevan wrote: 1) How do I use the Schema Database resource in my application to create the basic database structure? I was wondering that myself. There doesn't seem to be any Db api calls to access that. Looking at the resource data, it looks like you need to call

Re: Registering for SysNotifyLateWakeupEvent Crashing the Application

2004-10-17 Thread Matt Graham
/ -- /* * matt graham * certified palm os developer */ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Asking for feedback on PalmSource website

2004-10-16 Thread Matt Graham
Ben Combee wrote: At 12:16 PM 10/15/2004, you wrote: We have had the ability to change your password on the site for several months. Just go to http://spp.palmos.com/iws/logon.do, login to the members section, then click on Change Current Password. so it is. thanks. i think info in an

Re: Asking for feedback on PalmSource website

2004-10-15 Thread Matt Graham
Ben Combee wrote: The download-login-download problem is an artifact of the way the developer login system was put together. This should be addressed sometime in the near future; plans are already underway to fix a lot of the issues with the developer accounts. This may be one of the things

Re: Satellite Forms

2004-10-14 Thread Matt Graham
David Horowitz wrote: A client approached me with an app that was created several years ago on Palm OS 3, and wants it to work now in OS 5 and up. UNFORTUNATELY, I don't have the source code. Does anyone know what my options may be? rewrite it? I guess it's possible the satellite forms people

Re: problem with palm dev forum

2004-10-14 Thread Matt Graham
BarryJaques wrote: Anyone else experience these weird emails from palm dev forum. If I send a post to the forum using [EMAIL PROTECTED] it works OK. However if I reply to a post I always get a message back from [EMAIL PROTECTED] Subject: Problemas com o e-mail Text: O email Palm Developer Forum:

Re: .doc and .xsl to pdb

2004-10-14 Thread Matt Graham
Mihai Ciornei wrote: Is there any program to convert Microsoft Word and Excel documents to .pdb format? http://www.dataviz.com/products/documentstogo/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to react to changes in a field?

2004-10-13 Thread Matt Graham
Püst Andreas wrote: I want to call a function whenever the user writes something into a field. Which event do I have to react to for it? The only thing I found so far is he keyDownEvent, but that occurs when the user STARTS writing, however I need an event whoch occurs when the user has FINISHED

Re: Tungsten C vs Tungsten T3

2004-10-12 Thread Matt Graham
Monika Kauntz wrote: Does anyone know why an application that I wrote runs fine on the Tungsten T3 but when I put it on the Tungsten C it runs and then hangs the device? Do I have to do anything special when I build? I am using Metrowerks CodeWarrior Development Studio for Palm OS Platform version

Re: Fatal exception on my TungstenC

2004-10-12 Thread Matt Graham
James Black wrote: When I am closing my app, to use the calendar, or anything else, I get a fatal error, and have to do a reset by pressing the button on the back of the device. I run my debugger on XP SP2, and am getting a memory error as someone reported in Sept: MemoryMgr.c, free ptr, this

Re: How to determine the last visible character in a field?

2004-10-12 Thread Matt Graham
Gregg Woodcock wrote: How can this be done? The only way I can see is to (illegally) examine the LineInfoType data. Is there a legitemate way? How bout FldGlueGetLineInfo()? /* * matt */ -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: scrolling a list with up/down buttons

2004-10-11 Thread Matt Graham
Michoel Chaikin wrote: case keyDownEvent: if(eventP-data.keyDown.chr == vchrPageUp) { sel = LstGetSelection(lstP); if(sel 0) LstSetSelection(lstP, sel-1); }

Re: Position of text label in a button

2004-10-11 Thread Matt Graham
Luciano Stertz wrote: Palm OS Programer's companion says that: The default style for a button is a text string centered within a rounded rectangle. Can I modify the text position in the button? I'd like it to be left-aligned. Actually, I want a text string that acts like a button. If

Re: un-freed chunk

2004-10-11 Thread Matt Graham
KMoore wrote: I have cleaned all I can but still seems to get a un-freed chunk error... Help:) if you were freeing everything you probably wouldn't be getting that error. if you really think you've freed all your memory though, check for places where you're allocating new memory w/o first

Re: How to Generate SCL Repeat Event

2004-10-08 Thread Matt Graham
Calculus Calculus wrote: I need to generate SclRepeatEvent which will finally be handled by the Forms Event Handler. According to the Palm Documentation, the SCLHandleEvent is known to Handle Pendown Event. But if i use SCLHandleEvent and pass a Pendown to it, ,this doest not work, SCLHandleEvent

Re: Strange list behaviour

2004-10-07 Thread Matt Graham
try: list[i] = (char *) MemPtrNew(StrLen(key)+1); -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Code Cookbooks and Complete Examples for Palm (Especially UI Controls and Forms)

2004-10-07 Thread Matt Graham
Wilson, Mike E. wrote: I have looked at all the documents on the Palm website for complete code examples for the How To Do This level. I have found nothing really comnplete. Most documents are API references and Simple this is what this control does functionally. I have not been able to find any

Re: is the WiFi problem solved???

2004-10-06 Thread Matt Graham
vikram sonawane wrote: Just wanted to know, whether the inherent palm WiFi implementation problem of initiating a socket connection has been solved. This problem was faced by the VOIP system implemented by VLI systems.(www.vliusa.com) Sockets work fine over WiFi in my experience. -- For

category performance

2004-10-05 Thread Matt Graham
I've never used Categories before and I was wondering if there are any performance issues when using large DBs. Are there any problems with using categories in a database that has 100 records? 1000? 10,000? Thanks, matt -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: How to assign a name for an object in Palm OS Resource Editor under PODS

2004-10-05 Thread Matt Graham
Bryan Leong wrote: Can anyone help me how can i assign a unique name for a object inside resource editor that come with PODS. from what I can tell, you have to manually ensure that your object's ID is unique within the form. then if you want to refer to it by name in your code, you have to

Re: Debug memory leak

2004-10-04 Thread Matt Graham
After you allocate memory, you should then free it. [EMAIL PROTECTED] wrote: How to manage the following error. 0.000: WARNING: 0.000: WARNING: Memory Leaks 0.000: WARNING: 0.000:

Re: Text files with PODS

2004-10-03 Thread Matt Graham
[EMAIL PROTECTED] wrote: Every time I load a map into the char TMap[24][40] array, I have to specify each character individually. What would be a lot more efficient and easy for me would be if I could load the map from a text file. I have a text file, with 24 rows of 40 characters... now how do I

Re: Size of a segment

2004-10-03 Thread Matt Graham
papaDoc wrote: How can I find the size of a segment or section. I'm using prc-tools and m68k-palmos-multigen If you're also using Windows, you can use PRCExplorer. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How do I take advantage of TRANSPARENCY in bitmaps

2004-10-03 Thread Matt Graham
PEC wrote: I have tried defining a transparency color in the bmp files and defining it accordingly in the rcp with TRANSPARENTINDEX, however there is no transparency shown neither for pre-OS5 nor for OS5 devices. I was having that problem once too. I think I fixed it by removing the COLORTABLE

Re: code optimization and performance tuning

2004-10-02 Thread Matt Graham
Eka Gauranga Das wrote: is there any doc about code optimization and performance tuning cause i´m using big DBs in the palm Keep your DBs sorted and use binary searches. Make an index if you need it sorted on multiple fields. my target is Palm OS 5 or and i still use the Codewarrior as it

Re: 5-way navigator key codes?

2004-10-01 Thread Matt Graham
Ben Combee wrote: At 01:15 PM 9/30/2004, you wrote: What are the 5 way navigator key codes? In chars.h it only says vchrPageUp and vchrPageDown but i don't see any left/right/ or select key characters which are on the 5-way. Thanks, Geoff Are you using a recent Palm OS SDK. The current Palm OS

Re: Upgrade 3.1 to 5.0

2004-09-30 Thread Matt Graham
Precompile. It will show you everything and you can see if they're being typedefed and #defined more than once. /* * matt graham * certified palm os developer */ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Filling a row

2004-09-30 Thread Matt Graham
is selected, and then not draw the rectangle if it is. /* * matt graham * certified palm os developer */ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: PODS 1.0

2004-09-30 Thread Matt Graham
Chris Apers wrote: I'm trying to use this IDE but i can't build anything. I have Project test2 build command is not GNU make in the tasks view. How can i build my test project ? Make sure your cygwin/bin directory is in your windows path. /* * matt graham * certified palm os developer

Re: What's the state of the C++ environment on Palm OS?

2004-09-30 Thread Matt Graham
++ framework for CodeWarrior. I've not used it myself, but it has a good reputation. Essentially, if you want to use C++, you can do it. /* * matt graham * certified palm os developer */ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Re: Max Record size

2004-09-30 Thread Matt Graham
. But then you lose the recordness of PDBs. /* * matt graham * certified palm os developer */ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Mathlib install error message

2004-09-30 Thread Matt Graham
how to resolve the error message? Sounds like maybe your app is opening the Math lib and not closing it. So when you try to replace it, it's already open. Are you sure you're always closing the Math lib? And if it's already there, why are you replacing it? /* * matt graham * certified palm os

Re: Audio Codecs

2004-09-30 Thread Matt Graham
and processing power constraints in mind? have you looked into http://www.pocket-tunes.com/ I'm not affiliated with them, but it might fit your needs. /* * matt graham * certified palm os developer */ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

Re: Source code presentation

2004-09-24 Thread Matt Graham
Pierre Brial wrote: May be my question is not Palm-specific, but as I program only in this environnement... I observed that most programmers seem to follow the same patterns for source code presentation. I mean how the comments are displayed, what letters to capitalize in function names,

Re: Fwd: Re: How do I a get real sharp bitmap by using forms

2004-09-24 Thread Matt Graham
PEC wrote: help. I am getting nowhere with the introduction of bitmap families in my application. The bitmaps are displayed, but the resolution is pretty bad, although I have tried all bpp modes as well as all bitmap modes possible for the bitmaps and as documented in the Palm OS Companion with

Re: How to remove/hide the default-scrolling-arrows from a list

2004-09-24 Thread Matt Graham
Mike Margerum wrote: I doubt this will be portable when writing pure cobalt apps but it does the trick for os 5 and below. It's a lot of work to implement a table when all you want is a listbox with a real scrollbar. Cobalt API docs have a function called LstSetScrollArrows() that seems to do

Re: Dynamically changing menu text

2004-09-23 Thread Matt Graham
Alexander Galkin wrote: How can I change dynamically at runtime menu text or construct menu and assign it to a form? Does MenuAddItem() do what you want? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: NetLibReceive over UDP problem (using Berkeley Sockets)

2004-09-20 Thread Matt Graham
Donald C. Kirker wrote: Can anyone help me??? Wow, you waited a whole hour before posting again. Donald C. Kirker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am working on a WAP browser (transfer over UDP) and I am able to receive data under 1kb, but when the size of the data is

Re: When i use DmOpenDatabase i got the Bus Error And Handle free error

2004-09-20 Thread Matt Graham
piyush jain wrote: line --- MemoryMgr.c free handle so plese tell me how i can create and open the multiple database for my application. It looks like you're calling DmOpenDatabase() right after DmCreateDatabase(). Trying putting a DmFindDatabase() in between those 2. /* * Matt Graham * Palm

Re: lstNewList

2004-09-17 Thread Matt Graham
salil khanwalkar wrote: In my earlier code the number of strings and the list items were fixed. This time i am trying to fetch records from a database and then display them in a list.What i am trying to do is once i find a record i want to add it to the (Char ** )itemList array and then set this

Re: Problems converting rsrc to rcp

2004-09-16 Thread Matt Graham
Luciano A. Stertz wrote: It works fine, instead for accented caracteres (á, ç, õ, é, etc). These caracters are incorrectly converted, so I have the following questions: I'd suggest just switching to PilRC. It's not visual, but once you get used to working with it, it's better than

Re: DmWrite of Character String

2004-09-15 Thread Matt Graham
pavana shetty wrote: Hi, In my application I try to write a record (the first field is a string) into the database using DmWrite.The retrieval of this record using DmGetRecord displays junk values in the string. Below are the relevant code snippets, typedef struct _SearchRecord { char *

Re: I am having trobule with WinGetBounds!

2004-09-14 Thread Matt Graham
kkscat1 wrote: screenH = WinGetDrawWindow(); err = FtrGet( sysFtrCreator, sysFtrNumWinVersion, winVersion ); if(winVersion = 4) { WinGetDrawWindowBounds(windowBounds); } else { WinGetBounds(global_bitmapWinH, windowBounds); } there is no problem In

Re: suggestions for large help text screen + C programmer 101 memory error

2004-09-14 Thread Matt Graham
[EMAIL PROTECTED] wrote: 1)I need to implement a large help screen, essentially an enormous text field that can scroll i guess, like 2000 characters or more. Does anyone have any recommendations as to how I store this text? The only option I see is using a Field and store the text screen in a huge

Re: hex string to int

2004-09-14 Thread Matt Graham
Jim Duffy wrote: For example I need to convert a string like 3F to an Int16 with a value of 63 does this work? it's probably close. I didn't compile it or test it. int hex_digit_to_int( char c ) { if ( TxtCharIsDigit( c ) ) return c - '0'; if ( TxtCharIsUpper( c

Re: Get Application Id!

2004-09-13 Thread Matt Graham
Keyur Patwa wrote: The situation is that there are more than one application that can make use of the same shared library installed on the device! Inside the library, I want to find out the AppId of the application that invoked it! How can I go for it? Have the application pass the creator ID as a

Re: Problem debugging with Emulator

2004-09-09 Thread Matt Graham
I've had this exact same problem. It drives me nuts. I was not able to fix it and ended up just having to set CodeWarrior to launch the emulator when starting debugging. This works but we have a big app and it takes about 20-30 seconds for the emulator to load the app every time. It still

Re: getHostByName fails on Treo600

2004-09-09 Thread Matt Graham
problem w/ Sprint once but it was only intermittent. /* * Matt Graham * Palm OS Developer * www.healthramp.com */ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: PODS 100% CPU

2004-09-09 Thread Matt Graham
GL wrote: Id like to try PDOS 1. When I try to building some sample then the cpu working at ~100% (taskman: javaw.exe 100% about 2-5 MINUTES!) Whats wrong? (WinXP 2.4GHz 512MB ram, and standard PDOS 1 installation, This is discussed in detail on the tools-forum. /* * Matt Graham * Palm OS

Re: creating a log file readable using memo pad or notepad application

2004-09-09 Thread Matt Graham
Avinash Ponugoti wrote: Hello, I want to create a log file for my palm application which i want to be able to view using memo pad or note pad application how do i go about it. Any guidence will be appreciated. It would be cool if the SDK came with like, the code to the Memo application or

Re: creating a log file readable using memo pad or notepad applic ation

2004-09-09 Thread Matt Graham
Ornstein, Adam wrote: Yes, simply include the necessary parts of the Memo code (included in the SDK) for adding a memo record. This is why they included it, to make it easier for programmers to create these items. You could cut and paste the code but then you risk violating PalmSource's

Re: Apps crashing on some (but not all) Treo 600's

2004-09-07 Thread Matt Graham
David wrote: Has anyone else seen something like this? I've looked through the Forum but not found any reference to intermittent Treo 600 crashes. Is it something to do with different Treo 600 ROM builds from different mobile operators? I think even Treos from the same operator but released at

Re: Application cannot run on WinXP PC

2004-09-07 Thread Matt Graham
Ai Lee Tang wrote: I have problem to run code warrior application on WinXP PC. Which version of CodeWarrior is it? I'm running CodeWarrior 9.3 on WinXP and don't experience the problem you're describing. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: pulldown menu not sending winExitEvent when closed

2004-09-02 Thread Matt Graham
Stephen Park wrote: I open the pulldown menu by clicking on the top of the form and it sends winEnterEvent(pulldown menu), and winExitEvent(MainForm) but when I click on any area of the MainForm to get rid of the pulldown menu it only sends winEnterEvent(MainForm) and not winExitEvent(pulldown

Re: Look an Feel of Disabled Button

2004-09-01 Thread Matt Graham
Ritu Chawla wrote: Is their any Api to change the look and feel of disabled controls, so that user can distinguish between enabled and disabled controls. FrmHideObject() -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: SysStringByIndex

2004-08-31 Thread Matt Graham
APi which can be used to get the length of the string at run time. You can find this out by parsing the string list yourself. The first 2 bytes of a locked string list resource hold the # of strings in the list. The remaining bytes hold the list of null terminated strings. /* * Matt Graham

Re: Error in TextMgr

2004-08-31 Thread Matt Graham
rguevara wrote: thanks, but I not pass 0, the code is: //Function search string in description of DB (internal, not GlobalFind ) FilterStock(char * SearchString) { char theSearcht[16]={'\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0'}; int i=0, j=0; UInt32

Re: help with text fields

2004-08-27 Thread Matt Graham
about freeing this pointer. /* * Matt Graham * Palm OS Developer * www.healthramp.com */ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to draw low density bmp on high density display?

2004-08-24 Thread Matt Graham
. Then pick the bitmap based on WinGetCoordinateSystem()? /* * Matt Graham * Palm OS Developer * www.healthramp.com */ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Lists - tap and hold

2004-07-14 Thread Matt Graham
for the lstSelectEvent to finish processing. yeah, i was hoping that wouldn't happen. How bout this, keep your code the same, but instead of popping the alert when it times out, enqueue a pen up event. then display the alert in the lstSelectEvent? /* * Matt Graham * Palm OS Developer

Re: Indexing algorithm for index file for a dictionary

2004-07-14 Thread Matt Graham
of 100 words in one Palm record, start off w/ 50-70 or whatever depending on how much you want to insert and delete. Whatever your method, if you will be storing large numbers of words, you'll probably want to store more than one per Palm record. /* * Matt Graham * Palm OS Developer

Re: Lists - tap and hold

2004-07-13 Thread Matt Graham
[EMAIL PROTECTED] wrote: try lstSelectEvent instead of lstEnterEvent New to palm programming and I'm slowly getting my head around this stuff. I have come across a problem I don't know how to get around: I have a list, in which I need the user to be able to tap and hold any entry, and it will

Re: Sending HTML Email with embedded bitmap

2004-06-30 Thread Matt Graham
David R. wrote: Does anyone know where I can find some more info on sending HTML email with an embedded bitmap? I know I need to connect to a mail server on port 25 and use SMTP protocol but how do I embed a bitmap image to that email so that when a person opens the email they see the picture

Re: displaying video/audio/graphics

2004-06-29 Thread Matt Graham
Steven808 wrote: But what would be the best way to create a form that can display text and graphics? From what I've been reading, it seems that creating a resource that would do that seems like the best bet. Is there anything that I should look out for when creating a text/graphics resource? use

Re: changing lists for usable or not usable

2004-06-23 Thread Matt Graham
Roberto Pedrozo Mendes wrote: How can i to change one list in my form for usable or not usable. FrmShowObject( active_form, list_index ); FrmHideObject( active_form, list_index ); /* * Matt Graham * Palm OS Developer * www.healthramp.com */ -- For information on using the Palm Developer Forums

Re: temporily blocking the attention manager

2004-06-22 Thread Matt Graham
Eric Potter wrote: That being said, does anyone know how to block an exit via attention manager? AttnIndicatorEnable( false )? Or catch the vchrAttnIndicatorTapped that comes in keyDownEvents? /* * Matt Graham * Palm OS Developer * www.healthramp.com */ -- For information on using the Palm

Re: correction function for substring

2004-06-22 Thread Matt Graham
Roberto Pedrozo Mendes wrote: The correct function that i use to get a substring from one substring is strncat You should probably use StrStr() to find a substring within another string. /* * Matt Graham * Palm OS Developer * www.healthramp.com */ -- For information on using the Palm Developer

Re: hiding graffiti indicator

2004-06-18 Thread Matt Graham
there to remind people (like me) if they forget to put one in. There is a new keyword: NOGRAFFITISTATEINDICATOR. I think it's in the version of PilRC that was distributed w/ CodeWarrior 9.3 but I'm not sure. (Note: it won't highlight in the CodeWarrior editor) /* * Matt Graham * Palm OS Developer

Re: Palm OS Coding Guidelines

2004-06-17 Thread Matt Graham
that, I agree about the lameness of hungarian notation. I used to use it myself in a limited manner but it just got annoying when changing variable types. I do still use a scope prefix though to indicate global or member variables. /* * Matt Graham * Palm OS Developer * www.healthramp.com

Re: Field changed event

2004-06-17 Thread Matt Graham
need to do all that. On the keyDownEvent { if your search field has focus { FldHandleEvent( search field ); ScrollList( FldGetTextPtr() ); return true; } return false; } /* * Matt Graham * Palm OS Developer * www.healthramp.com

Re: FrmDoDialog Eats Events

2004-06-14 Thread Matt Graham
Rob Larson wrote: Thanks Matt. That would certainly be my preference, but I don't control that code. You don't have control over the code that determines when to go to a different form? What code do you have control over? -- For information on using the Palm Developer Forums, or to

Re: FrmDoDialog Eats Events

2004-06-11 Thread Matt Graham
Rob Larson wrote: I have a situation where a FrmGotoForm for form A has been issued, and the frmLoadEvent has not been processed yet. An error is detected, and results in a FrmDoDialog for form B to report the error. It turns out that the FrmDoDialog event handler consumes the frmLoadEvent,

Re: Retrieving, Matching ,and Display Records

2004-06-11 Thread Matt Graham
the main table. Matt Graham Palm OS Developer, HealthRamp www.healthramp.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Sony Clie TH55 vs Zire 72

2004-06-11 Thread Matt Graham
Lotfi wrote: what about a comparison betweeen Sony Clie TH55 vs Zire 72 price, technolgy, speed... I need to programm also, BT, using CodeWarrior and PALM SDK, are there incompatibility... Rumour has it Sony is discontinuing their Palm OS devices. You may want to consider that. -- For

Re: Retrieving, Matching ,and Display Records

2004-06-11 Thread Matt Graham
on your example, I'd suggest splitting into 2 dbs. One is a delivery table, which has the day of the delivery and then links to the customer in the second table which holds the customers just once. /* * Matt Graham * Palm OS Developer * www.healthramp.com */ -- For information on using

Re: Hotsync creator ID

2004-06-10 Thread Matt Graham
Dana Long wrote: I want to launch the Hotsync application from my application. I'm using SysUIAppSwitch(...) but I don't know which creator ID to use to find the hotsync dbID. Can someone point me at a list of the built in creator IDs? I don't see the HotSync source code anywhere or I'd look

Re: Hanging at logo on soft reset. HELP!

2004-06-09 Thread Matt Graham
Jeremy Cheng wrote: There may be some globals, but it is a single segmented app. Are the globals being used during reset? There is a launch code and notification for soft reset. Are you responding to either? If so, you cannot use your globals in that case. Jeffry Loucks wrote: 1. Is your

Re: Database errors.

2004-06-09 Thread Matt Graham
Peter Hamilton-Scott wrote: I recently had to remove the Dm calls in my app and use preferences instead. When I was using the Dm calls things would work well but the moment I try a hotsync or launch another app, I always get a fatal reset. I had my DBOpenRef (?) variable in the same source as

Re: FrmDoDialog...

2004-06-04 Thread Matt Graham
Mihai Ciornei wrote: But if I take out FrmSetActiveForm, the new form can't initialize an edit control (for example) and I receive a fatal alert (Index out of range - referring to the edit control ID) I've found doing modal forms in PalmOS to be a pretty big pain. I'd suggest trying to

Re: Installing NetLib

2004-06-04 Thread Matt Graham
zze-URIA RECIO Pedro FTRD/DMR/ISS wrote: The netFtrNumVersion returns an error; The SysLibFind call cannot find the NetLib? Is it possible that the NetLib is not installed in my Palm 5? How can I install it? A Palm V or a Palm w/ Palm OS 5? If Palm V, this might help you if you can find somewhere

Re: Events of Popuptrigger

2004-06-03 Thread Matt Graham
Wendel wrote: Popuptrigger has a event to select a item? I tryied to use a lstSelectEvent but i got a problem... I want to update one list when someone select a item in popuptrigger. popSelectEvent -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Problem with list

2004-06-01 Thread Matt Graham
rua17 wrote: I have a problem with the following code, I save the info in my DB referenced by gDRecPot and in a metho I display it on a list. I have other dynamic lists and I have no problems no matter the number of records. in this case after 5 records, the app crashes. Related Info name CHAR[60]

Re: truncate a string

2004-06-01 Thread Matt Graham
rua17 wrote: I checked that this 2 functions receive as a parameter the number of pixels. There's another function that takes the number of characters? yeah, the array assignment operator would probably work. buffer[char_limit] = TxtGlueGetHorizEllipsisChar(); buffer[char_limit+1] = '\0'; this

Re: scroll in table

2004-06-01 Thread Matt Graham
Marilia Mendes wrote: I 'm supposeed to display data in a tabular form -- i already have the data in an array and i'm displaying it in the table with ten rows, calling custom load routine. As of now first ten rows are coming fine -- how i can display next rows using Scrollbar ?? can anybody

Re: truncate a string

2004-05-28 Thread Matt Graham
rua17 wrote: I want to display in a list the name and the last name of my clients, but in some cases the string is to long, is there any function to truncate the strings? Example: Cristopher Alexander Van Der Andel To Cristopher .. Van Der And... WinDrawTruncChars() or TxtGlueTruncateString() both

Re: Problem with PilRC designer

2004-05-27 Thread Matt Graham
The PilRC compiler is good, but PilRC Designer has lots of bugs. This sounds like one of them. Be careful w/ PilRC Designer and graphical buttons. I can't even open a form that has graphical buttons w/o PilRC Designer mangling their sizes. Zechner Christian wrote: Hi! I have any problems with

Re: Modifying a record in a database

2004-05-25 Thread Matt Graham
Chris Hall wrote: How do you update a record in a Palm database (e.g. only one field changes)? Do you have to delete and add? Is there a rewrite or similiar command? Yes, DmWrite() -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Auto application termination

2004-05-19 Thread Matt Graham
Dana Long wrote: My application needs to go back to its login form if there is no user input for a specific period of time. I am using AlmSetAlarm() and launch code sysAppLaunchCmdDisplayAlarm to do this. In my AppHandleEvent() function I set the alarm to expire in N seconds. Each time the

Re: Right Justify Label?

2004-05-19 Thread Matt Graham
MarkW wrote: I'm sure this topic has been covered, but I can't find it in the archives. Is there a way to right justify the label on a Label? I guess what I need to know is how do I pad the text I want with blanks in front? If you're using PilRC, setting the position based on [EMAIL PROTECTED]

Re: Is that Possible for the Palm Tungsten C to transfer data to desktop wirelessly?

2004-05-19 Thread Matt Graham
Su Shaw Bank wrote: Is it possible for the palm Tungsten C to transfer data to PC desktop by using the wi-fi? I want to establish the real time and interactive transfer of data between palm Tungsten C and PC desktop. Is that any information that I can refer to?? Yes, write a conduit and

Re: C++ class enum error

2004-05-19 Thread Matt Graham
Ste wrote: Yes, I have included it...but doesn't work ;-( !! Other suggestions? Is Test.h #included above or below myClass.h? myClass needs to be defined before your TestRoutine() prototype. Matt Graham [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ste wrote: Hi, maybe it's a little

Re: C++ class enum error

2004-05-18 Thread Matt Graham
Ste wrote: Hi, maybe it's a little bit OT, but I have a problem compiling a c++ project with CodeWarrior. I have created a class with an enum, like this... class myClass{ public: enum enABC { enA = 0, enB = 1 }; }; and saved it it myClass.h Then I

Re: dmHdrAttrHidden Record database

2004-05-18 Thread Matt Graham
Jefferson Samuel wrote: Hello All, I am pluging 30 day trial period counter in my application. I have created a registration database with a different creator ID to store my Key information. I want to prevent a user from being able to delete a database from the device. I have been trying to hide

Re: Searching Records

2004-05-18 Thread Matt Graham
Desenvolvimento 3 wrote: What´s the best way to perform a search on a pdb? I like to use the binary search algorithm but this one looks not so much efficient to solve my problem. I have a list with several products inside that are ordened by their product class. When the user selects choose one

Re: Masking text in a field

2004-05-17 Thread Matt Graham
Dana Long wrote: My application has a log in screen and requires the option of masking the password field. Since I see no way of getting this behaviour for free from a Field object, I've gone down the road of intercepting the keydown event, storing the character in an array, replacing the

  1   2   3   4   >