Delay MessageBox with auto-close option
Posted: 11 Aug 2002
Updated: 13 Aug 2002
Views: 197,681
Rating: 4.96/5
Votes: 52
Popularity: 8.52
Licence: The Microsoft Public License (Ms-PL)
Bookmarked: 65
Downloaded: 4,059
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.