c++ messagebox - taskbar button

Shadow2531

[H]ard|Gawd
Joined
Jun 13, 2003
Messages
1,670
Can someone post the simplest working example of creating a windows "O.K." message box that doesn't have a taskbar button. It doesn't need to be moved to the tray, just remove the taskbar button.

(Or automatically remove it once it's created)

Google shows examples that don't realy help.

I know you can't do it like the following, but this is an example of what I mean.

MessageBox(NULL,"text", "title", MB_OK,HIDE_TASKBAR_BUTTON);

I should be able to use the title of the message box to manipulate it right?

Thank you.
 
I need some more specifics as to what you're programming in, but these should cover most of the bases:

MFC
Code:
AfxMessageBox("text");

.NET
Code:
MessageBox::Show("text");
 
Been a while since I used the win32 api, but don't you just create a window without showing it, and then pop up an 'ok' box from that?
 
No, I think that's how you do it, but not sure how to do that. Have an example?
 
Back
Top