On Fri 24 July 2009 7:57:43 pm Guilherme Campos Hazan wrote:
> Hi,
>
> Pardon if this is not the right forum (please indicate me the right one).
>
> I'm creating a window using
>
> mainHWnd = CreateWindow(exeName, main, WS_VISIBLE, 0,0, 320, 320, NULL,
> NULL, instance, NULL );
>
> If i do:
>
> hdc = GetDC(mainHWnd);
> alert("%d,%d",GetDeviceCaps(SCREEN_EX(screen)->dc,
> HORZRES),GetDeviceCaps(SCREEN_EX(screen)->dc, VERTRES));
>
> ... it returns me 240x240.
>
> What i have to do to create a window in the native 320x320 resolution?
>
> thanks
>
> guich
This is a PalmOS developers forum, not WinMo...
--
---
Ryan Rix
(623)-826-0051
<Overfiend> partycle: I seriously do need a vacation from this
package. I actually had a DREAM about introducing a
stupid new bug into xbase-preinst last night. That's a
Bad Sign.
-- Seen on #Debian shortly before the release of Debian 2.0
http://hackersramblings.wordpress.com | http://twitter.com/phrkonaleash
XMPP: [email protected] | MSN: [email protected]
AIM: phrkonaleash | Yahoo: phrkonaleash
IRC: [email protected]/#srcedit,#teensonlinux,#plugaz and
countless other FOSS channels.
signature.asc
Description: This is a digitally signed message part.
