Skip to content

Win32Window

#include <win32_window.h>

Inherited by FlutterWindow, FlutterWindow, FlutterWindow

Public Classes

Name
struct Point
struct Size

Public Functions

Name
Win32Window()
virtual ~Win32Window()
bool Create(const std::wstring & title, const Point & origin, const Size & size)
bool Show()
void Destroy()
void SetChildContent(HWND content)
HWND GetHandle()
void SetQuitOnClose(bool quit_on_close)
RECT GetClientArea()
Win32Window()
virtual ~Win32Window()
bool Create(const std::wstring & title, const Point & origin, const Size & size)
bool Show()
void Destroy()
void SetChildContent(HWND content)
HWND GetHandle()
void SetQuitOnClose(bool quit_on_close)
RECT GetClientArea()
Win32Window()
virtual ~Win32Window()
bool Create(const std::wstring & title, const Point & origin, const Size & size)
bool Show()
void Destroy()
void SetChildContent(HWND content)
HWND GetHandle()
void SetQuitOnClose(bool quit_on_close)
RECT GetClientArea()

Protected Functions

Name
virtual LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, LPARAM const lparam)
virtual bool OnCreate()
virtual void OnDestroy()
virtual LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, LPARAM const lparam)
virtual bool OnCreate()
virtual void OnDestroy()
virtual LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, LPARAM const lparam)
virtual bool OnCreate()
virtual void OnDestroy()

Friends

Name
class WindowClassRegistrar

Public Functions Documentation

function Win32Window

Win32Window()

function ~Win32Window

virtual ~Win32Window()

function Create

bool Create(
    const std::wstring & title,
    const Point & origin,
    const Size & size
)

function Show

bool Show()

function Destroy

void Destroy()

function SetChildContent

void SetChildContent(
    HWND content
)

function GetHandle

HWND GetHandle()

function SetQuitOnClose

void SetQuitOnClose(
    bool quit_on_close
)

function GetClientArea

RECT GetClientArea()

function Win32Window

Win32Window()

function ~Win32Window

virtual ~Win32Window()

function Create

bool Create(
    const std::wstring & title,
    const Point & origin,
    const Size & size
)

function Show

bool Show()

function Destroy

void Destroy()

function SetChildContent

void SetChildContent(
    HWND content
)

function GetHandle

HWND GetHandle()

function SetQuitOnClose

void SetQuitOnClose(
    bool quit_on_close
)

function GetClientArea

RECT GetClientArea()

function Win32Window

Win32Window()

function ~Win32Window

virtual ~Win32Window()

function Create

bool Create(
    const std::wstring & title,
    const Point & origin,
    const Size & size
)

function Show

bool Show()

function Destroy

void Destroy()

function SetChildContent

void SetChildContent(
    HWND content
)

function GetHandle

HWND GetHandle()

function SetQuitOnClose

void SetQuitOnClose(
    bool quit_on_close
)

function GetClientArea

RECT GetClientArea()

Protected Functions Documentation

function MessageHandler

virtual LRESULT MessageHandler(
    HWND window,
    UINT const message,
    WPARAM const wparam,
    LPARAM const lparam
)

Reimplemented by: FlutterWindow::MessageHandler, FlutterWindow::MessageHandler, FlutterWindow::MessageHandler

function OnCreate

virtual bool OnCreate()

Reimplemented by: FlutterWindow::OnCreate, FlutterWindow::OnCreate, FlutterWindow::OnCreate

function OnDestroy

virtual void OnDestroy()

Reimplemented by: FlutterWindow::OnDestroy, FlutterWindow::OnDestroy, FlutterWindow::OnDestroy

function MessageHandler

virtual LRESULT MessageHandler(
    HWND window,
    UINT const message,
    WPARAM const wparam,
    LPARAM const lparam
)

Reimplemented by: FlutterWindow::MessageHandler, FlutterWindow::MessageHandler, FlutterWindow::MessageHandler

function OnCreate

virtual bool OnCreate()

Reimplemented by: FlutterWindow::OnCreate, FlutterWindow::OnCreate, FlutterWindow::OnCreate

function OnDestroy

virtual void OnDestroy()

Reimplemented by: FlutterWindow::OnDestroy, FlutterWindow::OnDestroy, FlutterWindow::OnDestroy

function MessageHandler

virtual LRESULT MessageHandler(
    HWND window,
    UINT const message,
    WPARAM const wparam,
    LPARAM const lparam
)

Reimplemented by: FlutterWindow::MessageHandler, FlutterWindow::MessageHandler, FlutterWindow::MessageHandler

function OnCreate

virtual bool OnCreate()

Reimplemented by: FlutterWindow::OnCreate, FlutterWindow::OnCreate, FlutterWindow::OnCreate

function OnDestroy

virtual void OnDestroy()

Reimplemented by: FlutterWindow::OnDestroy, FlutterWindow::OnDestroy, FlutterWindow::OnDestroy

Friends

friend WindowClassRegistrar

friend class WindowClassRegistrar(
    WindowClassRegistrar 
);

Updated on 2026-07-25 at 22:56:57 +0000