⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wxole.h

📁 Wxpython Implemented on Windows CE, Source code
💻 H
字号:
/////////////////////////////////////////////////////////////////////////////
// Name:        wxole.h
// Purpose:     wxOLE
// Author:      Robert Roebling
// Modified by:
// Created:     17/8/98
// RCS-ID:      $Id: wxole.h,v 1.3 2005/09/23 12:56:38 MR Exp $
// Copyright:   (c) Robert Roebling
// Licence:   	wxWindows licence
/////////////////////////////////////////////////////////////////////////////

#ifndef _WX_OLE_H_
#define _WX_OLE_H_

#include "wx/defs.h"
#include "wx/object.h"
#include "wx/frame.h"
#include "wx/stream.h"

//-----------------------------------------------------------------------------
// global data
//-----------------------------------------------------------------------------

extern const wxChar *wxOleNameStr;

//---------------------------------------------------------------------------
// classes
//---------------------------------------------------------------------------

class wxOleServerEnv;
class wxOleServer;
class wxOleControl;

//---------------------------------------------------------------------------
// wxOleServerEnv
//---------------------------------------------------------------------------

class wxOleServerEnvPrivate;

class wxOleServerEnv : public wxObject
{
  DECLARE_CLASS(wxOleServerEnv)
   
public:
  
  wxOleServerEnv( const wxString &name, const wxString &version );
  ~wxOleServerEnv();

private:

  wxString                 m_serverName;
  wxString                 m_serverVersion;
  
protected:
  wxOleServerEnvPrivate   *m_priv;      
};

//---------------------------------------------------------------------------
// wxOleServer
//---------------------------------------------------------------------------

class wxOleServerPrivate;

class wxOleServer : public wxObject
{
  DECLARE_CLASS(wxOleServer)
   
public:
  
  wxOleServer( const wxString &id );
  ~wxOleServer();
  
  virtual wxOleControl *CreateOleControl();
  
private:

  wxString                 m_ID;
  
protected:
  wxOleServerPrivate      *m_priv;
};

//---------------------------------------------------------------------------
// wxOleControl
//---------------------------------------------------------------------------

class wxOleControl : public wxFrame
{
  DECLARE_CLASS(wxOleControl)
  
public:
  
    wxOleControl( wxWindowID id, long style = 0, const wxString &name = wxOleNameStr );
    ~wxOleControl();
    bool Create( wxWindowID id, long style = 0, const wxString &name = wxOleNameStr );

protected:
    virtual void DoSetSize(int x, int y,
                           int width, int height,
                           int sizeFlags = wxSIZE_AUTO);

    virtual void DoSetClientSize(int width, int height);
};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -