I'm really, really stuck hard on this.  Can anyone suggest anything to help?

I need the current dots per inch from the display in order to properly render 
some graphics - whose dimensions are in twips (a twip is 1 / (20 X 72) - th 
part of an inch).

>For some inexplicable reason, both of the following calls to 
>::WinScreenGetAttribute() returns 65535 on the T3 simulator.
>
>65535 which is NOT a legitimate return value for it.
>
>What am I doing wrong?
>
>UInt32 valueX=0,valueY=0;
>Err ex = ::WinScreenGetAttribute( winScreenResolutionX, &valueX );
>Err ey = ::WinScreenGetAttribute( winScreenResolutionY, &valueY );
>
>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