home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / misc / 1517 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  809 b 

  1. From: Monroe.Thomas@ttlg.UUCP (Monroe Thomas)
  2. Sender: postmaster@ttlg.UUCP
  3. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!alberta!ttlg!postmaster
  4. Newsgroups: comp.os.ms-windows.programmer.misc
  5. Subject: Re: invalid window
  6. Message-ID: <714885994.0@ttlg.ttlg.UUCP>
  7. Date: 26 Aug 92  18:30:00 mst
  8. Lines: 17
  9.  
  10. DP>How do I go about setting the maximum size to which my window can be resized?
  11.   >Is there a setting or API call to do this, or can I just handle it in
  12.   >WM_SIZE?
  13.  
  14. Trap WM_GETMINMAXINFO in your window procedure.  It contains a
  15. pointer to a structure which you can fill with the min/max
  16. dimensions of your window.
  17.  
  18. DP>Thanks....
  19.  
  20. Your welcome!
  21.  
  22. -Monroe
  23.  
  24.  * OLX 2.2 * "I hate anything by Victor Hugo," said Les miserably.
  25.  
  26.  * Origin: Through the Looking Glass (42:100/14)
  27.