Hi everyone!

I need some help. I've created a FormView dialog with a narrow listbox on
the right-hand edge and stretching the full height of the form.

In the OnInitialUpdate handler, I include the following lines to prevent
the scrollbars from appearing:

CSize sizeTotal;
sizeTotal.cx = 0;
sizeTotal.cy = 0;
SetScrollSizes(MM_TEXT, sizeTotal);

It works perfectly on my device but the emulator still shows the
scrollbars. This makes me wonder whether this method will be reliable on
other devices and if there's a better way to do it. I've also tried using
the EnableScrollBarCtrl() methods but I'm not sure if they're supported on
PocketPC. They compile without errors but don't appear to do anything and
there's no mention of them anywhere in the online help.

I'd be grateful for any suggestions.

Thanks.

Hameg.