Die einzigen Icons die du in einer Message Box anzeigne kannst sind die die in der MSDN angegeben sind. Wenn du ein anderes willst musst du dir deinen eigenen Dialog basteln.
int MessageBox( HWND hWnd, // handle of owner window LPCTSTR lpText, // address of text in message box LPCTSTR lpCaption, // address of title of message box UINT uType // style of message box ); ... ... ... uType Specifies a set of bit flags that determine the contents and behavior of the dialog box. This parameter can be a combination of flags from the following groups of flags. ... ... ... Flag Meaning MB_ICONEXCLAMATION An exclamation-point icon appears in the message box. MB_ICONINFORMATION An icon consisting of a lowercase letter i in a circle appears in the message box. MB_ICONQUESTION A question-mark icon appears in the message box. MB_ICONSTOP A stop-sign icon appears in the message box.
Dieser Post wurde am 28.03.2004 um 12:59 Uhr von Guybrush Threepwood editiert.