Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How To Restrcting Resizeing of a view

Posted on 2000-02-14
1
Medium Priority
?
177 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 200 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .

824 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