|
| CWebBrowserUI () |
| 构造函数
|
|
void | SetHomePage (LPCTSTR lpszUrl) |
|
LPCTSTR | GetHomePage () |
|
void | SetAutoNavigation (bool bAuto=TRUE) |
|
bool | IsAutoNavigation () |
|
void | SetWebBrowserEventHandler (CWebBrowserEventHandler *pEventHandler) |
|
void | Navigate2 (LPCTSTR lpszUrl) |
|
void | Refresh () |
|
void | Refresh2 (int Level) |
|
void | GoBack () |
|
void | GoForward () |
|
void | NavigateHomePage () |
|
void | NavigateUrl (LPCTSTR lpszUrl) |
|
virtual bool | DoCreateControl () |
|
IWebBrowser2 * | GetWebBrowser2 (void) |
|
IDispatch * | GetHtmlWindow () |
|
virtual LPCTSTR | GetClass () const |
|
virtual LPVOID | GetInterface (LPCTSTR pstrName) |
|
| STDMETHOD_ (ULONG, AddRef)() |
|
| STDMETHOD_ (ULONG, Release)() |
|
STDMETHOD() | QueryInterface (REFIID riid, LPVOID *ppvObject) |
|
virtual HRESULT STDMETHODCALLTYPE | GetTypeInfoCount (__RPC__out UINT *pctinfo) |
|
virtual HRESULT STDMETHODCALLTYPE | GetTypeInfo (UINT iTInfo, LCID lcid, __RPC__deref_out_opt ITypeInfo **ppTInfo) |
|
virtual HRESULT STDMETHODCALLTYPE | GetIDsOfNames (__RPC__in REFIID riid, __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames, UINT cNames, LCID lcid, __RPC__out_ecount_full(cNames) DISPID *rgDispId) |
|
virtual HRESULT STDMETHODCALLTYPE | Invoke (DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) |
|
STDMETHOD() | ShowContextMenu (DWORD dwID, POINT *pptPosition, IUnknown *pCommandTarget, IDispatch *pDispatchObjectHit) |
|
STDMETHOD() | GetHostInfo (DOCHOSTUIINFO *pInfo) |
|
STDMETHOD() | ShowUI (DWORD dwID, IOleInPlaceActiveObject *pActiveObject, IOleCommandTarget *pCommandTarget, IOleInPlaceFrame *pFrame, IOleInPlaceUIWindow *pDoc) |
|
STDMETHOD() | HideUI () |
|
STDMETHOD() | UpdateUI () |
|
STDMETHOD() | EnableModeless (BOOL fEnable) |
|
STDMETHOD() | OnDocWindowActivate (BOOL fActivate) |
|
STDMETHOD() | OnFrameWindowActivate (BOOL fActivate) |
|
STDMETHOD() | ResizeBorder (LPCRECT prcBorder, IOleInPlaceUIWindow *pUIWindow, BOOL fFrameWindow) |
|
STDMETHOD() | TranslateAccelerator (LPMSG lpMsg, const GUID *pguidCmdGroup, DWORD nCmdID) |
|
STDMETHOD() | GetOptionKeyPath (LPOLESTR *pchKey, DWORD dwReserved) |
|
STDMETHOD() | GetDropTarget (IDropTarget *pDropTarget, IDropTarget **ppDropTarget) |
|
STDMETHOD() | GetExternal (IDispatch **ppDispatch) |
|
STDMETHOD() | TranslateUrl (DWORD dwTranslate, OLECHAR *pchURLIn, OLECHAR **ppchURLOut) |
|
STDMETHOD() | FilterDataObject (IDataObject *pDO, IDataObject **ppDORet) |
|
STDMETHOD() | QueryService (REFGUID guidService, REFIID riid, void **ppvObject) |
|
virtual HRESULT STDMETHODCALLTYPE | QueryStatus (__RPC__in_opt const GUID *pguidCmdGroup, ULONG cCmds, __RPC__inout_ecount_full(cCmds) OLECMD prgCmds[], __RPC__inout_opt OLECMDTEXT *pCmdText) |
|
virtual HRESULT STDMETHODCALLTYPE | Exec (__RPC__in_opt const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, __RPC__in_opt VARIANT *pvaIn, __RPC__inout_opt VARIANT *pvaOut) |
|
STDMETHOD() | Download (IMoniker *pmk, IBindCtx *pbc, DWORD dwBindVerb, LONG grfBINDF, BINDINFO *pBindInfo, LPCOLESTR pszHeaders, LPCOLESTR pszRedir, UINT uiCP) |
|
virtual LRESULT | TranslateAccelerator (MSG *pMsg) |
|
UINT | GetControlFlags () const |
|
HWND | GetNativeWindow () const |
|
bool | IsDelayCreate () const |
|
void | SetDelayCreate (bool bDelayCreate=true) |
|
bool | CreateControl (const CLSID clsid) |
|
bool | CreateControl (LPCTSTR pstrCLSID) |
|
HRESULT | GetControl (const IID iid, LPVOID *ppRet) |
|
CLSID | GetClisd () const |
|
CDuiString | GetModuleName () const |
|
void | SetModuleName (LPCTSTR pstrText) |
|
void | SetVisible (bool bVisible=true) |
|
void | SetInternVisible (bool bVisible=true) |
|
void | SetPos (RECT rc, bool bNeedInvalidate=true) |
|
void | Move (SIZE szOffset, bool bNeedInvalidate=true) |
|
bool | DoPaint (HDC hDC, const RECT &rcPaint, CControlUI *pStopControl) |
|
LRESULT | MessageHandler (UINT uMsg, WPARAM wParam, LPARAM lParam, bool &bHandled) |
|
virtual void | Delete () |
|
virtual CDuiString | GetName () const |
|
virtual void | SetName (LPCTSTR pstrName) |
|
virtual bool | Activate () |
|
virtual CPaintManagerUI * | GetManager () const |
|
virtual void | SetManager (CPaintManagerUI *pManager, CControlUI *pParent, bool bInit=true) |
|
virtual CControlUI * | GetParent () const |
|
virtual CControlUI * | GetCover () const |
|
virtual void | SetCover (CControlUI *pControl) |
|
virtual CDuiString | GetText () const |
|
virtual void | SetText (LPCTSTR pstrText) |
|
DWORD | GetBkColor () const |
|
void | SetBkColor (DWORD dwBackColor) |
|
DWORD | GetBkColor2 () const |
|
void | SetBkColor2 (DWORD dwBackColor) |
|
DWORD | GetBkColor3 () const |
|
void | SetBkColor3 (DWORD dwBackColor) |
|
LPCTSTR | GetBkImage () |
|
void | SetBkImage (LPCTSTR pStrImage) |
|
DWORD | GetFocusBorderColor () const |
|
void | SetFocusBorderColor (DWORD dwBorderColor) |
|
bool | IsColorHSL () const |
|
void | SetColorHSL (bool bColorHSL) |
|
SIZE | GetBorderRound () const |
|
void | SetBorderRound (SIZE cxyRound) |
|
bool | DrawImage (HDC hDC, TDrawInfo &drawInfo) |
|
DWORD | GetBorderColor () const |
|
void | SetBorderColor (DWORD dwBorderColor) |
|
RECT | GetBorderSize () const |
|
void | SetBorderSize (RECT rc) |
|
void | SetBorderSize (int iSize) |
|
int | GetBorderStyle () const |
|
void | SetBorderStyle (int nStyle) |
|
virtual const RECT & | GetPos () const |
|
virtual RECT | GetRelativePos () const |
|
virtual RECT | GetClientPos () const |
|
virtual int | GetWidth () const |
|
virtual int | GetHeight () const |
|
virtual int | GetX () const |
|
virtual int | GetY () const |
|
virtual RECT | GetPadding () const |
|
virtual void | SetPadding (RECT rcPadding) |
|
virtual SIZE | GetFixedXY () const |
|
virtual void | SetFixedXY (SIZE szXY) |
|
virtual TPercentInfo | GetFloatPercent () const |
|
virtual void | SetFloatPercent (TPercentInfo piFloatPercent) |
|
virtual int | GetFixedWidth () const |
|
virtual void | SetFixedWidth (int cx) |
|
virtual int | GetFixedHeight () const |
|
virtual void | SetFixedHeight (int cy) |
|
virtual int | GetMinWidth () const |
|
virtual void | SetMinWidth (int cx) |
|
virtual int | GetMaxWidth () const |
|
virtual void | SetMaxWidth (int cx) |
|
virtual int | GetMinHeight () const |
|
virtual void | SetMinHeight (int cy) |
|
virtual int | GetMaxHeight () const |
|
virtual void | SetMaxHeight (int cy) |
|
virtual CDuiString | GetToolTip () const |
|
virtual void | SetToolTip (LPCTSTR pstrText) |
|
virtual void | SetToolTipWidth (int nWidth) |
|
virtual int | GetToolTipWidth (void) |
|
virtual TCHAR | GetShortcut () const |
|
virtual void | SetShortcut (TCHAR ch) |
|
virtual bool | IsContextMenuUsed () const |
|
virtual void | SetContextMenuUsed (bool bMenuUsed) |
|
virtual const CDuiString & | GetUserData () |
|
virtual void | SetUserData (LPCTSTR pstrText) |
|
virtual UINT_PTR | GetTag () const |
|
virtual void | SetTag (UINT_PTR pTag) |
|
virtual bool | IsVisible () const |
|
virtual bool | IsEnabled () const |
|
virtual void | SetEnabled (bool bEnable=true) |
|
virtual bool | IsMouseEnabled () const |
|
virtual void | SetMouseEnabled (bool bEnable=true) |
|
virtual bool | IsKeyboardEnabled () const |
|
virtual void | SetKeyboardEnabled (bool bEnable=true) |
|
virtual bool | IsFocused () const |
|
virtual void | SetFocus () |
|
virtual bool | IsFloat () const |
|
virtual void | SetFloat (bool bFloat=true) |
|
void | AddCustomAttribute (LPCTSTR pstrName, LPCTSTR pstrAttr) |
|
LPCTSTR | GetCustomAttribute (LPCTSTR pstrName) const |
|
bool | RemoveCustomAttribute (LPCTSTR pstrName) |
|
void | RemoveAllCustomAttribute () |
|
virtual CControlUI * | FindControl (FINDCONTROLPROC Proc, LPVOID pData, UINT uFlags) |
|
void | Invalidate () |
|
bool | IsUpdateNeeded () const |
|
void | NeedUpdate () |
|
void | NeedParentUpdate () |
|
DWORD | GetAdjustColor (DWORD dwColor) |
|
virtual void | Init () |
|
virtual void | DoInit () |
|
virtual void | Event (TEventUI &event) |
|
virtual void | DoEvent (TEventUI &event) |
|
virtual CDuiString | GetAttribute (LPCTSTR pstrName) |
|
virtual CDuiString | GetAttributeList (bool bIgnoreDefault=true) |
|
virtual void | SetAttributeList (LPCTSTR pstrList) |
|
virtual SIZE | EstimateSize (SIZE szAvailable) |
|
virtual bool | Paint (HDC hDC, const RECT &rcPaint, CControlUI *pStopControl=NULL) |
|
virtual void | PaintBkColor (HDC hDC) |
|
virtual void | PaintBkImage (HDC hDC) |
|
virtual void | PaintStatusImage (HDC hDC) |
|
virtual void | PaintText (HDC hDC) |
|
virtual void | PaintBorder (HDC hDC) |
|
virtual void | DoPostPaint (HDC hDC, const RECT &rcPaint) |
|
void | SetVirtualWnd (LPCTSTR pstrValue) |
|
CDuiString | GetVirtualWnd () const |
|