home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Examples / Apps / MsgMap / README.TXT < prev   
Encoding:
Text File  |  1999-01-26  |  803 b   |  22 lines

  1. //---------------------------------------------------------------------------
  2. // Borland C++Builder
  3. // Copyright (c) 1987, 1998 Borland International Inc.  All Rights Reserved.
  4. //---------------------------------------------------------------------------
  5.  
  6. TITLE:
  7.     MSGMAP
  8.  
  9. DESCRIPTION:
  10.     See how to create a handler for any Win32 or user-invented message.
  11.  
  12. DEMONSTRATES:
  13.     + BEGIN_MESSAGE_MAP, MESSAGE_HANDLER, END_MESSAGE_MAP
  14.  
  15. COMMENTS:
  16.     This example uses the message map macros defined in VCL\SYSDEFS.H to
  17.     trap the WM_GETMINMAXINFO message.  Look at the TForm1 class
  18.     definition in MAINFORM.H for the message map.  The WM_GETMINMAXINFO
  19.     is mapped to the RestrictSize() function, which forces the Width and
  20.     Height of the form to remain between 300 and 400.
  21.  
  22.