Sign in to follow this  
phil67rpg

mfc commnand

Recommended Posts

That's a line out of a dialog box template. It says "give me a ListView control named List1, with an ID defined as IDC_LIST1, with the WS_BORDER and WS_TABSTOP window styles, positioned at (7,66) and dimensions of 256x195.

Dialog templates are used to store a description of a particular dialog box layout, and are typically stored in a resource script and created by the Visual Studio Dialog Editor. So with them you could come with a dialog for a specific task (like say, to set some program options), pick the size and layout, and put some controls on it. Then in your program code when you actually want to make the dialog pop up, you call CreateDialog or DialogBox and give the name of the template you want to use.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this