Not too sure about the sound, but if you want to color text in a dialog box:

1. Use Class Wizard to create a message handler for WM_CTLCOLOR.
2. Then use the following as an example:

HBRUSH CYourDialogPg::OnCtlColor(CDC *pDC, CWnd *pWnd, UINT nCtlColor)
{
HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);

int nCtrl = pWnd ->GetDlgCtrlID();
if (nCtrl == IDC_YOUR_CONTROL_ID)
{
pDC->SetTextColor(RGB(255,0,0));
}
return hbr;
}


"C++ DuDe" <cooldude747@hotmail.com> wrote:
>
>Hey i want to play some sound in my program, but i don't know the code for
>it, i tryed all examples i see in this newsgroup butnone work, can anybody
>help me?, and also for text color, i seen programs that have different text
>color, how you do that??
>Thank you
>Regads from the C++ DuDe