Hi All,
I have one appliaction which is meant for PocketPC devices.

the GUI which i have made runs fine in an some versions of IPAQ(hp
iPAQhx2410, hp iPAQ h6365, hp iPAQhw6965 etc.... ), which has got 240 X

320 pixel size and OS version is winCE4.21.


Then i tried the same application on a later version of iPAQ with 240 X

240 pixel size, it shows only a part of it.


the GUI is not full on the screen.
means half the screen is only shown along with the menu bar.


am using the following :


RECT rc;
GetWindowRect(hWnd, &rc);
rc.bottom -= MENU_HEIGHT;
if (hwndCB)
MoveWindow(hWnd, rc.left, rc.top, rc.right, rc.bottom,
CVX_BOOL_FALSE);


How to rectify this problem?
thanks in advance
Sabyasachi

RE: POCKET PC GUI issue by hfrmobile

hfrmobile
Wed Nov 22 00:50:01 CST 2006

Which value has hWnd (maybe you try GetDesktopWindow() handle)?

"Sabyasachi" wrote:

> Hi All,
> I have one appliaction which is meant for PocketPC devices.
>
> the GUI which i have made runs fine in an some versions of IPAQ(hp
> iPAQhx2410, hp iPAQ h6365, hp iPAQhw6965 etc.... ), which has got 240 X
>
> 320 pixel size and OS version is winCE4.21.
>
>
> Then i tried the same application on a later version of iPAQ with 240 X
>
> 240 pixel size, it shows only a part of it.
>
>
> the GUI is not full on the screen.
> means half the screen is only shown along with the menu bar.
>
>
> am using the following :
>
>
> RECT rc;
> GetWindowRect(hWnd, &rc);
> rc.bottom -= MENU_HEIGHT;
> if (hwndCB)
> MoveWindow(hWnd, rc.left, rc.top, rc.right, rc.bottom,
> CVX_BOOL_FALSE);
>
>
> How to rectify this problem?
> thanks in advance
> Sabyasachi
>
>

Re: POCKET PC GUI issue by Scott

Scott
Wed Nov 22 02:40:07 CST 2006

"Sabyasachi" <sabyamishra@gmail.com> wrote:
>Hi All,
>I have one appliaction which is meant for PocketPC devices.
>[...]

Did you try my suggestion from the follow-up to your post in
comp.os.ms-windows.programmer.win32?

--
--------- Scott Seligman <scott at <firstname> and michelle dot net> ---------
The most painful state of being is remembering the future, especially
one which you know will never come.
-- Soren Kierkegaard

Re: POCKET PC GUI issue by Sabyasachi

Sabyasachi
Thu Nov 23 03:42:23 CST 2006

Hi Scott,
thanks for the input.
am trying that now.
actually i have created a window,
and on top of that opening a dialog box.
so in that dialog procedure i will put these things and see..

will update the results soon.
Sabyasachi

hfrmobile wrote:
> Which value has hWnd (maybe you try GetDesktopWindow() handle)?
>
> "Sabyasachi" wrote:
>
> > Hi All,
> > I have one appliaction which is meant for PocketPC devices.
> >
> > the GUI which i have made runs fine in an some versions of IPAQ(hp
> > iPAQhx2410, hp iPAQ h6365, hp iPAQhw6965 etc.... ), which has got 240 X
> >
> > 320 pixel size and OS version is winCE4.21.
> >
> >
> > Then i tried the same application on a later version of iPAQ with 240 X
> >
> > 240 pixel size, it shows only a part of it.
> >
> >
> > the GUI is not full on the screen.
> > means half the screen is only shown along with the menu bar.
> >
> >
> > am using the following :
> >
> >
> > RECT rc;
> > GetWindowRect(hWnd, &rc);
> > rc.bottom -= MENU_HEIGHT;
> > if (hwndCB)
> > MoveWindow(hWnd, rc.left, rc.top, rc.right, rc.bottom,
> > CVX_BOOL_FALSE);
> >
> >
> > How to rectify this problem?
> > thanks in advance
> > Sabyasachi
> >
> >


Re: POCKET PC GUI issue by r_z_aret

r_z_aret
Fri Nov 24 11:11:56 CST 2006

In my response to your identical question in
comp.os.ms-windows.programmer.win32, I posted a reference to source
code for several relevant functions. Did you try them?


On 21 Nov 2006 21:02:48 -0800, "Sabyasachi" <sabyamishra@gmail.com>
wrote:

>Hi All,
>I have one appliaction which is meant for PocketPC devices.
>
>the GUI which i have made runs fine in an some versions of IPAQ(hp
>iPAQhx2410, hp iPAQ h6365, hp iPAQhw6965 etc.... ), which has got 240 X
>
>320 pixel size and OS version is winCE4.21.
>
>
>Then i tried the same application on a later version of iPAQ with 240 X
>
>240 pixel size, it shows only a part of it.
>
>
>the GUI is not full on the screen.
>means half the screen is only shown along with the menu bar.
>
>
>am using the following :
>
>
>RECT rc;
>GetWindowRect(hWnd, &rc);
>rc.bottom -= MENU_HEIGHT;
>if (hwndCB)
> MoveWindow(hWnd, rc.left, rc.top, rc.right, rc.bottom,
>CVX_BOOL_FALSE);
>
>
>How to rectify this problem?
>thanks in advance
>Sabyasachi

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com