MCPcopy Create free account
hub / github.com/Tracktion/choc / MessageWindow

Method MessageWindow

choc/gui/choc_MessageLoop.h:384–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382struct MessageWindow
383{
384 MessageWindow()
385 {
386 className = "choc_" + std::to_string (rand());
387
388 WNDCLASSEXA wc = {};
389 wc.cbSize = sizeof (wc);
390 wc.hInstance = GetModuleHandleA (nullptr);
391 wc.lpszClassName = className.c_str();
392 wc.lpfnWndProc = windowProc;
393
394 RegisterClassExA (std::addressof (wc));
395
396 hwnd = CreateWindowA (className.c_str(), "choc", 0, 0, 0, 0, 0,
397 nullptr, nullptr, wc.hInstance, nullptr);
398 }
399
400 ~MessageWindow()
401 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected