I hate being proved wrong as much as the next guy, but I owe it to my blog readers to correct a confusion that I’ve put into their minds due to a short sighted blog entry I made several months ago. For those of you who remember, I made a blog entry titled RCW issue [...]
Entries from January 2005
Errata – RCW issue when returning a BSTR
January 26th, 2005 · 3 Comments
Tags: CLR/.NET BCL · Win32/MFC
Using MessageBoxIndirect to show message boxes with custom icons
January 11th, 2005 · 5 Comments
MessageBoxIndirect is a little known API function defined in user32.dll, that lets you customize message boxes just that little bit more (and it’s highly probable that MessageBox itself uses MessageBoxIndirect internally). Here’s some sample code that shows how you can show a message box with a custom icon :- MSGBOXPARAMS params = {0}; params.cbSize = [...]
Tags: Win32/MFC