Message to limit the size of window?
Submitted by: AdministratorBOOL 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.
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.
Submitted by: Administrator
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.
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.
Submitted by: Administrator
Read Online Win32API Job Interview Questions And Answers
Top Win32API Questions
☺ | Write About send message and post message? |
☺ | What is Win32? |
☺ | 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? |
☺ | What is GDI object? |
☺ | In Win32 application can we use CString datatype? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |