Kanzi  3.9.9
Kanzi Engine C++ API
win32_window.hpp File Reference

Classes

class  kanzi::win32::Win32Window
 Class that represents a Win32 window. More...
 

Namespaces

 kanzi
 
 kanzi::win32
 

Functions

bool kanzi::win32::attachTouchWindow (const Win32DynamicLibrary &user32Lib, Win32Window &window) noexcept
 Tries to dynamically register the touch input for a window. More...
 
bool kanzi::win32::displayWindow (Win32Window &window) noexcept
 Sets a window to be visible and active on the current display. More...
 
KZ_NO_DISCARD POINT kanzi::win32::getMousePosition (const Win32Window &window) noexcept
 Gets the mouse position of a window in screen coordinates. More...
 
KZ_NO_DISCARD int kanzi::win32::getWindowHeight (const Win32Window &window) noexcept
 Gets the window height in screen coordinates. More...
 
KZ_NO_DISCARD int kanzi::win32::getWindowPositionX (const Win32Window &window) noexcept
 Gets the window X coordinate in screen coordinates. More...
 
KZ_NO_DISCARD int kanzi::win32::getWindowPositionY (const Win32Window &window) noexcept
 Gets the window Y coordinate in screen coordinates. More...
 
KZ_NO_DISCARD LONG kanzi::win32::getWindowStyle (const Win32Window &window) noexcept
 Gets the style flags for a window. More...
 
KZ_NO_DISCARD void * kanzi::win32::getWindowUserData (const Win32Window &window) noexcept
 Gets the user data of a window. More...
 
KZ_NO_DISCARD int kanzi::win32::getWindowWidth (const Win32Window &window) noexcept
 Gets the window width in screen coordinates. More...
 
bool kanzi::win32::hideWindow (Win32Window &window) noexcept
 Makes a window invisible and inactive on the current display. More...
 
bool kanzi::win32::makeFullscreenWindow (Win32Window &window, windowing::Position windowOrigin, windowing::SizeU windowSize) noexcept
 Sets a window to full-screen on the current display. More...
 
bool kanzi::win32::makeRegularWindow (Win32Window &window) noexcept
 Sets a window to regular on the current display. More...
 
bool kanzi::win32::maximizeWindow (Win32Window &window) noexcept
 Maximize a window on the current display. More...
 
bool kanzi::win32::minimizeWindow (Win32Window &window) noexcept
 Minimize a window to the taskbar and make it inactive on the current display. More...
 
bool kanzi::win32::moveWindow (Win32Window &window, int positionX, int positionY) noexcept
 Moves a window to a new position. More...
 
bool kanzi::win32::resizeClientWindowArea (Win32Window &window, int width, int height) noexcept
 Resizes the client-area of a window. More...
 
bool kanzi::win32::resizeWindow (Win32Window &window, int width, int height) noexcept
 Resizes a window. More...
 
bool kanzi::win32::setWindowStyle (Win32Window &window, LONG windowStyle) noexcept
 Sets the style flags for a window. More...
 
bool kanzi::win32::setWindowUserData (Win32Window &window, void *userData) noexcept
 Sets user data for a window. More...
 
bool kanzi::win32::showWindow (Win32Window &window) noexcept
 Set a window to be visible and active on the current display. More...