Looks like a bug, You can do a

WinGetDisplayWindow();
WinGetBitmap();
BmpGetDimensions();
to get correct values.



"Magnus Berg" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi
>
> One of the first things done when starting MMPlayer is setting the
> screen depth to 16 bits and asking about the rowBytes using:
>
> WinScreenGetAttribute(winScreenRowBytes, &rowBytes);
>
> The result is sane and very usable (640) when the app is started on a
> T|T3 (real device or simulator) in portrait mode. But if I set it to
> landscape mode before starting, the rowBytes value is 56!
>
> I've checked all other values from that function (width, height, depth,
> density, pixelFormat) and all seems correct except this silly rowBytes
> value. I also just checked the PluggedIn area but there's no info about
> any specific trick regarding landscape mode on the T|T3. For example, I
> don't know if the screen orientation is set using hardware or software,
> and I really need to know this when playing fullscreen video.
>
> Anybody know anything you can share? Or will this info be included in
> the rumored T|T3 SDK?
>
> Magnus
>
>
>



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

Reply via email to