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

📄 pcdmcommander.h

📁 《Windows CE 权威指南》(作者:(美)CHRIS MUENCH
💻 H
字号:
#if !defined(AFX_PCDMCOMMANDER_H__D5446562_3392_42C4_BCB8_B05E74E72098__INCLUDED_)
#define AFX_PCDMCOMMANDER_H__D5446562_3392_42C4_BCB8_B05E74E72098__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.

/////////////////////////////////////////////////////////////////////////////
// CPCDMCommander wrapper class

class CPCDMCommander : public CWnd
{
protected:
	DECLARE_DYNCREATE(CPCDMCommander)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x5d060435, 0x1335, 0x491f, { 0x9c, 0xf3, 0x34, 0x10, 0x47, 0xe7, 0x99, 0x5e } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }


// Operations
public:
	void CreateBar(long ID,long Styles);
	void InsertMenu(LPCTSTR MenuName, long Index);
	void InsertMenuItem(LPCTSTR ItemName, long MenuNo, long Index, long ID);
	void InsertButton(long StockNo, long state, long Index, long ID, LPCTSTR ToolTipText);
	void InsertComboBox(long Size, long Index, long ID);
	void AddStringToComboBox(long ID, LPCTSTR text);
	void SetAdornments(long Flags);
	void SetCmdBarType(long type); //<BOOK_ADDON STEP3 Chapter 7.2.4/> *********************************
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PCDMCOMMANDER_H__D5446562_3392_42C4_BCB8_B05E74E72098__INCLUDED_)

⌨️ 快捷键说明

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