Solved

How To Restrcting Resizeing of a view

Posted on 2000-02-14
1
171 Views
Last Modified: 2013-11-20
I have devloped MDI app. using aPPwiz my View class are drived from CFormView now i want to restrct the user from resizing the window.
0
Comment
Question by:kakamna
1 Comment
 
LVL 1

Accepted Solution

by:
ScottyDawg earned 50 total points
ID: 2518195
Hi, you can restrict the size of the framewindow using the following:

BOOL CMainFrame::PreCreateWindow
(CREATESTRUCT& cs)
{
      // TODO: Modify the Window class or styles here by modifying
      //  the CREATESTRUCT cs
      cs.style &= ~(WS_THICKFRAME);  

      return CFrameWnd::PreCreateWindow(cs);
}
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ODBC Connection Logging, ADO.NET 6 64
not able to insert into temp table 68 162
deburging in oracle form 12 98
Message not shown 5 49
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…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

813 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

15 Experts available now in Live!

Get 1:1 Help Now