How to retrieve the size and position of the initial document of the MDI interface of an MFC application?

Luigi Tofano 20 Reputation points
2025-05-12T22:26:33.08+00:00

So as for the MFC MDI application that is generated by the application wizard of Visual Studio... How and where in code should the size and position of the initial document that is open in the MainFrm when the main window of the application is opened and shown be gotten?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,932 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.