| Summary: | It is possible to hook messages associated with the standard message box to play around with its restricted form (e.g. change button captions, etc.) This example goes a bit further and allows the changing of the icon from one of the four available to any (static) icon. Also, a routine is included to place an animated icon (*.ani file) on a form, or anything that has a hwnd property. By finding the hwnd of the Msgbox icon in the hook procedure, the animation can be placed in the msgbox, as shown |