次の方法で共有


Handling Windows Messages in Your Dialog Box

OverviewHow Do I

Dialog boxes are windows, so they can handle Windows messages if you supply the appropriate handler functions. When you create your dialog class with ClassWizard, the wizard adds an empty message map to the class. Use ClassWizard to map any Windows messages or commands you want your class to handle.

See Mapping Windows Messages to Your Dialog Class for more information.

See Also   Life Cycle of a Dialog Box