|
-
October 31st, 2000, 03:53 PM
#1
| operator
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|