Hi,

I used the CommandBar_Create function in evc4 to create a commandbar, but it
is positioned at the top of the window.

Is there any way to move it to the bottom?

Thanks in advance
Nelson

Re: Moving commandbar by Mobile

Mobile
Mon Jan 05 14:20:34 CST 2004

CommandBar_Create returns an HWND, which can be used with many Win32 APIs.
Use SetWindowPos to move the window to the location you want.

--
Jon Vincent
Software Development Engineer
Mobile Devices Product Group
This posting is provided "AS IS" with no warranties, and confers no rights.


"Nelson" <doomer999@hotmail.com> wrote in message
news:%23f6S54h0DHA.1684@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I used the CommandBar_Create function in evc4 to create a commandbar, but
it
> is positioned at the top of the window.
>
> Is there any way to move it to the bottom?
>
> Thanks in advance
> Nelson
>
>



Re: Moving commandbar by Nelson

Nelson
Mon Jan 05 22:32:53 CST 2004

Thanks for the reply.

But I tried using both the SetWindowPos and MoveWindow functions and nothing
happens. The commandbar just stays at the top stubbornly.

Is there any other ways?

Thanks,
Nelson



"Mobile Devices Community Team [MSFT]" <mddcomtm@microsoft.com> ¦b¶l¥ó
news:eNvLil80DHA.2184@TK2MSFTNGP12.phx.gbl ¤¤¼¶¼g...
> CommandBar_Create returns an HWND, which can be used with many Win32 APIs.
> Use SetWindowPos to move the window to the location you want.
>
> --
> Jon Vincent
> Software Development Engineer
> Mobile Devices Product Group
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> "Nelson" <doomer999@hotmail.com> wrote in message
> news:%23f6S54h0DHA.1684@TK2MSFTNGP12.phx.gbl...
> > Hi,
> >
> > I used the CommandBar_Create function in evc4 to create a commandbar,
but
> it
> > is positioned at the top of the window.
> >
> > Is there any way to move it to the bottom?
> >
> > Thanks in advance
> > Nelson
> >
> >
>
>



Re: Moving commandbar by r_z_aret

r_z_aret
Wed Jan 07 08:07:31 CST 2004

On Sun, 4 Jan 2004 01:22:51 +0800, "Nelson" <doomer999@hotmail.com>
wrote:

>Hi,
>
>I used the CommandBar_Create function in evc4 to create a commandbar, but it
>is positioned at the top of the window.
>
>Is there any way to move it to the bottom?

Well:
You could program for Palm-size PC. Then your programs would run on
Pocket PCs in emulation mode, with application menu(s) at top and Task
Bar at bottom.

>
>Thanks in advance
>Nelson
>
>

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

Robert E. Zaret
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com