|
typedef PreTranslateWindow | super |
|
typedef Window | super |
|
typedef map< HWND, Window * > | WindowMap |
|
typedef Window *(* | CREATORFUNC) (HWND) |
|
typedef Window *(* | CREATORFUNC_INFO) (HWND, const void *) |
|
typedef IShellBrowser * | LPSHELLBROWSER |
|
typedef LPARAM | LPTBBUTTONSB |
|
typedef LPTBBUTTON | LPTBBUTTONSB |
|
typedef IOleWindow * | LPOLEWINDOW |
|
typedef IUnknown * | LPUNKNOWN |
|
typedef ICommDlgBrowser * | LPCOMMDLGBROWSER |
|
typedef IServiceProvider * | LPSERVICEPROVIDER |
|
Public Types inherited from IOleCommandTarget |
enum | OLECMDF {
OLECMDF_SUPPORTED = 0x1
, OLECMDF_ENABLED = 0x2
, OLECMDF_LATCHED = 0x4
, OLECMDF_NINCHED = 0x8
,
OLECMDF_INVISIBLE = 0x10
, OLECMDF_DEFHIDEONCTXTMENU = 0x20
} |
|
enum | OLECMDTEXTF { OLECMDTEXTF_NONE = 0
, OLECMDTEXTF_NAME = 1
, OLECMDTEXTF_STATUS = 2
} |
|
enum | OLECMDEXECOPT { OLECMDEXECOPT_DODEFAULT = 0
, OLECMDEXECOPT_PROMPTUSER = 1
, OLECMDEXECOPT_DONTPROMPTUSER = 2
, OLECMDEXECOPT_SHOWHELP = 3
} |
|
enum | OLECMDID {
OLECMDID_OPEN = 1
, OLECMDID_NEW = 2
, OLECMDID_SAVE = 3
, OLECMDID_SAVEAS = 4
,
OLECMDID_SAVECOPYAS = 5
, OLECMDID_PRINT = 6
, OLECMDID_PRINTPREVIEW = 7
, OLECMDID_PAGESETUP = 8
,
OLECMDID_SPELL = 9
, OLECMDID_PROPERTIES = 10
, OLECMDID_CUT = 11
, OLECMDID_COPY = 12
,
OLECMDID_PASTE = 13
, OLECMDID_PASTESPECIAL = 14
, OLECMDID_UNDO = 15
, OLECMDID_REDO = 16
,
OLECMDID_SELECTALL = 17
, OLECMDID_CLEARSELECTION = 18
, OLECMDID_ZOOM = 19
, OLECMDID_GETZOOMRANGE = 20
,
OLECMDID_UPDATECOMMANDS = 21
, OLECMDID_REFRESH = 22
, OLECMDID_STOP = 23
, OLECMDID_HIDETOOLBARS = 24
,
OLECMDID_SETPROGRESSMAX = 25
, OLECMDID_SETPROGRESSPOS = 26
, OLECMDID_SETPROGRESSTEXT = 27
, OLECMDID_SETTITLE = 28
,
OLECMDID_SETDOWNLOADSTATE = 29
, OLECMDID_STOPDOWNLOAD = 30
, OLECMDID_ONTOOLBARACTIVATED = 31
, OLECMDID_FIND = 32
,
OLECMDID_DELETE = 33
, OLECMDID_HTTPEQUIV = 34
, OLECMDID_HTTPEQUIV_DONE = 35
, OLECMDID_ENABLE_INTERACTION = 36
,
OLECMDID_ONUNLOAD = 37
, OLECMDID_PROPERTYBAG2 = 38
, OLECMDID_PREREFRESH = 39
, OLECMDID_SHOWSCRIPTERROR = 40
,
OLECMDID_SHOWMESSAGE = 41
, OLECMDID_SHOWFIND = 42
, OLECMDID_SHOWPAGESETUP = 43
, OLECMDID_SHOWPRINT = 44
,
OLECMDID_CLOSE = 45
, OLECMDID_ALLOWUILESSSAVEAS = 46
, OLECMDID_DONTDOWNLOADCSS = 47
, OLECMDID_UPDATEPAGESTATUS = 48
,
OLECMDID_PRINT2 = 49
, OLECMDID_PRINTPREVIEW2 = 50
, OLECMDID_SETPRINTTEMPLATE = 51
, OLECMDID_GETPRINTTEMPLATE = 52
,
OLECMDID_PAGEACTIONBLOCKED = 55
, OLECMDID_PAGEACTIONUIQUERY = 56
, OLECMDID_FOCUSVIEWCONTROLS = 57
, OLECMDID_FOCUSVIEWCONTROLSQUERY = 58
,
OLECMDID_SHOWPAGEACTIONMENU = 59
, OLECMDID_ADDTRAVELENTRY = 60
, OLECMDID_UPDATETRAVELENTRY = 61
, OLECMDID_UPDATEBACKFORWARDSTATE = 62
,
OLECMDID_OPTICAL_ZOOM = 63
, OLECMDID_OPTICAL_GETZOOMRANGE = 64
, OLECMDID_WINDOWSTATECHANGED = 65
, OLECMDID_ACTIVEXINSTALLSCOPE = 66
,
OLECMDID_UPDATETRAVELENTRY_DATARECOVERY = 67
, OLECMDID_SHOWTASKDLG = 68
, OLECMDID_POPSTATEEVENT = 69
, OLECMDID_VIEWPORT_MODE = 70
,
OLECMDID_LAYOUT_VIEWPORT_WIDTH = 71
, OLECMDID_VISUAL_VIEWPORT_EXCLUDE_BOTTOM = 72
, OLECMDID_USER_OPTICAL_ZOOM = 73
, OLECMDID_PAGEAVAILABLE = 74
,
OLECMDID_GETUSERSCALABLE = 75
, OLECMDID_UPDATE_CARET = 76
, OLECMDID_ENABLE_VISIBILITY = 77
, OLECMDID_MEDIA_PLAYBACK = 78
} |
|
typedef IOleCommandTarget * | LPOLECOMMANDTARGET |
|
typedef enum IOleCommandTarget::OLECMDF | OLECMDF |
|
typedef struct IOleCommandTarget::_tagOLECMD | OLECMD |
|
typedef struct IOleCommandTarget::_tagOLECMDTEXT | OLECMDTEXT |
|
typedef enum IOleCommandTarget::OLECMDTEXTF | OLECMDTEXTF |
|
typedef enum IOleCommandTarget::OLECMDEXECOPT | OLECMDEXECOPT |
|
typedef enum IOleCommandTarget::OLECMDID | OLECMDID |
|
|
| DesktopWindow (HWND hwnd) |
|
| ~DesktopWindow () |
|
virtual HRESULT STDMETHODCALLTYPE | GetWindow (HWND *lphwnd) |
|
virtual HRESULT STDMETHODCALLTYPE | QueryActiveShellView (IShellView **ppshv) |
|
virtual HRESULT STDMETHODCALLTYPE | GetControlWindow (UINT id, HWND *lphwnd) |
|
virtual HRESULT STDMETHODCALLTYPE | SendControlMsg (UINT id, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *pret) |
|
| PreTranslateWindow (HWND) |
|
| ~PreTranslateWindow () |
|
| Window (HWND hwnd) |
|
virtual | ~Window () |
|
LRESULT | SendParent (UINT nmsg, WPARAM wparam=0, LPARAM lparam=0) |
|
LRESULT | PostParent (UINT nmsg, WPARAM wparam=0, LPARAM lparam=0) |
|
| Window (INT cx, INT cy, BOOL fAutoHide=FALSE) |
|
virtual | ~Window () |
|
virtual LRESULT CALLBACK | WindowProcDx (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
void | DoAction () |
|
| IShellBrowserImpl () |
|
virtual | ~IShellBrowserImpl () |
|
virtual HRESULT STDMETHODCALLTYPE | QueryInterface (REFIID iid, void **ppvObject) |
|
virtual ULONG STDMETHODCALLTYPE | AddRef () |
|
virtual ULONG STDMETHODCALLTYPE | Release () |
|
virtual HRESULT STDMETHODCALLTYPE | ContextSensitiveHelp (BOOL fEnterMode) |
|
virtual HRESULT STDMETHODCALLTYPE | OnDefaultCommand (IShellView *ppshv) |
|
virtual HRESULT STDMETHODCALLTYPE | OnStateChange (IShellView *ppshv, ULONG uChange) |
|
virtual HRESULT STDMETHODCALLTYPE | IncludeObject (IShellView *ppshv, LPCITEMIDLIST pidl) |
|
virtual HRESULT STDMETHODCALLTYPE | InsertMenusSB (HMENU hmenuShared, LPOLEMENUGROUPWIDTHS lpMenuWidths) |
|
virtual HRESULT STDMETHODCALLTYPE | SetMenuSB (HMENU hmenuShared, HOLEMENU holemenuReserved, HWND hwndActiveObject) |
|
virtual HRESULT STDMETHODCALLTYPE | RemoveMenusSB (HMENU hmenuShared) |
|
virtual HRESULT STDMETHODCALLTYPE | SetStatusTextSB (LPCOLESTR lpszStatusText) |
|
virtual HRESULT STDMETHODCALLTYPE | EnableModelessSB (BOOL fEnable) |
|
virtual HRESULT STDMETHODCALLTYPE | BrowseObject (LPCITEMIDLIST pidl, UINT wFlags) |
|
virtual HRESULT STDMETHODCALLTYPE | GetViewStateStream (DWORD grfMode, LPSTREAM *ppStrm) |
|
virtual HRESULT STDMETHODCALLTYPE | OnViewWindowActive (IShellView *ppshv) |
|
virtual HRESULT STDMETHODCALLTYPE | SetToolbarItems (LPTBBUTTON lpButtons, UINT nButtons, UINT uFlags) |
|
virtual HRESULT STDMETHODCALLTYPE | TranslateAcceleratorSB (LPMSG lpmsg, WORD wID) |
|
virtual HRESULT STDMETHODCALLTYPE | QueryService (REFGUID guidService, REFIID riid, void **ppvObject) |
|
virtual HRESULT STDMETHODCALLTYPE | QueryStatus (const GUID *pguidCmdGroup, ULONG cCmds, OLECMD prgCmds[], OLECMDTEXT *pCmdText) |
|
virtual HRESULT STDMETHODCALLTYPE | Exec (const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut) |
|
HRESULT | InsertMenusSB ([in] HMENU hmenuShared, [in, out] LPOLEMENUGROUPWIDTHS lpMenuWidths) |
|
HRESULT | SetMenuSB ([in] HMENU hmenuShared, [in] HOLEMENU holemenuReserved, [in] HWND hwndActiveObject) |
|
HRESULT | RemoveMenusSB ([in] HMENU hmenuShared) |
|
HRESULT | SetStatusTextSB ([in, unique] LPCOLESTR pszStatusText) |
|
HRESULT | EnableModelessSB ([in] BOOL fEnable) |
|
HRESULT | TranslateAcceleratorSB ([in] MSG *pmsg, [in] WORD wID) |
|
HRESULT | BrowseObject ([in] PCUIDLIST_RELATIVE pidl, [in] UINT wFlags) |
|
HRESULT | GetViewStateStream ([in] DWORD grfMode, [out] IStream **ppStrm) |
|
HRESULT | GetControlWindow ([in] UINT id, [out] HWND *phwnd) |
|
HRESULT | SendControlMsg ([in] UINT id, [in] UINT uMsg, [in] WPARAM wParam, [in] LPARAM lParam, [in] LRESULT *pret) |
|
HRESULT | QueryActiveShellView ([out] IShellView **ppshv) |
|
HRESULT | OnViewWindowActive ([in] IShellView *pshv) |
|
HRESULT | SetToolbarItems ([in] LPTBBUTTONSB lpButtons, [in] UINT nButtons, [in] UINT uFlags) |
|
HRESULT | GetWindow ([out] HWND *phwnd) |
|
HRESULT | ContextSensitiveHelp ([in] BOOL fEnterMode) |
|
HRESULT | QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject) |
|
ULONG | AddRef () |
|
ULONG | Release () |
|
HRESULT | OnDefaultCommand ([in] IShellView *shv) |
|
HRESULT | OnStateChange ([in] IShellView *shv, [in] ULONG uChange) |
|
HRESULT | IncludeObject ([in] IShellView *shv, [in] PCUITEMID_CHILD pidl) |
|
HRESULT | QueryService ([in] REFGUID guidService, [in] REFIID riid, [out] void **ppvObject) |
|
HRESULT | RemoteQueryService ([in] REFGUID guidService, [in] REFIID riid, [out, iid_is(riid)] IUnknown **ppvObject) |
|
HRESULT | QueryStatus ([in, unique] const GUID *pguidCmdGroup, [in] ULONG cCmds, [in, out, size_is(cCmds)] OLECMD prgCmds[], [in, out, unique] OLECMDTEXT *pCmdText) |
|
HRESULT | Exec ([in, unique] const GUID *pguidCmdGroup, [in] DWORD nCmdID, [in] DWORD nCmdexecopt, [in, unique] VARIANT *pvaIn, [in, out, unique] VARIANT *pvaOut) |
|
|
static HWND | Create () |
|
static HWND | Create (CREATORFUNC creator, DWORD dwExStyle, LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, int w, int h, HWND hwndParent=0, HMENU hMenu=0) |
|
static HWND | Create (CREATORFUNC_INFO creator, const void *info, DWORD dwExStyle, LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, int w, int h, HWND hwndParent=0, HMENU hMenu=0) |
|
static Window * | create_mdi_child (const ChildWndInfo &info, const MDICREATESTRUCT &mcs, CREATORFUNC_INFO creator) |
|
static LRESULT CALLBACK | WindowWndProc (HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam) |
|
static INT_PTR CALLBACK | DialogProc (HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam) |
|
static Window * | get_window (HWND hwnd) |
| get window controller from window handle
|
|
template<typename CLASS > |
static CLASS * | get_window (HWND hwnd) |
|
static void | register_pretranslate (HWND hwnd) |
|
static void | unregister_pretranslate (HWND hwnd) |
|
static BOOL | pretranslate_msg (LPMSG pmsg) |
|
static void | register_dialog (HWND hwnd) |
|
static void | unregister_dialog (HWND hwnd) |
|
static BOOL | dispatch_dialog_msg (LPMSG pmsg) |
|
static int | MessageLoop () |
|
static void | CancelModes () |
|
static BOOL | DoRegisterClass (HINSTANCE hInstance) |
|
static HWND | DoCreateMainWnd (HINSTANCE hInstance, LPCTSTR pszText, INT cx, INT cy, DWORD style=WS_POPUP|WS_THICKFRAME|WS_CLIPCHILDREN, DWORD exstyle=WS_EX_WINDOWEDGE|WS_EX_TOOLWINDOW|WS_EX_TOPMOST, BOOL fAutoHide=FALSE) |
|
static INT | DoMainLoop () |
|
static Window * | GetAppbarData (HWND hwnd) |
|
static LRESULT CALLBACK | WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
static DWORD WINAPI | ActionThreadFunc (LPVOID args) |
|
|
LRESULT | Init (LPCREATESTRUCT pcs) |
|
LRESULT | WndProc (UINT nmsg, WPARAM wparam, LPARAM lparam) |
|
virtual HRESULT | OnDefaultCommand (LPIDA pida) |
|
virtual LRESULT | Init (LPCREATESTRUCT pcs) |
|
virtual LRESULT | WndProc (UINT nmsg, WPARAM wparam, LPARAM lparam) |
|
virtual int | Command (int id, int code) |
|
virtual int | Notify (int id, NMHDR *pnmh) |
|
void | OnCommand (HWND hwnd, int id, HWND hwndCtl, UINT codeNotify) |
|
void | OnPaint (HWND hwnd) |
|
void | OnRButtonDown (HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) |
|
void | OnKey (HWND hwnd, UINT vk, BOOL fDown, int cRepeat, UINT flags) |
|
void | OnAppBarCallback (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
|
BOOL | AppBar_Register (HWND hwnd) |
|
BOOL | AppBar_UnRegister (HWND hwnd) |
|
BOOL | AppBar_SetAutoHide (HWND hwnd, BOOL fHide) |
|
BOOL | AppBar_AutoHide (HWND hwnd) |
|
BOOL | AppBar_NoAutoHide (HWND hwnd) |
|
BOOL | AppBar_SetSide (HWND hwnd, UINT uSide) |
|
void | AppBar_SetAlwaysOnTop (HWND hwnd, BOOL fOnTop) |
|
void | AppBar_Hide (HWND hwnd) |
|
void | AppBar_UnHide (HWND hwnd) |
|
void | AppBar_SetAutoHideTimer (HWND hwnd) |
|
void | AppBar_SetAutoUnhideTimer (HWND hwnd) |
|
void | AppBar_Size (HWND hwnd) |
|
void | AppBar_QueryPos (HWND hwnd, LPRECT lprc) |
|
void | AppBar_QuerySetPos (UINT uEdge, LPRECT lprc, PAPPBARDATA pabd, BOOL fMove) |
|
void | AppBar_PosChanged (PAPPBARDATA pabd) |
|
BOOL | OnCreate (HWND hwnd, LPCREATESTRUCT lpCreateStruct) |
|
void | OnActivate (HWND hwnd, UINT state, HWND hwndActDeact, BOOL fMinimized) |
|
void | OnWindowPosChanged (HWND hwnd, const LPWINDOWPOS lpwpos) |
|
void | OnSize (HWND hwnd, UINT state, int cx, int cy) |
|
void | OnMove (HWND hwnd, int x, int y) |
|
void | OnNCDestroy (HWND hwnd) |
|
void | OnTimer (HWND hwnd, UINT id) |
|
UINT | OnNCHitTest (HWND hwnd, int x, int y) |
|
void | OnLButtonDown (HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) |
|
void | OnMouseMove (HWND hwnd, int x, int y, UINT keyFlags) |
|
void | OnLButtonUp (HWND hwnd, int x, int y, UINT keyFlags) |
|
void | GetWorkArea (LPRECT prc) const |
|
virtual HRESULT | OnDefaultCommand (LPIDA pida) |
|
Implementation of the Explorer desktop window.
Definition at line 51 of file desktop.h.