I know this maybe an old thing, but i´m getting troubles creating a customizable messagebox (everything is customizable, since the background of the dialog (with colors or a bitmap), or making it be transparent, and changing the color of the static control of the main text (that can change the color text and the background color of the static and put a new bitmap on it´s background too), untill changing the colors of each button( which also can use bitmaps, changing the default text "Yes/No Cancel", changing them to Flat etc, untill setting new colors for the push button and for the background of the text itself, without changing the font format of the system)
The problem is that WM_CTLCOLORBTN works ok, but, when you pres the pushbutton, the background color remains grayed (i mean with the colors of the default system), instead coming back to the user selected color.
The technique is using by hooking the messagebox api on a similar way i did for the customizable progressbar. I´m not using the same technique as Ewayne, because on his he created his own pushbuttons, instead hooking what is already in the system. This causes the font to change, whereas hooking don´t cause this.
This i an interesting techique, because with further developments we may use it for changing the layout of any control without too much efford and without having to create new ones. For Rosasm it would be specially interesting because on this user´s can be able to build a control builder biased on the resources of a file , such as a delphi or vb one that have the controls in colors, brushes etc. This can be used when you are disasembling a delphi or VB file or simply if i create a sort of RAD for RosAsm (at least in what the concerns to the controls)
I´ll post the results i made so far once i come back home.