Delay MessageBox with auto-close option
Posted: 11 Aug 2002
Updated: 13 Aug 2002
Licence: The Microsoft Public License (Ms-PL)
This message box delays its dismissal by disabling the OK button for a delay interval. It also has an optional auto-close feature. There are two versions, one uses a WH_CBT hook and some basic window tricks like sub-classing to achieve its goal. The other one is more MFC-ied.