UInt32 processorType;
UInt32 companyID;
UInt32 deviceID;
UInt32 halID;
// get the processor type
FtrGet(sysFileCSystem, sysFtrNumProcessorID, &processorType);
FtrGet(sysFtrCreator, sysFtrNumOEMCompanyID, &companyID);
FtrGet(sysFtrCrea
Hi, Franco.
You can use EvtGetPen()
Damir
FF> I'm trying to make an app that will display pen coordinates in OS 4 .
FF> I've been reading the API reference but I'm still not getting it.
FF> What order uses the OS to work with pen coordinates?
FF> there seems to be
You can got the device list from:
http://homepage.mac.com/alvinmok/palm/codenames.html
Damir
EF> In PalmOS, a call to FtrGet(...) can gets you the processor currently used.
EF> The problem with that function is that it only returns the processor
EF> generation (ARM920T, DragonBall EZ, ARM
Hi, Wang.
I have an IR adapter connected to my PC (Win2K), and I can bean/receive
data with all my PDA (T|T, T|3, SONY NX73, T|E ) with no problems.
Which OS do you have on the PC?
Damir.
WX> Hi,
WX>I have an idea that I connect a PC infrared adapter with
WX> the PC's se
is in the MainFormButton1 bounds then do your
//code, otherwise skip it
break;
}
Damir.
K> so how can I correct the code to run penDownEvent ?
K> I want to select the button and then run the code of penDownEvent
K> thanks!
K> "Damir" <
Hi KEN,
Following your code, line 10 will handle ctlSelectEvent for
MainFormButton1 control only, you never get penDownEvent this way.
You see, one event cannot have eventP->eType to be equal to
ctlSelectEvent and penDownEvent at the same time.
You need to change code logic.
Damir.
Have a look at
http://www.palmgear.com/software/showsoftware.cfm?prodid=52412
nice looking tree view
HS> Hi all,
HS> how can i use a tree-view or a tree-control in PALM OS?
HS> Is it possible or must i develop a tree-view for myself?
HS> Thx for answering
HS> Bye
HS> Harry
--
For informati
Hi Luc,
I am using PalmOS HiRes this way:
case penDownEvent:
{
Int16 penX = eventP->screenX * 2;
Int16 penY = eventP->screenY * 2;
}
Damir
LLB> My application displays a zoomabl
Hello, Brian.
Try this:
unsigned char thisone[] = "";
Damir
B> Good Day,
B> Has anyone encountered a problem when copying a data of type
B> unsigned characters to Char*?
B> example:
B> unsigned char* thisone= "";
B> unsigned lo
that time to the current time. On the mainloop, frequently
TN> check to see if it is time out or not,
TN> if time out, then queue the close event to exit the program.
You better to set:
EvtGetEvent(&event, xxx);
where xxx - is number of system ticks.
Then you need to catc
into 16 bit?
Damir mailto:[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Can anybody help me to play PCM sound from resource on SONY NX?
My device does not have "Sound Stream feature", so I can't use
SndPlayResource().
Damir.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
;m still trying to find a way to temporarily turn off sounds (like those
MWS> that happen when you press a button) during a small part of my app and have
MWS> posted 4 times with no luck...I know someone out there must have some good
MWS> ideas?
MWS> thanks all.
--
Damir
Hi,
you can use this
MemHandle nameH = MemHandleNew(dlkUserNameBufSize);
char* nameP = (char*)MemHandleLock(nameH);
// Obtain the user's name
DlkGetSyncInfo(NULL, NULL, NULL, nameP, NULL, NULL);
// ... Do something with the user name here ...
// Now
more specific question.
Damir.
RDdO> Hy all!!
RDdO> I would like to draw a graphical progress bar that will show the progress of
RDdO> a process that will take some time to complete. I was using the Progress
RDdO> Dialog to do this, but i think that using a graphical progress bar will be
RDd
Hi, Boris.
Set Usable in resource, and MinVal, MaxVal to 0;
Calling SclSetScrollBar() should be enough to make it shown.
Damir.
BE> I have a relatively simple table where all cell are custom drawn.
BE> Sometimes the number of records to display is minimal -- so no need
BE> for
Hi, Sri.
Do you use List Control?
BSRB> Hello,
BSRB> I have a list with some of the items which does not fit
BSRB> in one line. So, I want to show them as wrapped in multiple
BSRB> lines.
BSRB> Can anybody help me how to do this?
--
For information on using the Palm Developer Forums, or to un
way
RZR> to finesse the needed red/green/blue values into the 565 form in C
RZR> code?
I am using encoding to 5-6-6:
//make 5-6-5 bitmap coding (16bit)
//UInt8 R,G,B
R = (R-7) / 8;
G = (G-3) / 4;
B = (B-7) / 8;
//put all colors to one value
ay. If you find it, let me know.
Currently I sync TungstenC, Kyocera and SONY NX73
I have Hot Sync Manager v.4.1.0, and Palm Desktop 4.1
Damir.
GA> I recently purchased a Sony Clie PEG TG-50 so that I could debug a problem
GA> known to occur on that device (my previous post). I already have a
Hi, Mike.
I am using another method:
1. Make my offscreen window
2. When I need to draw, I set DrawWindow to my window
3. Make drawing all I need
4. Set DrawWindow back to screen window
5. Copy my window to screen window
It works fine.
Damir.
MM> Hi,
MM> I am tyring to write
with phone unit and device locks-up.
And my question is. How can I restrict OS to work with another pice of
code, while I am making "real-time" task for couple of mSec?
Thank you in advance.
Damir.
--
For information on using the Palm Developer Forums, or to unsubscribe, please
21 matches
Mail list logo