Jump to content
  • Advertisement
Sign in to follow this  

mfc commnand

This topic is 3747 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!