(MFC) Cannot disable scrollbar in CWebBrowser object?

I have created a browser object in my MFC application, but I want to disable the vertical and horizontal scroll bar. The navigate function works fine butEnableScrollBar doesn't seem to respond to the disabling command (ESB_DISABLE_BOTH). Here's how I used the code:

----------------------------

CWebBrowser testBrowser;

COleVariant noflags;
testBrowser.EnableScrollBar(SB_BOTH, ESB_DISABLE_BOTH);
testBrowser.Navigate("testpage.htm",&noflags,&noflags,&noflags,&noflags);

----------------------------

Please let me know what I'm doing wrong here, thanks a lot!
[633 byte] By [darbien] at [2007-11-20 0:13:37]