Hi,
this line:
if( event.data.ctlSelect.pControl-style == buttonCtl)
makes simulator say error68k.c: Line: 1568, Read from ControlType (id 4001)
off: 16, size: 1, val: 0fe). event.eType is for sure ctlSelectEvent. Hint?
Regards,
--
Daddy, what Formatting drive C: means?...
Marcin
Hi Borszczuk,
Is it only that field which you can't access? Perhaps the simulator is
enforcing the no access to internal structures rule?
Regards,
On 15/02/07, Borszczuk [EMAIL PROTECTED] wrote:
Hi,
this line:
if( event.data.ctlSelect.pControl-style == buttonCtl)
makes simulator
Pinus Alba wrote:
Is it only that field which you can't access? Perhaps the simulator is
enforcing the no access to internal structures rule?
Yep, I suspect the same, however I am unable to find any settings for this
behaviour. I'd probably ignore that, but problem is that it that this if()
Hi Borszczuk,
Not quite sure what you are trying to do but does CtlGlueGetControlStyle
help?
Regards,
On 15/02/07, Borszczuk [EMAIL PROTECTED] wrote:
Pinus Alba wrote:
Is it only that field which you can't access? Perhaps the simulator is
enforcing the no access to internal structures
Pinus Alba wrote:
Not quite sure what you are trying to do but does CtlGlueGetControlStyle
help?
Yes, Glue helps. The question remains why simulator was so strict to force
me to use glue.
Regards,
--
Daddy, what Formatting drive C: means?...
Marcin
Do you know the process the system goes through to cancel an alarm? The reason
I ask is that I set an alarm function:
SetSysProcAlarm((AlmAlarmProcPtr)HandleAlarm, 0x8001,
RECHECK_TIME_WHILE_APP_RUNNING);
void HandleAlarm(UInt16 almProcCmd, SysAlarmTriggeredParamType *paramP)
{
Sorry the HandleAlarm function is:
void HandleAlarm(UInt16 almProcCmd, SysAlarmTriggeredParamType *paramP)
{
if(paramP-purgeAlarm == true)
return;
FrmGotoForm(RefreshInboxForm);
SetSysProcAlarm((AlmAlarmProcPtr)HandleAlarm, 0x8001,
RECHECK_TIME_WHILE_APP_RUNNING);
}
(return, not break)
--
add readonly text is not problem. instead of storing bitmap pointer to gadget
data make some structure with bitmap and text and change drawing function
if you want to mix it with real writable field then you are in trouble
btw if you put label and gadget to same place on screen they are drawn in
Nevermind. I found the issue - unrelated.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
Hello.
Thank you guys. pnoJpegLib looks great, and should be possible to change it
to work in my way.
I have studied its sources a bit, and now i'm at this point:
-i have to run VFS functions from ARM code, but dont know how to do this. I
havent found any examples on the NET.
Can you provide me
you will find lot of information about it in pno-forum
and i think pnojpeglib already uses palm api from arm code so you can see how it
is done there, with vfs it should be similar...i hope
Marcin wrote:
Hello.
Thank you guys. pnoJpegLib looks great, and should be possible to change it
to
-i have to run VFS functions from ARM code, but dont know how to do this.
To access any Palm API from PNO, you need to add their corresponding Wrapper
funtions and prototypes in files : PACEInterface.h PACEInterface.cpp
You can contact me in priv to get the same files.
Regards,
Sagar Mody
Marcin [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
snip
So, conclusion was to use jdpalm library.
I must admit, that it's a great lib, but now i have to make the
decompression much faster.
snip
jcpalm and jdpalm where my small contribution to this comunity.
I'm
Lionscribe wrote:
Format the string just like you would format it in Google Map itself.
Best way is,
1000 Main Street, Anytown, AnyState, USA
You can use Zip-Codes, but then make sure it's correct, for even if it's in
the same city, it will fail with an incorrect zip code
LionScribe
anyone
Hi,
I have a function in which i am taking the eventPtr as a parameter from
mainForm here i want to generate a new event in that function.
so that i can call menu event from that function.
Below is the code that i have written to generate event
MemSet(event, sizeof(EventType),
On 2/15/07, Rabbi [EMAIL PROTECTED] wrote:
MemSet(event, sizeof(EventType), 0);
should be:
MemSet(event, sizeof(EventType), 0);
your passing the address of a pointer - which you should NOT be passing.
--
// Aaron Ardiri
--
For information on using the
Mostly because in OS5 the controlType structure got rearranged
slightly so things are not where the 68k docs say they are
(furthermore they are in little-endian format).
On 2/15/07, Borszczuk [EMAIL PROTECTED] wrote:
Pinus Alba wrote:
Not quite sure what you are trying to do but does
I have seen the same thing than Alex Pruss...
.. Original Message ...
On Thu, 15 Feb 2007 05:25:44 - Alexander R. Pruss
[EMAIL PROTECTED] wrote:
In my experience, removing resources from one's app is risky. I used to
have problems with the app disappearing completely.
--
For
The right way to do it is to have the extra resources in a seperate database,
which the user should install if needed, though it get's complicated if user
runs program from card.
LionScribe
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see
You are strongly encouraged NOT to access the structure members directly.
Use accessors (when provided).
From the Programmer's Reference:
*
ControlType Struct
Purpose *The ControlType structure defines the type and characteristics of
a control. It is defined as follows:
*
Prototype *typedef
I'm a newbie too and PODS seems to be the most complete and user-friendly
tool. Unfortunately is easier to find books and sample for the other IDE.
chr
On 2/8/07, David Thacker [EMAIL PROTECTED] wrote:
Dina,
Yes, there are many decent PalmOS development tools that are suitable for
novice
What I've done in the past is 1) close all forms and prepare to exit (no
more event servicing), 2) clone a minimum copy of myself, 3) register the
clone and send it a notification, and 4) exit. The clone receives the
notification and 1) marks itself as recycleable, 2) does whatever work is
needed,
Thanks Aaron Ardiri i eliminated the error.
Actullay i wanted to open whole menu list of a menu bars
eg: suppose i have options menu in which i have Cut,Copy,Paste.
Now i have to open options menu such that the list of cut ,Copy paste is been
seen instead now i m able to open a single event
Hi,
I am able to set the focus on forms using POSE and Garnet 5.4 Sim, but the
focus is grabbed on the Lifedrive sim, and placed on the Done button. Is this a
feature, and how do I override it?
Thanks
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see
Hi All,
Once again having a problem with the stub application, please first go
through the requirement (I will ask the question on the basis of the
requirement):
1. Once we download the application the stub is no longer visible in the
application menu.
2. Once the application is
On 2/15/07, Garth Wimbush [EMAIL PROTECTED] wrote:
Hi,
I am able to set the focus on forms using POSE and Garnet 5.4 Sim, but the
focus is grabbed on the Lifedrive sim, and placed on the Done button. Is
this a feature, and how do I override it?
You're seeing the five-way object navigation
26 matches
Mail list logo