Solved

Resizing the child window in MDI application.

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 108
How to match SAS datasets by multiple key variables and then rename and create new variables? 2 97
sum13 challenge 24 120
scoreUp challenge 14 63
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

808 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