July 13th, 2009, 12:37 PM
How to make messagebox with automatic timer?
So I am programming in win32. I want to make a message box that would destroy itself after a certain amount of time, even if the user does not click on it. How would I do that?
When I searched on the web regarding this question, the only thing I was able to find was to create a new form. But when I tried doing that by going to the Solution Explorer, and clicking "add->Windows Form", it gave me some kind of errors: "Object doesn't support this property or method".
How else could I mimic a messagebox, so it will be just like a messagebox except it will have some kind of automatic timer in it?
PS: I don't want a dialog box because it is modal.
Any help will be appreciated. Thanks.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!