Solved

How To Restrcting Resizeing of a view

Posted on 2000-02-14
1
172 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Process filename extension 3 196
How to know only "File created" with EventLog 3 35
has77  challenge 9 90
Excel file not created as expected 7 79
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 …
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.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

830 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