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
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
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
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
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
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/
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
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
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
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 =
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
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/
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
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
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
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
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
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
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
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
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
) 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
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
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
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
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/
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
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
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
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
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
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
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
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
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
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/
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
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
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
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
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
(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/
.
-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
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/
.
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/
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
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
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
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
. 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
, 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
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
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
;-/ 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
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/
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
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
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
(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
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/
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
)
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
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/
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
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
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
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
-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
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
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
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
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
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 ;-)
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
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/
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
//
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
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
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
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
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
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
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
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
97 matches
Mail list logo