How to add a wm_initdialog message map in vs2008

Source: Internet
Author: User

VS2008 version
When you add a WM_INITDIALOG message map to a dialog box, you cannot find it in the message

The reason is:
VS2003 began to move the wm_initdialog into the rewrite, rewrite inside there is a oninitdialog, corresponding to the VC6.0 wm_initdialog message

Solution:

In the menu [view] View, there is a (Class View) Click on the main window to display this view, the Class View on the main dialog box to select the class, right-click on the property, the property view has six buttons, point sixth button shows all the classes can be overloaded functions, The corresponding OnInitDialog can be found to add function content.

Reprint: http://blog.chinaunix.net/uid-20658445-id-1905323.html

How to add a wm_initdialog message map in vs2008

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.