Cotrols disappears
 
Hi ,
    I set CEdit box's property to Number.When i try to type any
character in edit box it show the baloon pop up "Unacceptable
character You can type here number only."
When i click the close botton of this pop up my other controls
(specially edit controls) on the dialog get disappear and they come
when i hover mouse on them.
i also used OnCtlColor function to color one of my static
control.......here is my OnCtlColor function
HBRUSH CUserDetails::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
    HBRUSH hbr = CFormView::OnCtlColor(pDC, pWnd, nCtlColor);
    // TODO:  Change any attributes of the DC here
    if((pWnd->GetDlgCtrlID() == IDC_STATIC_USER_DETAILS) || (pWnd-
GetDlgCtrlID() == IDC_STATIC_USER_FNAME) ||
        
(pWnd->GetDlgCtrlID() == IDC_STATIC_USER_LNAME) || (pWnd-
GetDlgCtrlID() == IDC_STATIC_MOB_NUM)||
        
(pWnd->GetDlgCtrlID() == IDC_STATIC_USER_EMAIL) || (pWnd-
GetDlgCtrlID() == IDC_STATIC_USER_ID) ||
        
(pWnd->GetDlgCtrlID() == IDC_STATIC_CARRIER) || (pWnd-
GetDlgCtrlID() == IDC_STATIC_WHAT_IS_THIS))
    
{
        if(pWnd->GetDlgCtrlID() == IDC_STATIC_WHAT_IS_THIS)
        {
            pDC->SetBkMode(TRANSPARENT);
            pDC->SetTextColor(RGB(0,0,255));
        }
        else
        {
            pDC->SetBkMode(TRANSPARENT);
        }
        return (HBRUSH)GetStockObject(NULL_BRUSH);
    }
    // TODO:  Return a different brush if the default is not desired
    return hbr;
}
I got stuck in this position plz help me.
Klic