What are the default styles for such things like the edit box,
button, list box, etc?
Thanks
Printable View
What are the default styles for such things like the edit box,
button, list box, etc?
Thanks
Do you mean using the CreateWindow function or using a dialog?
For the CreateWindow function, I don't know what the definite answer is - but I know how you can find out. Just create a textbox, button, listbox, etc. and use Microsoft Spy++ to see which styles are set. I'm guessing that if you don't specify any styles, there won't be any.
For a dialog, use Spy++ as well. The dialog editor automatically adds a bunch of styles to these controls for you.