Discussion:
Resize Active Document Servers CInPlaceFrame when Activated in a Container
(too old to reply)
s***@gmail.com
2006-07-31 12:59:58 UTC
Permalink
Hi All,

I need help desperately. I have created an Active Document Server which
is a Full Server.
It has a CFormView with some UI elements on it.
The Size of the CFormView is determined once my CInPlaceFrame is
already created.
The Container sends a WM_COPYDATA to the CInPlaceFrame from which a
Config file is opened and the Window Size and the position is taken
from this file.

Hence , I want to resize my CInPlaceFrame window as per the window size
and position received.

I am not able to find any way in which I can do this. I even tried
SetWindowPos for the CFormView but no luck. Can anybody suggest me a
way to solve this problem.

Please help....


Thanks and Regards
SSA.
Ajay Kalra
2006-08-09 19:47:13 UTC
Permalink
Post by s***@gmail.com
I need help desperately. I have created an Active Document Server which
is a Full Server.
It has a CFormView with some UI elements on it.
The Size of the CFormView is determined once my CInPlaceFrame is
already created.
The Container sends a WM_COPYDATA to the CInPlaceFrame from which a
Config file is opened and the Window Size and the position is taken
from this file.
Hence , I want to resize my CInPlaceFrame window as per the window size
and position received.
I am not able to find any way in which I can do this. I even tried
SetWindowPos for the CFormView but no luck. Can anybody suggest me a
way to solve this problem.
All you seem to be asking is how to resize your view. Is this a MDI or
SDI app. For MDI app, you will need to resize (using SetWindowPos)
parent frame of your view. For SDI, your mainframe needs to be sized if
you want to change the view size.

---
Ajay

Loading...