chsvlib
chsv helper source code
Chusov::Win32::GDI Namespace Reference

Defines auxiliary functionality easing working with Windows GDI functions. More...

Functions

INT MsgBoxV (HWND hParent, UINT nType, LPCWSTR lpszTitle, LPCWSTR lpszMessageFormat, va_list ap) noexcept
 A wrap over the Windows MessageBoxW function providing Chusov::String::PrintfW formatting capability. More...
 
INT MsgBox (HWND hParent, UINT nType, LPCWSTR lpszTitle, LPCWSTR lpszMessageFormat,...) noexcept
 A wrap over the Windows MessageBoxW function providing Chusov::String::PrintfW formatting capability. More...
 
LOGFONTW GetMenuLogFont ()
 Returns a LOGFONT object filled with parameters of a Windows menu font read from user-wide Windows settings. More...
 
template<class traits_t = std::char_traits<wchar_t>, class alloc_t = std::allocator<wchar_t>>
std::basic_string< wchar_t, traits_t, alloc_t > GetUIFileNameForRead (HWND hParent=NULL, LPCWSTR lpszDialogTitle=NULL, LPCWSTR lpszFilter=NULL, LPCWSTR lpszDefExt=NULL, LPCWSTR lpszInitialDir=NULL, bool fShowReadOnlyFiles=true, bool fCreatePrompt=false, bool fAddToRecent=true, bool fFileMustExist=true)
 Displays standard explorer-style Windows dialog box offering a selection of a file to be opened for reading, and, if a user selects a file, returns its name. More...
 
template<template< class cont_val, class cont_alloc > class container_t = std::list, class char_traits_t = std::char_traits<wchar_t>, class string_alloc_t = std::allocator<wchar_t>, class container_alloc_t = std::allocator<std::basic_string<wchar_t, char_traits_t, string_alloc_t>>>
container_t< std::basic_string< wchar_t, char_traits_t, string_alloc_t >, container_alloc_t > GetUIMultipleFileNamesForRead (HWND hParent=NULL, LPCWSTR lpszDialogTitle=NULL, LPCWSTR lpszFilter=NULL, LPCWSTR lpszInitialDir=NULL, bool fShowReadOnlyFiles=true, bool fAddToRecent=true, bool fFileMustExist=true)
 Displays standard explorer-style Windows dialog box offering a selection of one or several files to be opened for reading, and, if a user selects files, returns their names within the returned container object. More...
 
template<class traits_t = std::char_traits<wchar_t>, class alloc_t = std::allocator<wchar_t>>
std::basic_string< wchar_t, traits_t, alloc_t > GetUIFileNameForWrite (HWND hParent=NULL, LPCWSTR lpszDialogTitle=NULL, LPCWSTR lpszFilter=NULL, LPCWSTR lpszDefExt=NULL, LPCWSTR lpszInitialDir=NULL, bool fAddToRecent=true, bool fShowReadOnlyFiles=false, bool fDenyWriteProtectedFiles=true, bool fOverwritePrompt=true, bool fNoTestCreate=false)
 Displays standard explorer-style Windows dialog box offering a user to input or choose a name of a file to be created or overwritten. More...
 

Detailed Description

Defines auxiliary functionality easing working with Windows GDI functions.