#include <shellbrowser.h>


Public Types | |
| typedef BASE | super |
Public Member Functions | |
| ShellBrowserChildT (HWND hwnd) | |
| ShellBrowserChildT (HWND hwnd, const ShellChildWndInfo &info) | |
Protected Member Functions | |
| LRESULT | WndProc (UINT nmsg, WPARAM wparam, LPARAM lparam) |
| int | Notify (int id, NMHDR *pnmh) |
Protected Attributes | |
| auto_ptr< ShellBrowser > | _shellBrowser |
Definition at line 193 of file shellbrowser.h.
| typedef BASE ShellBrowserChildT< BASE >::super |
Reimplemented in SDIMainFrame, MDIShellBrowserChild, ExtContextMenuHandlerT< ShellBrowserChildT< MainFrameBase > >, and ExtContextMenuHandlerT< ShellBrowserChildT< ChildWindow > >.
Definition at line 196 of file shellbrowser.h.
| ShellBrowserChildT< BASE >::ShellBrowserChildT | ( | HWND | hwnd ) | [inline] |
Definition at line 199 of file shellbrowser.h.
: super(hwnd) { }
| ShellBrowserChildT< BASE >::ShellBrowserChildT | ( | HWND | hwnd, |
| const ShellChildWndInfo & | info | ||
| ) | [inline] |
Definition at line 205 of file shellbrowser.h.
: super(hwnd, info) { }
| int ShellBrowserChildT< BASE >::Notify | ( | int | id, |
| NMHDR * | pnmh | ||
| ) | [inline, protected] |
Definition at line 229 of file shellbrowser.h.
Referenced by ShellBrowserChildT< MainFrameBase >::Notify().
{
if (_shellBrowser.get())
switch(pnmh->code) {
case TVN_GETDISPINFO: _shellBrowser->OnTreeGetDispInfo(id, pnmh); break;
case TVN_SELCHANGED: _shellBrowser->OnTreeItemSelected(id, (LPNMTREEVIEW)pnmh); break;
case TVN_ITEMEXPANDING: _shellBrowser->OnTreeItemExpanding(id, (LPNMTREEVIEW)pnmh); break;
case NM_RCLICK: _shellBrowser->OnTreeItemRClick(id, pnmh); break;
default: return super::Notify(id, pnmh);
}
else
return super::Notify(id, pnmh);
return 0;
}

| LRESULT ShellBrowserChildT< BASE >::WndProc | ( | UINT | nmsg, |
| WPARAM | wparam, | ||
| LPARAM | lparam | ||
| ) | [inline, protected] |
Reimplemented in SDIMainFrame, MDIShellBrowserChild, ExtContextMenuHandlerT< ShellBrowserChildT< MainFrameBase > >, and ExtContextMenuHandlerT< ShellBrowserChildT< ChildWindow > >.
Definition at line 213 of file shellbrowser.h.
Referenced by ShellBrowserChildT< MainFrameBase >::WndProc().
{
switch(nmsg) {
case PM_GET_SHELLBROWSER_PTR:
return (LRESULT)&*_shellBrowser;
case WM_GETISHELLBROWSER: // for Registry Explorer Plugin
return (LRESULT)static_cast<IShellBrowser*>(&*_shellBrowser);
default:
return super::WndProc(nmsg, wparam, lparam);
}
return 0;
}

auto_ptr<ShellBrowser> ShellBrowserChildT< BASE >::_shellBrowser [protected] |
Definition at line 211 of file shellbrowser.h.
Referenced by ShellBrowserChildT< MainFrameBase >::Notify(), and ShellBrowserChildT< MainFrameBase >::WndProc().
|
ROS Explorer Source Code Documentation
generated on 02.01.2013 by
|