Message to limit the size of window
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
In Win32 application can we use CString datatype?
win 3.1 supports which type of multi tasking?
what is use of the createWindow object
sql query for delete duplicate records in sql datadbase
what is the difference between MFC and Win32
5 Answers ArisGlobal, Microsoft,
what are the design patterns of an MFC application
5 Answers Samsung, SunSoft Technologies,
What is Win32?
14 Answers AAA, Genpact, HCL, Wipro,
explain WM_PAINT message ?????
What is System call executable binary file into a process?
how to Initialize contents of a dialog?
In win32 application if defining a variable of CString then it gives the error "CString:Undeclared identifier" how to solve the problem? What headerfile need to include??
Function entry for DLL in win3.1