Message to limit the size of window

Answers were Sorted based on User's Feedback



Message to limit the size of window..

Answer / naviyr

WM_SIZE message is received by the window procedure when a
user resizes a window. In order to limite the size of a
window, you could handle the WM_SIZE message appropriately.

Is This Answer Correct ?    6 Yes 2 No

Message to limit the size of window..

Answer / somasundaram

WM_SIZE message to an application is posted after the
resizing operation, instead WM_SIZING should be handled and
the lpRect member can be modified.

Is This Answer Correct ?    3 Yes 0 No

Message to limit the size of window..

Answer / jayendran g

BOOL MoveWindow(
HWND hWnd, // handle to window
int X, // horizontal position
int Y, // vertical position
int nWidth, // width
int nHeight, // height
BOOL bRepaint // repaint option
);

This cud be used in the WM_PAINT event section and in
WM_INITDIALOG section.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Win32API Interview Questions

How will we unable and disable services in win 7 ?

2 Answers   McAfee, Microsoft,


what Message displayed when a window is destroyed

3 Answers  


how radio button is active in dialog box?

1 Answers  


What are the COM components

2 Answers   SunSoft Technologies,


Hi All, i got through he h1b Lotreey in india. US staming in the consulate is pendding . i applied from india for H1b but currently i am in germany for 1 year .i wanted to know can i attend the interview in germany.

1 Answers   MultiVision,






What is System call executable binary file into a process?

0 Answers  


How to load Bitmap at Dialogbakground in an MFC application?

1 Answers   SunSoft Technologies,


What is preemption ? context switching ?

3 Answers  


describe process of creating a new class of windows ??

1 Answers  


what is the difference between MFC and Win32

5 Answers   ArisGlobal, Microsoft,


What Message to limit the size of window?

0 Answers  


What is Function entry for DLL in win3.1?

0 Answers  


Categories