Hello

I'm creating my edit box in my OnInitdialog() like this. this works fine.

CRect rect(100,100, 200, 130); // L,T,R,B
CEdit* pEdit = new CEdit;
DWORD dwstyles;
dwstyles = WS_BORDER|WS_CHILD|WS_VISIBLE|ES_AUTOHSCROLL;
pEdit->Create(dwstyles, rect, this, IDC_EDIT1);

Now I want to make my edit box ES_NUMBER, but I don't want to just add it to my dwstyles, I want to learn how to do the or(|) thing. Can anyone explain me how to go about it.

thanks