Solved

Resizing the child window in MDI application.

Posted on 1998-11-17
1
199 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

746 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

8 Experts available now in Live!

Get 1:1 Help Now