Thanks Ben Thanks Albert for your reply , 
 But I am creating a bitmap dynamically(with dim 160x160), How do i do it.

I tried using BmpSetDensity(bmpPtr,kDensityDouble) API but it didnt work.

I also tried using the following two API. 
WinScreenMode(winScreenModeSet,&scrw, &scrh, &scrd,&col);
WinSetCoordinateSystem(kCoordinatesNative); 
where scrw=320; //screen res.
      scrh=320;
      scrd=16; 
but in vain....

 Any more suggestions .. Please...


----- Original Message -----
From: Ben Combee <[EMAIL PROTECTED]>
Date: Thu, 13 May 2004 11:25:10 -0500
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Subject: Re: screen resolution??

> At 04:47 AM 5/13/2004, you wrote:
> >I have a Tungsten|E PDA and I want to display an image of size 160*160 
> >onto its screen. I want this image to be displayed in the centre leaving 
> >some space around its borders.
> >
> >But this image size (160*160) eats up the complete screen area, not 
> >allowing space even for user interface elements.
> >
> >My question : Is there any resoultion setting for the screen. If yes how 
> >can i do it.
> 
> Make a bitmap family, with the single density member set to 80x80, and the 
> double-density member set to your 160x160 bitmap.  Display that in the 
> center of the screen.
> 
> Or, read up on high-density bitmap manipulation at
> http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_faqid=341 
> 
> 
> -- Ben Combee, DTS technical lead, PalmSource, Inc.
>     Read "Combee on Palm OS" at http://palmos.combee.net/
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
> http://www.palmos.com/dev/support/forums/

-- 
______________________________________________
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com 
Check out our value-added Premium features, such as an extra 20MB for mail storage, 
POP3, e-mail forwarding, and ads-free mailboxes!

Powered by Outblaze

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

Reply via email to