ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

#include <window.h>

Inherited by ChildWindow, ClockWindow, DesktopWindow, Dialog, DialogWindow, NotifyArea, OwnerDrawParent< Window >, PreTranslateWindow, SubclassedWindow, and TaskBar.

Data Structures

struct  StaticWindowData
 structure for managing critical sections as static class information in struct Window More...

Public Types

typedef map< HWND, Window * > WindowMap
typedef Window *(* CREATORFUNC )(HWND)
typedef Window *(* CREATORFUNC_INFO )(HWND, const void *)

Public Member Functions

 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)

Static Public Member Functions

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 ()

Protected Member Functions

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)

Static Protected Member Functions

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

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

Class Window is the base class for several C++ window wrapper classes. Window objects are allocated from the heap. They are automatically freed when the window gets destroyed.

Definition at line 58 of file window.h.


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

Generated on Sat May 26 2012 06:45:56 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.