Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

win 3.1 supports which type of multi tasking?

2 Answers   TISL,


describe process of creating a new class of windows ??

1 Answers  


what is the stack size in win 32 program

0 Answers  


About GDI object?

2 Answers  


how radio button is active in dialog box?

1 Answers  


What is preemption ? context switching ?

3 Answers  


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??

2 Answers  


What Message to limit the size of window?

0 Answers  


Message to limit the size of window

3 Answers  


explain WM_PAINT message ?????

0 Answers  


how to Initialize contents of a dialog?

2 Answers   TCS,


How to load Bitmap at Dialogbakground in an MFC application?

1 Answers   SunSoft Technologies,


Categories