1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 // MfcControlPpg.cpp : Implementation of the CMfcControlPropPage property page class.
22 #include "MfcControl.h"
23 #include "MfcControlPpg.h"
28 static char THIS_FILE
[] = __FILE__
;
32 IMPLEMENT_DYNCREATE(CMfcControlPropPage
, COlePropertyPage
)
38 BEGIN_MESSAGE_MAP(CMfcControlPropPage
, COlePropertyPage
)
39 //{{AFX_MSG_MAP(CMfcControlPropPage)
40 // NOTE - ClassWizard will add and remove message map entries
41 // DO NOT EDIT what you see in these blocks of generated code !
47 // Initialize class factory and guid
49 IMPLEMENT_OLECREATE_EX(CMfcControlPropPage
, "MFCCONTROL.MfcControlPropPage.1",
50 0xac221fb7, 0xa0d8, 0x11d4, 0x83, 0x3b, 0, 0x50, 0x4, 0x52, 0x6a, 0xb4)
54 // CMfcControlPropPage::CMfcControlPropPageFactory::UpdateRegistry -
55 // Adds or removes system registry entries for CMfcControlPropPage
57 BOOL
CMfcControlPropPage::CMfcControlPropPageFactory::UpdateRegistry(BOOL bRegister
)
60 return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
61 m_clsid
, IDS_MFCCONTROL_PPG
);
63 return AfxOleUnregisterClass(m_clsid
, NULL
);
68 // CMfcControlPropPage::CMfcControlPropPage - Constructor
70 CMfcControlPropPage::CMfcControlPropPage() :
71 COlePropertyPage(IDD
, IDS_MFCCONTROL_PPG_CAPTION
)
73 //{{AFX_DATA_INIT(CMfcControlPropPage)
74 // NOTE: ClassWizard will add member initialization here
75 // DO NOT EDIT what you see in these blocks of generated code !
81 // CMfcControlPropPage::DoDataExchange - Moves data between page and properties
83 void CMfcControlPropPage::DoDataExchange(CDataExchange
* pDX
)
85 //{{AFX_DATA_MAP(CMfcControlPropPage)
86 // NOTE: ClassWizard will add DDP, DDX, and DDV calls here
87 // DO NOT EDIT what you see in these blocks of generated code !
89 DDP_PostProcessing(pDX
);
94 // CMfcControlPropPage message handlers
96 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */