Solved

Resizing the child window in MDI application.

Posted on 1998-11-17
1
201 Views
Last Modified: 2013-11-20
I have an application where in I create multiple child windows and paint a bitmap on each of the frame. When I create the child window how can I resize it to the size of the bitmap.(In general how to set the size of the child window on creation)
0
Comment
Question by:rharsha
1 Comment
 

Accepted Solution

by:
jhendrix earned 50 total points
ID: 1324823
Use the MoveWindow() or SetWindowPos() functions of the CWnd base class in the OnInitDialog() call.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Host to IP 7 77
Expand data scrubbing tool 13 32
method notes when mouse over in eclipse 5 83
Execute multiple curl cmds with sleep and send output to file 10 89
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now