Sizing Child Window
-
I am currently writing an app that uses multiple document types. When the user creates a new file, I would like the size of the generated child window to depend on the document type. If anyone has any suggestions on how to accomplish this, please let me know.
-
I am currently writing an app that uses multiple document types. When the user creates a new file, I would like the size of the generated child window to depend on the document type. If anyone has any suggestions on how to accomplish this, please let me know.
-
We need a bit more information. Are you using CFormView? What criteria do you want to use to determine the size used for each view?
I figured one way out already, but thanks for replying. The way I am doing it I have a seperate Child Frame class for each document type. Then i just modify the window's size in the Child Frame's PreCreateWindow function. If you know of a better way to accomplish this, though, feel free to let me know! Thanks again!
-
I figured one way out already, but thanks for replying. The way I am doing it I have a seperate Child Frame class for each document type. Then i just modify the window's size in the Child Frame's PreCreateWindow function. If you know of a better way to accomplish this, though, feel free to let me know! Thanks again!