home *** CD-ROM | disk | FTP | other *** search
- //---------------------------------------------------------------------------
- // Borland C++Builder
- // Copyright (c) 1987, 1998 Borland International Inc. All Rights Reserved.
- //---------------------------------------------------------------------------
-
- TITLE:
- MSGMAP
-
- DESCRIPTION:
- See how to create a handler for any Win32 or user-invented message.
-
- DEMONSTRATES:
- + BEGIN_MESSAGE_MAP, MESSAGE_HANDLER, END_MESSAGE_MAP
-
- COMMENTS:
- This example uses the message map macros defined in VCL\SYSDEFS.H to
- trap the WM_GETMINMAXINFO message. Look at the TForm1 class
- definition in MAINFORM.H for the message map. The WM_GETMINMAXINFO
- is mapped to the RestrictSize() function, which forces the Width and
- Height of the form to remain between 300 and 400.
-
-