foobar2000/columns_ui-sdk/win32_helpers.h File Reference

UTF-8 Win32 API wrappers. More...

#include <windows.h>
#include <WindowsX.h>
#include <commctrl.h>

Namespaces

namespace  win32_helpers

Classes

struct  logfont_os_from_utf8
struct  logfont_os_icon
struct  logfont_os_menu
struct  logfont_utf8_from_os

Defines

#define uT(x)   pfc::stringcvt::string_os_from_utf8(x).get_ptr()

Typedefs

typedef HDITEMA uHDITEM
typedef LOGFONTA uLOGFONT
typedef REBARBANDINFOA uREBARBANDINFO
typedef TOOLINFOA uTOOLINFO

Functions

void convert_logfont_os_to_utf8 (const LOGFONT &p_src, uLOGFONT &p_dst)
void convert_logfont_utf8_to_os (const uLOGFONT &p_src, LOGFONT &p_dst)
void GetMessagePos (LPPOINT pt)
void GetRelativeRect (HWND wnd, HWND wnd_parent, RECT *rc)
int win32_helpers::message_box (HWND wnd, const TCHAR *text, const TCHAR *caption, UINT type)
void win32_helpers::send_message_to_all_children (HWND wnd_parent, UINT msg, WPARAM wp, LPARAM lp)
void win32_helpers::send_message_to_direct_children (HWND wnd_parent, UINT msg, WPARAM wp, LPARAM lp)
BOOL win32_helpers::tooltip_add_tool (HWND wnd, TOOLINFO *ti, bool update)
BOOL uComboBox_GetText (HWND combo, UINT index, pfc::string_base &out)
BOOL uComboBox_SelectString (HWND combo, const char *src)
HFONT uCreateIconFont ()
HFONT uCreateMenuFont (bool vertical=false)
HWND uFindParentPopup (HWND wnd_child)
BOOL uFormatMessage (DWORD dw_error, pfc::string_base &out)
DWORD uGetClassLong (HWND wnd, int index)
void uGetIconFont (LOGFONT *p_lf)
BOOL uGetLastErrorMessage (pfc::string_base &out)
void uGetMenuFont (LOGFONT *p_lf)
int uHeader_InsertItem (HWND wnd, int n, uHDITEM *hdi, bool insert=true)
BOOL uRebar_InsertItem (HWND wnd, int n, uREBARBANDINFO *rbbi, bool insert=true)
DWORD uSetClassLong (HWND wnd, int index, long new_long)
BOOL uStatus_SetText (HWND wnd, int part, const char *text)
BOOL uTabCtrl_InsertItemText (HWND wnd, int idx, const char *text, bool insert=true)
BOOL uToolTip_AddTool (HWND wnd, uTOOLINFO *ti, bool update=false)


Detailed Description

UTF-8 Win32 API wrappers.

Author:
musicmusic

Generated on Fri Apr 28 15:02:30 2006 for Columns UI SDK by  doxygen 1.4.6-NO