ReactOS 0.4.15-dev-8339-g4028de8
ExplorerAboutDlg Struct Reference

"About Explorer" Dialog More...

Inheritance diagram for ExplorerAboutDlg:
Collaboration diagram for ExplorerAboutDlg:

Public Types

typedef CtlColorParent< OwnerDrawParent< Dialog > > super
 
- Public Types inherited from CtlColorParent< OwnerDrawParent< Dialog > >
typedef OwnerDrawParent< Dialogsuper
 
- Public Types inherited from OwnerDrawParent< Dialog >
typedef Dialog super
 
- Public Types inherited from Dialog
typedef Window super
 
- Public Types inherited from Window
typedef map< HWND, Window * > WindowMap
 
typedef Window *(* CREATORFUNC) (HWND)
 
typedef Window *(* CREATORFUNC_INFO) (HWND, const void *)
 

Public Member Functions

 ExplorerAboutDlg (HWND hwnd)
 
 ~ExplorerAboutDlg ()
 
LRESULT WndProc (UINT nmsg, WPARAM wparam, LPARAM lparam)
 
void Paint ()
 
- Public Member Functions inherited from CtlColorParent< OwnerDrawParent< Dialog > >
 CtlColorParent (HWND hwnd)
 
LRESULT WndProc (UINT nmsg, WPARAM wparam, LPARAM lparam)
 
- Public Member Functions inherited from OwnerDrawParent< Dialog >
 OwnerDrawParent (HWND hwnd)
 
LRESULT WndProc (UINT nmsg, WPARAM wparam, LPARAM lparam)
 
- Public Member Functions inherited from Dialog
 Dialog (HWND)
 
 ~Dialog ()
 
- Public Member Functions inherited from Window
 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 ()
 

Protected Attributes

HFONT _hfont
 
- Protected Attributes inherited from Window
HWND m_hwnd
 
BOOL m_fAutoHide
 
BOOL m_fOnTop
 
BOOL m_fHiding
 
UINT m_uSide
 
LONG m_cxWidth
 
LONG m_cyHeight
 
LONG m_cxSave
 
LONG m_cySave
 
BOOL m_fAppBarRegd
 
BOOL m_fMoving
 
BOOL m_bDragged
 
POINT m_ptDragOn
 
RECT m_rcAppBar
 
RECT m_rcDrag
 

Additional Inherited Members

- Static Public Member Functions inherited from Dialog
static int DoModal (UINT nid, CREATORFUNC creator, HWND hwndParent=0)
 
static int DoModal (UINT nid, CREATORFUNC_INFO creator, const void *info, HWND hwndParent=0)
 
- Static Public Member Functions inherited from Window
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 Windowcreate_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 Windowget_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 WindowGetAppbarData (HWND hwnd)
 
static LRESULT CALLBACK WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
static DWORD WINAPI ActionThreadFunc (LPVOID args)
 
- Public Attributes inherited from Window
IAccessible IAccessible_iface
 
IOleWindow IOleWindow_iface
 
IEnumVARIANT IEnumVARIANT_iface
 
LONG ref
 
- Protected Member Functions inherited from Dialog
LRESULT WndProc (UINT nmsg, WPARAM wparam, LPARAM lparam)
 
int Command (int id, int code)
 
- Protected Member Functions inherited from Window
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
 
- Static Protected Member Functions inherited from Window
static Windowcreate_controller (HWND hwnd)
 create controller for a new window
 
static StaticWindowDataGetStaticWindowData ()
 
static LRESULT CALLBACK MDICBTHookProc (int code, WPARAM wparam, LPARAM lparam)
 
static LRESULT CALLBACK PropSheetCBTHookProc (int code, WPARAM wparam, LPARAM lparam)
 
- Static Protected Attributes inherited from Window
static WindowMap s_wnd_map
 
static const voids_new_info = NULL
 
static CREATORFUNC s_window_creator = NULL
 
static HHOOK s_hcbtHook = 0
 
static WindowSet s_pretranslate_windows
 
static WindowSet s_dialogs
 

Detailed Description

"About Explorer" Dialog

Definition at line 871 of file explorer.cpp.

Member Typedef Documentation

◆ super

Constructor & Destructor Documentation

◆ ExplorerAboutDlg()

ExplorerAboutDlg::ExplorerAboutDlg ( HWND  hwnd)
inline

Definition at line 880 of file explorer.cpp.

881 : super(hwnd)
882 {
884
885 new FlatButton(hwnd, IDOK);
886
887 _hfont = CreateFont(20, 0, 0, 0, FW_BOLD, TRUE, 0, 0, 0, 0, 0, 0, 0, TEXT("Sans Serif"));
888 new ColorStatic(hwnd, IDC_ROS_EXPLORER, RGB(32,32,128), 0, _hfont);
889
891
894
895 HWND hwnd_winver = GetDlgItem(hwnd, IDC_WIN_VERSION);
898
900 }
static VOID CenterWindow(HWND hWnd)
Definition: reactos.c:48
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define RGB(r, g, b)
Definition: precomp.h:71
#define TEXT(s)
Definition: k32.h:26
void SetWindowIcon(HWND hwnd, UINT nid)
set big and small icons out of the resources for a window
Definition: explorer.cpp:689
#define IDS_VERSION_STR
Definition: resource.h:185
#define IDC_WIN_VERSION
Definition: resource.h:178
#define IDC_ROS_EXPLORER
Definition: resource.h:142
#define IDC_WWW
Definition: resource.h:161
#define IDC_VERSION_TXT
Definition: resource.h:177
#define IDS_EXPLORER_VERSION_STR
Definition: resource.h:186
String get_windows_version_str()
Definition: utility.cpp:248
#define IDI_REACTOS
Definition: osk_res.h:21
CtlColorParent< OwnerDrawParent< Dialog > > super
Definition: explorer.cpp:878
Hyperlink Controls.
Definition: window.h:817
convenient loading of string resources
Definition: globals.h:304
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
#define SetWindowFont(hwnd, hfont, fRedraw)
Definition: windowsx.h:533
#define GetStockFont(i)
Definition: windowsx.h:308
#define FW_BOLD
Definition: wingdi.h:378
#define DEFAULT_GUI_FONT
Definition: wingdi.h:909
#define CreateFont
Definition: wingdi.h:4443
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
#define IDOK
Definition: winuser.h:830
#define SetWindowText
Definition: winuser.h:5866
const CHAR * LPCTSTR
Definition: xmlstorage.h:193

◆ ~ExplorerAboutDlg()

ExplorerAboutDlg::~ExplorerAboutDlg ( )
inline

Definition at line 902 of file explorer.cpp.

903 {
905 }
pKey DeleteObject()

Member Function Documentation

◆ Paint()

void ExplorerAboutDlg::Paint ( )
inline

Definition at line 921 of file explorer.cpp.

922 {
923 PaintCanvas canvas(_hwnd);
924
926
927 DrawIconEx(canvas, 20, 10, hicon, 0, 0, 0, 0, DI_NORMAL);
928 }
ExplorerGlobals g_Globals
Definition: explorer.cpp:52
#define IDI_REACTOS_BIG
Definition: resource.h:82
static HICON
Definition: imagelist.c:84
HINSTANCE _hInstance
Definition: globals.h:270
#define DI_NORMAL
Definition: wingdi.h:72
#define IMAGE_ICON
Definition: winuser.h:212
BOOL WINAPI DrawIconEx(_In_ HDC, _In_ int, _In_ int, _In_ HICON, _In_ int, _In_ int, _In_ UINT, _In_opt_ HBRUSH, _In_ UINT)
Definition: cursoricon.c:2072
#define LR_SHARED
Definition: winuser.h:1100
#define LoadImage
Definition: winuser.h:5824
#define MAKEINTRESOURCE
Definition: winuser.h:591

Referenced by WndProc().

◆ WndProc()

LRESULT ExplorerAboutDlg::WndProc ( UINT  nmsg,
WPARAM  wparam,
LPARAM  lparam 
)
inlinevirtual

Reimplemented from Window.

Definition at line 907 of file explorer.cpp.

908 {
909 switch(nmsg) {
910 case WM_PAINT:
911 Paint();
912 break;
913
914 default:
915 return super::WndProc(nmsg, wparam, lparam);
916 }
917
918 return 0;
919 }
@ lparam
Definition: SystemMenu.c:31
@ wparam
Definition: SystemMenu.c:30
LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
Definition: window.h:602
#define WM_PAINT
Definition: winuser.h:1620

Member Data Documentation

◆ _hfont

HFONT ExplorerAboutDlg::_hfont
protected

Definition at line 931 of file explorer.cpp.

Referenced by ExplorerAboutDlg(), and ~ExplorerAboutDlg().


The documentation for this struct was generated from the following file: