Matt Disher wrote:

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 time to conserve memory on the Palm.

So, do you guys know any way of detecting the Palm characteristics at sync time? I know if I had an application on the Palm leave a bread crumb of information that would work, but I'm not sure what database I'd want to leave it in. And the Palm application would have to have run at least once before my conduit could leverage off the hint.
The answer is yes ;-) To detect the maximum display depths of the attached device, use the feature manager in a conduit:

#define sysFtrNumDisplayDepth 7
DWORD value=0;
SyncReadFeature('psys', sysFtrNumDisplayDepth, &Value);

For a documentation of the return value, see: WinScreenMode()

--
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
Ralf Dietrich                  www: http://www.envicon.com
envi.con KG                    mail:[EMAIL PROTECTED]
Detmolder Str. 60              Tel: +4930-34902670
10713 Berlin/Germany           Fax: +4930-34902671

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to