ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Programming Languages  >>  VC++  >>  Win32API
 
 


 

 
 MFC interview questions  MFC Interview Questions
 ATL interview questions  ATL Interview Questions
 COM DCOM interview questions  COM DCOM Interview Questions
 Win32API interview questions  Win32API Interview Questions
 ActiveX interview questions  ActiveX Interview Questions
 VC++ AllOther interview questions  VC++ AllOther Interview Questions
Question
Message to limit the size of window
 Question Submitted By :: Tribhuvan Sharma
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Message to limit the size of window
Answer
# 1
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 ?    0 Yes 0 No
Jayendran G
 
  Re: Message to limit the size of window
Answer
# 2
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 ?    0 Yes 0 No
Naviyr
 
 
 
  Re: Message to limit the size of window
Answer
# 3
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 ?    0 Yes 0 No
Somasundaram
 

 
 
 
Other Win32API Interview Questions
 
  Question Asked @ Answers
 
What are the COM components SunSoft-Technologies1
how to Initialize contents of a dialog?  2
What is Win32? Wipro5
win 3.1 supports which type of multi tasking?  2
In Win32 application can we use CString datatype?  2
what is the function to repaint a window immediately?  2
Message to limit the size of window  3
what Message displayed when a window is destroyed  3
Function entry for DLL in win3.1  2
write About send message and post message  4
what is the difference between MFC and Win32 Microsoft2
what are the design patterns of an MFC application SunSoft-Technologies1
what API used to hide window  1
System call executable binary file into a process  2
About GDI object?  2
How to load Bitmap at Dialogbakground in an MFC application? SunSoft-Technologies1
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??  1
 
For more Win32API Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com