www.pudn.com > DialogResizeable.zip > SizeableDlg.cpp, change:2001-10-08,size:1138b
// // SizeableDlg // // Written by Laurent Kempé (email@example.com) for Tech Head WebSite // Copyright (c) 2001 Laurent Kempé. // // This code may be used in compiled form in any way you desire. This // file may be redistributed by any means PROVIDING it is // not sold for profit without the authors written consent, and // providing that this notice and the authors name is included. // // This file is provided "as is" with no expressed or implied warranty. // The author accepts no liability if it causes any damage to you or your // computer whatsoever. It's free, so don't hassle me about it. // // Origin: July 2001 issue of MSDN Magazine // Paul DiLascia // Windows UI: Our WinMgr Sample Makes Custom Window Sizing Simple // //////////////////////////////////////////////////////////////// // MSDN Magazine -- July 2001 // If this code works, it was written by Paul DiLascia. // If not, I don't know who wrote it. // Compiles with Visual C++ 6.0. Runs on Win 98 and probably Win 2000 too. // Set tabsize = 3 in your editor. // #include "stdafx.h" #include "SizeableDlg.h"