News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

WM_CTLCOLORMSGBOX

Started by Tinieblaster, September 17, 2005, 08:35:32 PM

Previous topic - Next topic

Tinieblaster

Hello  all, I need a little from help: because my code does not work? what is there badly? thank you.
It does not give color the MessageBox
.elseif eax==1005
mov eax,132h
.if eax==WM_CTLCOLORMSGBOX
invoke SetTextColor,wParam,0040FF00h
invoke SetBkColor,wParam,00000000h
invoke CreateSolidBrush,00000000h    
invoke MessageBox,hWin,offset text,offset tit,MB_ICONINFORMATION


petezl

WM_CTLCOLORMSGBOX and WM_CTLCOLORBTN is discontinued!
There are a couple of ways around it but the easiest is to create your own msgbox with a dialog.

Peter.
Cats and women do as they please
Dogs and men should realise it.

Tinieblaster

If you are right, I can use a Dialogue, But esque want to be able to give like color to a MessageBox Gracias. :'(