CMFCPropertyGridColorProperty 클래스

CMFCPropertyGridColorProperty 클래스는 색 선택 대화 상자를 엽니다. 속성 list 컨트롤 항목을 지원 합니다.

class CMFCPropertyGridColorProperty : public CMFCPropertyGridProperty

Members

Bb983980.collapse_all(ko-kr,VS.110).gifPublic 생성자

Name

설명

CMFCPropertyGridColorProperty::CMFCPropertyGridColorProperty

CMFCPropertyGridColorProperty 개체를 생성합니다.

CMFCPropertyGridColorProperty::~CMFCPropertyGridColorProperty

소멸자.

Bb983980.collapse_all(ko-kr,VS.110).gifPublic 메서드

Name

설명

CMFCPropertyGridColorProperty::EnableAutomaticButton

활성화는 자동 색상 선택 대화 상자에서 단추.(표준 자동 단추인 자동.)

CMFCPropertyGridColorProperty::EnableOtherButton

활성화는 기타 색상 선택 대화 상자에서 단추.(표준 다른 단추인 다른 색....)

CMFCPropertyGridColorProperty::FormatProperty

속성 값의 텍스트 표현과 서식을 지정합니다.(재정의 CMFCPropertyGridProperty::FormatProperty.)

CMFCPropertyGridColorProperty::GetColor

속성의 현재 색을 가져옵니다.

CMFCPropertyGridColorProperty::GetThisClass

프레임 워크에서 사용 되는 포인터를 얻을 수 있는 CRuntimeClass 이 클래스 형식에 연결 된 개체입니다.

CMFCPropertyGridColorProperty::OnClickButton

속성에 포함 된 단추를 클릭할 때 프레임 워크에 의해 호출 됩니다.(재정의 CMFCPropertyGridProperty::OnClickButton.)

CMFCPropertyGridColorProperty::OnDrawValue

속성 값을 표시 하는 프레임 워크에서 호출 됩니다.(재정의 CMFCPropertyGridProperty::OnDrawValue.)

CMFCPropertyGridColorProperty::OnEdit

사용자에 대 한 속성 값을 수정할 때 프레임 워크에 의해 호출 됩니다.(재정의 CMFCPropertyGridProperty::OnEdit.)

CMFCPropertyGridColorProperty::OnUpdateValue

편집 가능한 속성의 값을 변경 하면 프레임 워크에서 호출 됩니다.(재정의 CMFCPropertyGridProperty::OnUpdateValue.)

CMFCPropertyGridColorProperty::SetColor

새로운 색을 설정합니다.

CMFCPropertyGridColorProperty::SetColumnsNumber

현재 색 속성 표에 열 수를 지정합니다.

설명

CMFCPropertyGridColorProperty 클래스를 지 원하는 색 속성을 속성 목록 컨트롤에 추가할 수 있습니다.자세한 내용은 CMFCPropertyGridCtrl 클래스을 참조하십시오.

예제

다음 예제에서는 개체를 생성 하는 방법을 보여 줍니다.를 CMFCPropertyGridColorProperty 클래스의 다양 한 메서드를 사용 하 여이 개체를 구성 하 고는 CMFCPropertyGridColorProperty 클래스.코드 색 및 열 수를 설정 하는 방법 및 자동 및 단추를 사용 하는 방법을 설명 합니다.이 이때의 일부인의 새 컨트롤 샘플.

    CMFCPropertyGridColorProperty* pColorProp = new CMFCPropertyGridColorProperty(_T("Window Color"), RGB(210, 192, 254), NULL, _T("Specifies the default dialog color"));
    pColorProp->EnableOtherButton(_T("Other..."));
    pColorProp->EnableAutomaticButton(_T("Default"), ::GetSysColor(COLOR_3DFACE));
    pColorProp->SetColor(RGB(255,0,0));
    pColorProp->SetColumnsNumber(3);

상속 계층 구조

CObject

   CMFCPropertyGridProperty

      CMFCPropertyGridColorProperty

요구 사항

헤더: afxpropertygridctrl.h

참고 항목

참조

계층 구조 차트

CMFCPropertyGridCtrl 클래스

CMFCPropertyGridProperty 클래스

기타 리소스

MFC 클래스