bump product version to 6.3.0.0.beta1
[LibreOffice.git] / extensions / test / ole / MfcControl / MfcControlPpg.cpp
blob3671223633c3bf4abc410e2a89c92bde39d8ec64
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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.
21 #include "stdafx.h"
22 #include "MfcControl.h"
23 #include "MfcControlPpg.h"
25 #ifdef _DEBUG
26 #define new DEBUG_NEW
27 #undef THIS_FILE
28 static char THIS_FILE[] = __FILE__;
29 #endif
32 IMPLEMENT_DYNCREATE(CMfcControlPropPage, COlePropertyPage)
36 // Message map
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 !
42 //}}AFX_MSG_MAP
43 END_MESSAGE_MAP()
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)
59 if (bRegister)
60 return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
61 m_clsid, IDS_MFCCONTROL_PPG);
62 else
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 !
76 //}}AFX_DATA_INIT
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 !
88 //}}AFX_DATA_MAP
89 DDP_PostProcessing(pDX);
94 // CMfcControlPropPage message handlers
96 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */