Detect Palm Device At Sync ?

2004-04-16 Thread Matt Disher
I think the answer to this is a quick no, but I want to ask anyway. Basically, I only want to send images appropriate to the Palm (low or high density, monochrome, color, etc.). I have created Palm bitmap families on the desktop destined for the Palm, but I'd like to cull them down at sync

Re: palm-dev-forum digest: February 19, 2003

2003-02-20 Thread Matt Disher
that might be :) So I can find a work around for it. -- Matt Disher Fresh Perspective Software, LLC From: Palm Developer Forum digest [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Thu, 20 Feb 2003 00:00:43 -0800 To: palm-dev-forum digest recipients [EMAIL PROTECTED

Stack and/or Heap Differences in Tungsten

2003-02-19 Thread Matt Disher
Are there known Stack and/or Heap difference (in terms of available space) in the Tungsten vs the Straight up OS 5 Sim and the 5.3 Sim? I seem to be running short on the Tungsten specifically. -MD -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Error 1238 with WinSaveBits Only on T

2003-02-18 Thread Matt Disher
I have an interesting problem :/ I have some code that so far... Runs on 3.5 through OS5. It runs on every 4.x device I have. It does run on the OS 5 Simulator and the 5.2 Simulator, but it does not run on the T Simulator or my physical T. Basically when I pop up a toolbar I call WinSaveBits

Detecting Wakeup

2003-02-17 Thread Matt Disher
I'm sure this has been covered before but I didn't turn anything up with an eGroups search. I'm trying to figure out when the device wakes up and my app is the current app. I need this for 'pre-Notification Manager' OS as well. I can certainly detect the power button if the users turns the

Detecting Wakeup [NeverMind]

2003-02-17 Thread Matt Disher
Put your redundant question flame throwers away. Found some stuff in the archives. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Distinguishing Pen UpEvents.

2003-01-07 Thread Matt Disher
I'm suffering a small brain fart. I have a game that works off of PenEvents, pend up events to be exact, figuring out the location of the tap and acting on it, etc. My problem lies with the menus, when a menu item is chosen, I act on the menuEvent and return true, but I still get a PenUp event

Alarm Design thoughts and ?'s

2002-11-26 Thread Matt Disher
I understand Alarms... (I think, and have used them before 'back in the day') but only in a single db, single alarm scenario. Your app can install but one alarm at a time, and it's up to you to handle/manage alarms if you want to support more than one (ala the Datebook application and it's myriad

MemPtrSize Crashes in OS 5

2002-11-17 Thread Matt Disher
Or How to get the size of a BitmapPtr under OS 5 In one of our apps, we do the following: Errerror = 0; WinHandlesaveWinH = NULL; BitmapType*bp; saveWinH = WinSaveBits(bounds, error); bp = WinGetBitmap(saveWinH); // Validate

Re: MemPtrSize Crashes in OS 5

2002-11-17 Thread Matt Disher
I get this in digest, so before the flame starts, Ben pointed out BmpSize() :D Still interested in the second part though. -MD Or How to get the size of a BitmapPtr under OS 5 In one of our apps, we do the following: Errerror = 0; WinHandlesaveWinH =

Datebook import format question

2002-10-03 Thread Matt Disher
Does Palm no longer give away those handy 'Holiday' import files for datebook ? I have been asked to provide similar functionality from a web-site. (Provide an import file of dates/agenda items for import into PalmDesktop and therefor the Datebook application). I know I can do this

Skipping deleted records

2002-07-18 Thread Matt Disher
any of this. -MD -- Matt Disher [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Skipping deleted records

2002-07-18 Thread Matt Disher
Thank you that is exactly what I was looking for... -- Matt Disher [EMAIL PROTECTED] From: Danny Epstein [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Thu, 18 Jul 2002 14:49:07 -0700 To: Palm Developer Forum [EMAIL PROTECTED] Subject: RE: Skipping deleted

Re: CW IDE 4.2.6 in Mac OSX 10.1.5

2002-07-11 Thread Matt Disher
Same here, and is debugging painfully slow under X for anyone else ? I'm taking several seconds to step through each line of code. Still using 9.2.2 cause I need to stay productive :D -- Matt Disher [EMAIL PROTECTED] From: Stephen Best [EMAIL PROTECTED] Reply-To: Palm Developer Forum

Re: How to detect if in Sony's High Resolution Assist

2002-07-10 Thread Matt Disher
here E) restore it when you are done. F) close the library at exit. -- Matt Disher [EMAIL PROTECTED] From: Mike McCollister [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Wed, 10 Jul 2002 07:13:26 -0700 (PDT) To: Palm Developer Forum [EMAIL PROTECTED] Subject

Re: Multi-Select Lists

2002-07-02 Thread Matt Disher
Yes, but it was a table with checkboxes :D -- Matt Disher [EMAIL PROTECTED] From: Brad Figler [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Newsgroups: palm-dev-forum Date: Tue, 2 Jul 2002 19:13:34 -0700 To: Palm Developer Forum [EMAIL PROTECTED] Subject: Multi

Re: Chunk Overlock whilst Editing in place

2002-07-01 Thread Matt Disher
edit form with any record and get the same field overlock condition. Even leaving the app and relaunching. However a reset makes the problem go away. So somewhere I'm tromping on something, I'm just having a hell of a time finding it. -- Matt Disher [EMAIL PROTECTED] From: Danny Epstein [EMAIL

Chunk Overlock whilst Editing in place

2002-06-30 Thread Matt Disher
While Gremlinizing I've run into a scenario that has me baffled... I have a note field that's pretty much verbatim from the notepad code that does edit in place. I open the record, pass FldSetText the rec Handle and the offset. This works like a charm except Gremlins finds a chunk over-lock

Re: POSE 3.5 problem

2002-06-14 Thread Matt Disher
SysTaskDelay is broken in 3.5 which is perhaps what it's doing while it waits. -- Matt Disher [EMAIL PROTECTED] From: Paul Nevai [EMAIL PROTECTED] Organization: The Ohio State University Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Fri, 14 Jun 2002 08:25:58 -0400 (EDT) To: Palm

Re: How to resize application info memory chunk

2002-05-19 Thread Matt Disher
It's in the docs, and I think there is an article in the KB as well. Basically you cann't resize the appInfoBlock. What you can do is delete it and create a new one at the new size. -MD From: Guanghe Pan [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Sun, 19 May

Lengthy Exit Time

2002-05-16 Thread Matt Disher
I posted a while back and never got a response, so I shelved my problem for now in hopes that it would mainfest itself differently or perhaps just go away (wishful thinking). I now need to fix this. Basically my App takes for ever and a day to exit and get back to the Launcher. All this

Re: Lengthy Exit Time

2002-05-16 Thread Matt Disher
) or in the Profiler would be just outstanding :D -- Matt Disher [EMAIL PROTECTED] From: Fritzsching Michelle [EMAIL PROTECTED] Organization: Booz Allen Hamilton Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Thu, 16 May 2002 16:35:35 -0400 To: Palm Developer Forum [EMAIL PROTECTED] Subject: Re

Re: Lengthy Exit Time

2002-05-16 Thread Matt Disher
As in don't test for them ? Hrms.. I'll see if that makes the profile output different. But the delay is real, Error checking or not. -- Matt Disher [EMAIL PROTECTED] From: Hal Mueller [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Thu, 16 May 2002 13:42:58

Re: Lengthy Exit Time

2002-05-16 Thread Matt Disher
of this condition. -- Matt Disher [EMAIL PROTECTED] From: Hal Mueller [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Thu, 16 May 2002 13:42:58 -0700 To: Palm Developer Forum [EMAIL PROTECTED] Subject: Re: Lengthy Exit Time What happens if you disable MemMgr leaks

Re: Lengthy Exit Time

2002-05-16 Thread Matt Disher
in the OS, or something wrong in Poser, I know it has to be my app. I just don't know where :D I don't have any other side-effects, no crashes, 1/2 million gremlins (in non-debug roms) it just slow as ^#$%@@ to exit. Also plain ol' C no C++ -- Matt Disher [EMAIL PROTECTED] From: Keith Rollin [EMAIL

Re: Lengthy Exit Time offscreen Windows

2002-05-16 Thread Matt Disher
way if the above is not ? -MD -- Matt Disher [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Lengthy Exit Time

2002-05-16 Thread Matt Disher
Hrms.. Rebuilding the runtime libs made this go away ;) Now I'm totally confused. I don't have 3000 calls to anything in the profile anymore... -- Matt Disher [EMAIL PROTECTED] From: Ben Combee [EMAIL PROTECTED] Organization: Metrowerks Reply-To: Palm Developer Forum [EMAIL PROTECTED

Re: DmComparF

2002-05-14 Thread Matt Disher
If your database record structure looks like so: typedef struct{ Int16dbVer;// Version number of DB so we can adjust Int16someNumber; Char string[32]; }RecordType; typedef RecordType * RecordTypePtr; Then a pointer to that would be RecordTypePtr

Re: DmComparF

2002-05-14 Thread Matt Disher
casting the compare StrCompare((ImportRecPtr)rec1-name, ImportRecPtr)rec2-name); -- Matt Disher [EMAIL PROTECTED] From: Jay Francis [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Tue, 14 May 2002 13:31:27 -0500 To: Palm Developer Forum [EMAIL PROTECTED] Subject

Re: DmComparF

2002-05-14 Thread Matt Disher
What Hal said :D -- Matt Disher [EMAIL PROTECTED] From: Jay Francis [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Tue, 14 May 2002 13:31:27 -0500 To: Palm Developer Forum [EMAIL PROTECTED] Subject: DmComparF I'm still not exactly sure what the sortinfo

Re: Updating a DB

2002-05-12 Thread Matt Disher
by type and creator code (which you define, and that needs to be registered). Once you know the format of the database (since you defined it) you can create them a few different ways. -- Matt Disher [EMAIL PROTECTED] From: Todd Cary [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL

Re: Again C++ in Shared Lib using CW

2002-05-03 Thread Matt Disher (TiBook)
Dude, I lost the reciept from this mornin how much was that ? -- Matt Disher [EMAIL PROTECTED] From: Akhilesh Singh [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Fri, 3 May 2002 23:37:51 +0530 To: Palm Developer Forum [EMAIL PROTECTED] Subject: Again C

Re: Again C++ in Shared Lib using CW

2002-05-03 Thread Matt Disher (TiBook)
Doh, tip of the day... Whe Outlook Express asks if you want top 'compact optimize' your database. We'll what you reply to might not be what expected to reply to :D -- Matt that's my story and I'm sticking to itDisher [EMAIL PROTECTED] From: Matt Disher (TiBook) [EMAIL PROTECTED] Reply

Re: App wizard hides the resource.frk folder.

2002-04-30 Thread Matt Disher (TiBook)
out when they see this additional folder along with the finder.dat and a few other things created by the Mac if they aren't hidden. :D -- Matt Disher [EMAIL PROTECTED] From: Chris Tutty [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Wed, 1 May 2002 16:20:44 +1200

Re: Programmatically Populating Database

2002-04-26 Thread Matt Disher (TiBook)
user. -- Matt Disher [EMAIL PROTECTED] From: Eric J. Janus [EMAIL PROTECTED] Organization: AustinDetek Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Fri, 26 Apr 2002 12:07:40 -0400 To: Palm Developer Forum [EMAIL PROTECTED] Subject: Programmatically Populating Database I'm

Re: Mac OS X and Codewarrior

2002-04-20 Thread Matt Disher (TiBook)
What is this: PalmOS 5.0 rx SDK (that includes a native compiler) You speak of ? Would love to get out of OS9 and into X -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Is the Dm _Unique ID transportable ?

2002-04-15 Thread Matt Disher (TiBook)
to them ? Do they remain what they were, and on the recieving device I have to ensure that they are _still_ unique ? Does the DataManager generate NEW ID's as it creates new records ? No, I havn't written code to test this, I'm hoping someone here already knows. :) -- Matt Disher [EMAIL

Re: Is the Dm _Unique ID transportable ?

2002-04-15 Thread Matt Disher (TiBook)
Thank you that was exactly what I was looking for, though not exactly the answer I wanted :) I'm currently using an internal UID and it's painfully slow. Rather parts of my app are slow when I need to turn the UID into a recIndex and the number of records to check is high. There are

Exceedingly long time to exit.

2002-04-15 Thread Matt Disher (TiBook)
Ok, I noticed it seems to take my app a while to exit, a very long time IMHO. So I profiled this part of the app. (launched it to a saved state, started profile, click the 'home' button and stopped it when i saw the launcher). What I found was really kinda funky... when I dig down into the

Re: ? about fldSetText edit in place

2002-04-12 Thread Matt Disher (TiBook)
observations and simply may not be accurate as i can't believe that a memopad record always stays the same size, or rather stays equal to the largest size it's been resized to. -MD -- Matt Disher [EMAIL PROTECTED] From: Peter Epstein [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED

Re: ? about fldSetText edit in place

2002-04-12 Thread Matt Disher (TiBook)
Yeppo, that would do it... though no where in the 'docs' does it say anthing about FldCompactText, on, in, or around FldSetText :) But now I know :D -- Matt Disher [EMAIL PROTECTED] From: Joe [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Fri, 12 Apr 2002 13:14

Signature ++ Revisited / Solution

2002-04-12 Thread Matt Disher (TiBook)
(bitmapP); } -- Matt Disher [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Signature ++ Revisited / Solution

2002-04-12 Thread Matt Disher
. -MD - Original Message - From: Joe [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Saturday, April 13, 2002 12:45 AM Subject: Re: Signature ++ Revisited / Solution --- Matt Disher (TiBook) [EMAIL PROTECTED] wrote: I found buildable source (and source that made

Hi-Res tips and tidbits...

2002-04-11 Thread Matt Disher (TiBook)
this through ? Where did you come out ? I'd be happy to consolidate answers into a FAQ if one doesn't exist. -- Matt Disher [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

High Res Development ?'s

2002-04-10 Thread Matt Disher (TiBook)
. Is that the case ? Is there such a beast ? Maybe there was a lecture at PalmSource ? -- Matt Disher [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Dumb list question

2002-04-10 Thread Matt Disher (TiBook)
Just don't show as many items... If you have a list of 70 items but only have '5' visible then you'll see your arrows :) -- Matt Disher [EMAIL PROTECTED] From: Andy Black [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Newsgroups: palm-dev-forum Date: Wed, 10 Apr 2002

Re: High density screens / Palm OS 5

2002-04-09 Thread Matt Disher (TiBook)
at once draw (basically a blit to the screen) It isn't any faster, just give that impression and cleaner updates. But... You knew that... :D Like the docs say, use it to reduce *flicker* cause that's about all it's good for. But it is good for that and that's how one would use it. -- Matt Disher

Re: High density screens / Palm OS 5

2002-04-09 Thread Matt Disher (TiBook)
as advertised. It's simpler than me allocating an offscreen window, drawing to it, etc, etc, allthough that's not really that hard and you have to do it yourself anyway for pre 3.5 devices anyway. So maybe it's a mute point. -- Matt Disher [EMAIL PROTECTED] From: Daniel Morais [EMAIL PROTECTED

Re: getting WinFillRectangle to fill ?

2002-04-07 Thread Matt Disher (TiBook)
to the function to make it work are: CustomPatternType pattern = {0,0,0,0,0,0,0,0}; // Black WinSetPattern (pattern); (for archiving and searchability for the next person: WinSetPattern WinSetCustomPattern WinFillRectangle ) -- Matt Disher [EMAIL PROTECTED] From: Matt Disher (TiBook

getting WinFillRectangle to fill ?

2002-04-07 Thread Matt Disher (TiBook)
. The only thing I have not tried yet is defining a custom pattern as I would assume the defines (blackPattern, or grayPattern) would give me what I'm looking for. any tips ? -- Matt Disher [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

Re: Preference corruption caused by the Address application

2002-04-04 Thread Matt Disher (TiBook)
, appPrefVersionNum, gPrefs, sizeof(PreferenceType), true); appFileCreator is defined somewhere and probably matches Addressbook instead of your unique value (which you'll register before you release right ?) -- Matt Disher [EMAIL PROTECTED] From: Dale Phiefer [EMAIL PROTECTED] Reply

Back again to beat the horse

2002-04-04 Thread Matt Disher (TiBook)
OK, I'm back to beating the 'Save Screen bits' to a database problem again. Is the source to the new notepad application available ? Will it be with an upcoming SDK release ? That's very similar to the functionality that I want with the exception I need to do it on OS 3.1 and up. I'm sure

Re: Comparison Commentary?

2002-04-03 Thread Matt Disher (TiBook)
a device). I don't know if it's CW or Pose that's misbehaving. Seems to me might even be something that POSE is doing that CW just doesn't handle well. I prefer to give keith the benefit of the doubt :) -- Matt Disher [EMAIL PROTECTED] From: Borislav Kolev [EMAIL PROTECTED] Reply-To: Palm

Re: Comparison Commentary?

2002-04-03 Thread Matt Disher (TiBook)
;-/ And very unfortunatlly I'm not exagerating. I'm also willing to do what ever it takes to get it fixed, run debug versions, send them just about any info, even let them witness it over VNC or something simmilar. Hell, I'd even consider shipping one of the machines to them. -- Matt Disher

KB ?!?!

2002-04-03 Thread Matt Disher (TiBook)
I sure miss it :) Who we gotta schmooze to get it back ? Fedor ? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Setting the Insertion point

2002-03-29 Thread Matt Disher (TiBook)
Yeah that's sort of what I meant, what I did was tried to do it prior to FrmDrawForm and it wasn't happnin. It is now :) thx -- Matt Disher [EMAIL PROTECTED] From: Joe [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Tue, 26 Mar 2002 07:54:58 -0800 (PST) To: Palm

Re: StrAToI

2002-03-26 Thread Matt Disher (TiBook)
try: StrCopy(text, Hello); Int32 int = StrAToI(text); -- Matt Disher [EMAIL PROTECTED] From: Carmen Sandiego [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Tue, 26 Mar 2002 17:20:17 -0600 To: Palm Developer Forum [EMAIL PROTECTED] Subject: StrAToI Whenever I

Re: StrAToI

2002-03-26 Thread Matt Disher (TiBook)
Doh, That won't work. StrIToA( Str, 99); Will set Str = 99 transversly if Str = 99 int x = StrAToI(Str); will set x to 99. Not sure exactly what the hello' is supposed to turn into numercally ;-) -- Matt Disher [EMAIL PROTECTED] try: StrCopy(text, Hello); Int32 int = StrAToI

Re: StrAToI

2002-03-26 Thread Matt Disher (TiBook)
(Char* string) { Int16 i,len, total = 0; len = StrLen(string); for(i = 0; i len; i++) { total += string[i]; } return total; } -- Matt Disher [EMAIL PROTECTED] From: Carmen Sandiego [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date

Setting the Insertion point

2002-03-25 Thread Matt Disher (TiBook)
and together). It works fine on my 505 and Sony but not reliable on my Vx. Any hints/tips ? -- Matt Disher [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Automated Build Version/Date String ?

2002-03-23 Thread Matt Disher (TiBook)
I'm looking for a quick and dirty (read simple) method to include a 'build' version into an application. That I can display in the about box. This can be as simple as date/time. I would like for this to be modified on the fly as CW builds my project. Any suggestions ? -- Matt Disher [EMAIL

Re: Automated Build Version/Date String ?

2002-03-23 Thread Matt Disher (TiBook)
) and compress it sooo this works grand as long as I want a time/date tag. -- Matt Disher [EMAIL PROTECTED] I wrote: Char buildVersion[21]; StrPrintF(buildVersion, %s %s, __DATE__, __TIME__); --- Paul Nevai wrote: Be careful!!! You need to touch the file every time you want to update this info! I.e

Debugging on device

2002-03-22 Thread Matt Disher (TiBook)
to have a serial cable. Is that true of the Palm 50x series too ? I'm not having much success :-/ Tips/Tricks ? -- Matt Disher [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Form Design

2002-03-21 Thread Matt Disher (TiBook)
5 chars of the string or choose from the many date/time types ;-) The key is you are drawing the text so draw it however you want. -- Matt Disher [EMAIL PROTECTED] From: Edward P. Ross [EMAIL PROTECTED] Organization: Acrocat Software Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date

Re: Pose 3.4 is mute on my Mac

2002-03-16 Thread Matt Disher
on the Mac. The facilities previously used don't appear to be available under Carbon, and we haven't yet found any alternatives. If you know about sound on the Mac, we could use your help! -- Keith -Original Message- From: Matt Disher (TiBook) [mailto:[EMAIL PROTECTED]] Sent

Re: Desktop HotSync Program

2002-03-15 Thread Matt Disher (TiBook)
Good point, could be tied to that 'Stay-on-In-Cradle' Prefs too. So the end user could decide ;-) -- Matt Disher [EMAIL PROTECTED] In ancient times, this design was a no-brainer since listening to the serial port would drain the AAA batteries. But would it be practical these days

Re: searching database record using date

2002-03-14 Thread Matt Disher (TiBook)
Given the low address. Either the string you're trying to put the DateFormat in is NULL or too short to hold the value generated ;-) Make a bigger string and/or allocate the on ya got. -- Matt Disher [EMAIL PROTECTED] Thank you very much for the immediate information. Now I changed my

Re: TblGetItemBounds not reflect row height change?

2002-03-14 Thread Matt Disher (TiBook)
-Or- Write a Gadget ;-) At the point when the tables get too cumbersome, or the built in parts don't act as you'd like and you have to 'override' it's features. You might as well roll a gadget and do it all yourself. That way you can be assured to get the behavior (YOU) want ;-) -- Matt

Re: TblGetItemBounds not reflect row height change?

2002-03-14 Thread Matt Disher (TiBook)
I used to be afraid of Gadgets, until I sat down and wrote one. Unless I needed editable fields, I'll almost always roll my own now. It's really NOT hard at all. And to me about the same work as using a table. just define a structure to track stuff and go ;-) -- Matt Disher [EMAIL PROTECTED

Re: Memory Expansion card

2002-03-12 Thread Matt Disher (TiBook)
RTFM Start with the Docs: Palm OS Companion (part 1) Expansion Support begins on page: 198 See also: PalmOS Reference, The virtual file manager (for SD/MMC Cards) Starts on page 941. -- Matt Disher [EMAIL PROTECTED] From: Nicklas W Bjurman [EMAIL PROTECTED] Reply-To: Palm Developer

Re: Displaying Date and Time

2002-03-11 Thread Matt Disher (TiBook)
Look in the docs, specifically the Palm OS Reference. (if you found this list you can find that). Then take a gander at the Time Manager section it starts on page 913 everythign you want is in there. -- Matt Disher [EMAIL PROTECTED] From: Christophe HOCMAN [EMAIL PROTECTED] Reply-To: Palm

Re: Displaying Date and Time

2002-03-11 Thread Matt Disher (TiBook)
to deal with. See the EventManger Section of said documentation. Then the app will generate nilEvents from which you can call TimGetSeconds or TimGetTicks, check if it's time to update, etc, etc. ;-) -- Matt Disher [EMAIL PROTECTED] From: Christophe HOCMAN [EMAIL PROTECTED] Reply-To: Palm

Re: Get Current Date - HOWTO

2002-03-11 Thread Matt Disher (TiBook)
Look in the docs, specifically the Palm OS Reference. (if you found this list you can find that). Then take a gander at the Time Manager section it starts on page 913 everythign you want is in there. DeJavu :D -- Matt Disher [EMAIL PROTECTED] From: Edward P. Ross [EMAIL PROTECTED

Getting rid of a database after you've screwed it up ;-)

2002-03-11 Thread Matt Disher (TiBook)
Getting rid of a database after you've screwed it up ;-) I've got an app now with an occasional Free Handle Error that makes my database untouchable and un-deleteable. (that is you even think about looking/touching it and it crashes with MemoryMgr.c, Line 4384 Free Handle Is there anyway to

Sony Hi-Res Helper Disable ?

2002-03-10 Thread Matt Disher (TiBook)
there. -- Matt Disher [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Use of Categories in database records

2002-03-10 Thread Matt Disher (TiBook)
IMHO yes, a lot of authors do this. But, in the future if you wish to get your app certified, it needs to support 'cataegories' then you have more work ahead of yourself to undo what you did so weigh this carefully. -- Matt Disher [EMAIL PROTECTED] It is ok to use the category field

Re: List: turning off selection

2002-03-10 Thread Matt Disher (TiBook)
I'm sure you've found it by now but... LstSetSelection(lstP, -1) sets it to 'no selection' -- Matt Disher [EMAIL PROTECTED] I have a PopupTrigger and I dynamically create the List. All works fine *except* I do not want an item selected on the list when the user gets the list. Can

Re: List: turning off selection

2002-03-10 Thread Matt Disher (TiBook)
Gak... Agreed, That's alays a good idea, but I was just giving the info asked for. The doc's say: Purpose Set the selection for a list. Prototype void LstSetSelection (ListType *listP, Int16 itemNum) Parameters - listP Pointer to a list object. - itemNum Item to select (0 = first item in

Re: DmNumRecords

2002-03-10 Thread Matt Disher (TiBook)
Ed, DmOpenRef by definitionis a DataManagerOPENReference :-) You need to open a database before you can count the records in it. It's failing most likely because your DmOpenRef points to nothing or at least not a valid database. (see code I sent you earlier) -- Matt Disher [EMAIL PROTECTED

Re: Set button usable

2002-03-09 Thread Matt Disher
Use either: CtlShowObject(GetObjectPtr(yourbuttonResID); CtlHideObject(GetObjectPtr(yourbuttonResID); Sometimes with the usable function as well. Or (These may have been depricated and you might need to use a Frm function instead) I believe the frm functions aren't immediate, it takes a

Re: Writing a file to LAN

2002-03-08 Thread Matt Disher (TiBook)
Stumbled across this... http://sourceforge.net/projects/palm-smbclient/ SMB-Client for PalmOS. Knew it had to be out there somewhere. From: Kenny [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Newsgroups: palm-dev-forum Date: Fri, 8 Mar 2002 10:21:10 +0800 To: Palm

Re: onscreen keyboard

2002-03-08 Thread Matt Disher (TiBook)
What there's documentation ? :D Where j/k -- Matt Disher [EMAIL PROTECTED] From: Jim Schram [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Fri, 8 Mar 2002 10:48:28 -0800 To: Palm Developer Forum [EMAIL PROTECTED] Subject: Re: onscreen keyboard At 8:26 AM

Re: FrmGetObjectPtr doesn't get Gadget Ptr

2002-03-08 Thread Matt Disher (TiBook)
posting that I 'had' to do it the above way. shrug -- Matt Disher [EMAIL PROTECTED] Working with extended Gadgets, and I want to trigger a redraw. FormGadgetType*theGadgetPtr; theGadgetPtr = GetObjectPtr( MainFooGadget ); GadgetReDraw(theGadgetPtr); (returns a -1 instead of a ptr

Re: Looking for example popup list dialog code

2002-03-07 Thread Matt Disher
Hrms... Off the top of my head I don't think you can do this that way. FrmDoDialog treats the form as a modal dialog. All you're ever gonna get back is the button that was tapped (and only one can be tapped). You need to do FrmPopUpForm (to acheive the same effect) but establish an event

Drag and Drop Sample code

2002-03-07 Thread Matt Disher
i.e. I'm looking for some. I used to have the original LaunchPad sources way back in the day and can't find that. Looking for a simple framework that would support dragging some elements around the screen. If anyone has anything I'd appreciate it, but I suspect I'll be grinding it out the

Re: Looking for example popup list dialog code

2002-03-07 Thread Matt Disher (TiBook)
it a regular form (that looks, feels and smells like a dialog) and provide an event handler for it. - :-D -- Matt Disher [EMAIL PROTECTED] From: [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Thu, 7 Mar 2002 13:20:11 -0800 To: Palm Developer Forum [EMAIL PROTECTED

Re: Looking for example popup list dialog code

2002-03-07 Thread Matt Disher (TiBook)
-day before you could get a pointer to any object and check it's value. I still fail to see the value here. When you could create a minimalist event handler to handle the form w/o a lot of trouble. -- Matt Disher [EMAIL PROTECTED] From: Brian Smith [EMAIL PROTECTED] Reply-To: Palm Developer

Re: FrmPopupForm problem

2002-03-06 Thread Matt Disher (TiBook)
Oh, 'T-h-a-t' FrmUpdateForm() function... :o) Well that would work :) too. -MD From: Philip Sheard [EMAIL PROTECTED] Organization: Checkout Marketing Reply-To: Palm Developer Forum [EMAIL PROTECTED] Newsgroups: palm-dev-forum Date: Wed, 6 Mar 2002 07:16:14 - To: Palm Developer

Re: Is it possible to automatically power off the palm device

2002-03-06 Thread Matt Disher (TiBook)
See: http://oasis.palm.com/dev/kb/faq/1067.cfm Enqueue a power off key down event :-) seeChars.h #definevchrAutoOff 0x0114// power off due to inactivity timer #definevchrPowerOff 0x011E// Posted after autoOffChr or //

FrmGetObjectPtr doesn't get Gadget Ptr

2002-03-06 Thread Matt Disher (TiBook)
O-Tay, Working with extended Gadgets, and I want to trigger a redraw. FormGadgetType*theGadgetPtr; theGadgetPtr = GetObjectPtr( MainFooGadget ); GadgetReDraw(theGadgetPtr); (returns a -1 instead of a ptr to the gadget) The sample code for extended gadgets does just this in the Kb

Still strugglin with bitmaps :/

2002-03-05 Thread Matt Disher (TiBook)
OK, I now have a gadget by which I can scribble on (as in a signature) I can successfuly save it's bits to an offscreen window and restore them But I'm really struggling writing this 'bitmap' to a database and then retrieving it Question: Do I HAVE to save this bitmap to a resource

Re: FrmPopupForm problem

2002-03-05 Thread Matt Disher (TiBook)
HeHe, The docs clearly state that FormPopUp does NOT close the prior form. It doesn't erase it either. But the form you PopUp should have the save-behind attribute checked so it doesn't muck it up and restores it. Now when your FrmPopupForm, use FrmReturnToForm to get back. However you won't

Re: FrmPopupForm problem

2002-03-05 Thread Matt Disher (TiBook)
problem Matt Disher (TiBook) [EMAIL PROTECTED] writes: So pop one on the queue like so. ... (snip code to add event to queue) ... Why not just use FrmUpdateForm() -- Dave Carrigan ([EMAIL PROTECTED])| Yow! After THIS, let's go to UNIX-Apache-Perl-Linux-Firewalls-LDAP-C

Re: FrmPopupForm problem

2002-03-05 Thread Matt Disher (TiBook)
Yes, queue your own frmUpdateEvent, and frmCloseEvent too if needed. Example: MainForm with Table PopUp find form to search for info that might be displayed by said table on main form. If not found, do nothing FrmReturnToForm and leave well enough alone. If Data is

Re: Signature++ Revisited (let's beat that horse again)

2002-03-04 Thread Matt Disher (TiBook)
I found your post but it looked like you were using gDeviceP. Then I found lots of other posts about that not working. Then I found suggestions for fixing that and more posts about them no working too :) Then I found Arrons post, which made sense but for some reason It won't build because I

Signature++ Revisited (let's beat that horse again)

2002-03-03 Thread Matt Disher (TiBook)
I too all of a sudden need a signature capture type gadget that works from 30 on up So I'm looking to snag some bits from the screen I'm at a loss as to why this is so frickin hard :) I don't need to save it as a bmp resource but I could do that if need be Did anyone ever find a solution to

VFS Manager Search ?

2002-03-03 Thread Matt Disher (TiBook)
Anyone written an equivilent to DmGetNextDatabaseByTypeCreator that works for searching on an external card ? Looking for a quick and dirty way to do just that and dont' want to reinvent the wheel if I don't have to -MD -- For information on using the Palm Developer Forums, or to