Home > Software engineering >  About the Custom Control problem?
About the Custom Control problem?

Time:09-22

I add a Custom in the resource view Control controls, want to go to the association, a member of the Control variables with right-click on the user Custom controls, and then click on add variables, click ok after fill out the relevant Settings, then open the dialog box procedure XXXDLg. H, see much in the public area of a Control variable declarations, under the waves of the red line, prompt undefined identifiers, what's going on, hope ace to give directions, thank you very much!

CodePudding user response:

CodePudding user response:


The above is my Custom Control controls attribute set, almost the same with you,

This picture is I add user custom controls control member variable wizard, click finish after see generated to gaochtempDlg. H member variables as shown below the

Excuse me, how can let red wavy lines disappear, thank you very much,

CodePudding user response:

Isn't that kind of active control, to register

CodePudding user response:

Join CGridCtrl definition

CodePudding user response:

Such as
The class CGridCtrl: public CWnd
{
DECLARE_DYNCREATE (CGridCtrl)
,,,,,,,,

CodePudding user response:

//GridCtrl. H: the header file
//
//MFC Grid Control - the main header
//
//Written by Chris Maunder & lt; [email protected] & gt;
//Copyright (c) 1998-2005. All Rights Reserved.

CodePudding user response:

reference 5 floor schlafenhamster reply:
if
The class CGridCtrl: public CWnd
{
DECLARE_DYNCREATE (CGridCtrl)
,,,,,,,,

Could you tell me how to write, specific content should be part of what is the purpose of the definition?

CodePudding user response:

You look//Written by Chris Maunder & lt; [email protected] & gt; Look!

CodePudding user response:

Sorry not find ah, if you have sent me a link? Thank you very much!

CodePudding user response:

http://www.codeproject.com/Articles/8/MFC-Grid-control
  • Related