Scott Rulong wrote:
>
> 1. Is there any way to control the LCD backlight. I see no relevent
> mentions in the API docs, but I know it can be done based on questions in
> the devzone/faqs.
Look for HwrBacklight() in hardware.h.
> 2. Is there a good source describing how to control / modify the
> behaviour of the "silk-screen" area? I saw the EvtGetPenBtnList() API
> call but no real details on how to interpret the returned list. I'd like
> to be able to put different "buttons" in the silk-screened area.
EvtGetPenBtnList returns an array of rects pointing to the 4
locations of the silk screen area. (There might be more on the
Japanese Workpad.) I think the order goes: Apps, Menu, Calc,
Find (I may be wrong). A better alternative might be to use
EvtProcessSoftKeyStroke.
> 3. Finally, can someone point me in the right direction on uploading
> .prc files. I'd like to be able to "install" applications from my PC app
> without involving the Hot Sync Manager.
You can copy the .prc into the user's Install directory, then
flip a registry bit. I tried an instal as a test, and the
"Install25231" key was added to the
[HKEY_CURRENT_USER\Software\U.S. Robotics\Pilot Desktop\HotSync
Manager]
branch and set to "00000001". YMMV; your branch may also be
...3Com\Palm Desktop\
instead.
Regards,
Daniel.