From: ragi.reddy on
Hi,

I'm using a WC_HTML viewer control on WinCE, for a handheld device.

I'm not able to disable the horizontal scrollbar (In other words, make
the text wrap around within the window).

Is there any way in which i could do this.

Thanks in advance!
Ragi

From: Abus on
where can i find this " WC_HTML viewer control " and what does it do?
<ragi.reddy(a)gmail.com>, haber iletisinde sunlari
yazdi:1125985909.663364.327360(a)g47g2000cwa.googlegroups.com...
> Hi,
>
> I'm using a WC_HTML viewer control on WinCE, for a handheld device.
>
> I'm not able to disable the horizontal scrollbar (In other words, make
> the text wrap around within the window).
>
> Is there any way in which i could do this.
>
> Thanks in advance!
> Ragi
>


From: Steve Meredith [MS] on
Try using the MobileOptimized meta tag in your HTML. This tag says, "the web
page author has optimized this page for a mobile device with a screen of
this width, so don't give me any scroll bars."


This was introduced in Windows Mobile 2003. For Pocket PC, the tag would
look like this:


<head>
<meta name="MobileOptimized" content="240">
</head>

--
-Steve [MS]
This posting is provided "AS IS" with no warranties, and confers no rights.



<ragi.reddy(a)gmail.com> wrote in message
news:1125985909.663364.327360(a)g47g2000cwa.googlegroups.com...
> Hi,
>
> I'm using a WC_HTML viewer control on WinCE, for a handheld device.
>
> I'm not able to disable the horizontal scrollbar (In other words, make
> the text wrap around within the window).
>
> Is there any way in which i could do this.
>
> Thanks in advance!
> Ragi
>


From: Alex Yakhnin [MVP] on
When creating the htmlviewer window you can apply the HS_NOSCROLL style to
it. You can also try to remove WS_HSCROLL style as well.
--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org


"ragi.reddy(a)gmail.com" wrote:

> Hi,
>
> I'm using a WC_HTML viewer control on WinCE, for a handheld device.
>
> I'm not able to disable the horizontal scrollbar (In other words, make
> the text wrap around within the window).
>
> Is there any way in which i could do this.
>
> Thanks in advance!
> Ragi
>
>
From: ragi.reddy on
Hi,

Steve:
The method works only for Pocket PC / Windows Mobile 2003 onwards.
Alternatively, I could use HS_NOFITTOWINDOW when i create the window.

However, I am working on Win CE. nET, and this does not work :(

Do you have any suggestions ?

Alex:
This does not work for the HTML Viewer control, on Win CE. NET.

Thanks for your replies!!!!
Best Wishes
Ragi