Would this work:

UInt32          attr;
::WinScreenGetAttribute(winScreenDensity, &attr);

?

"Mike Dodge" <[EMAIL PROTECTED]> wrote:

>The latest Palm OS reference claims that you can call WinScreenGetAttribute 
>with winScreenResolutionX (or winScreenResolutionY) as the WinScreenAttrType 
>and you will get the number of pixels per inch along the screen's x (y) axis.
>
>Unfortunately, when I make this call, it returns error -1 and a random value 
>for the number of pixels per inch.  
>
>Has anyone else experienced this and found a workaround?  Does anyone know of 
>another way to get the number of pixels per inch from a device?
>
>Thanks.
>-- 
>For information on using the PalmSource Developer Forums, or to unsubscribe, 
>please see http://www.palmos.com/dev/support/forums/
>


-- 
Thanks,

Paul Reger


__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

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

Reply via email to