MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / Create

Method Create

TranslucentTB/windows/window.hpp:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 }
76
77 inline static Window Create(DWORD dwExStyle, const WindowClass &winClass,
78 Util::null_terminated_wstring_view windowName, DWORD dwStyle, int x = CW_USEDEFAULT, int y = CW_USEDEFAULT,
79 int nWidth = CW_USEDEFAULT, int nHeight = CW_USEDEFAULT, Window parent = Window::NullWindow,
80 HMENU hMenu = nullptr, void *lpParam = nullptr) noexcept
81 {
82 return CreateWindowEx(dwExStyle, winClass.atom(), windowName.c_str(), dwStyle, x, y, nWidth, nHeight,
83 parent, hMenu, winClass.hinstance(), lpParam);
84 }
85
86 inline static std::optional<UINT> RegisterMessage(Util::null_terminated_wstring_view message)
87 {

Callers

nothing calls this directly

Calls 3

atomMethod · 0.80
c_strMethod · 0.80
hinstanceMethod · 0.45

Tested by

no test coverage detected