foobar2000 SDK  2015-08-03
Data Structures | Namespaces | Functions
win32_dialog.h File Reference

Go to the source code of this file.

Data Structures

class  dialog_helper::dialog
 
class  dialog_helper::dialog_modal
 
class  dialog_helper::dialog_modeless
 
class  dialog_helper::dialog_modeless_v2
 

Namespaces

 dialog_helper
 

Functions

HWND uCreateDialog (UINT id, HWND parent, DLGPROC proc, LPARAM param=0)
 
int uDialogBox (UINT id, HWND parent, DLGPROC proc, LPARAM param=0)
 

Function Documentation

HWND uCreateDialog ( UINT  id,
HWND  parent,
DLGPROC  proc,
LPARAM  param = 0 
)

Wrapper (provided mainly for old code), simplifies parameters compared to standard CreateDialog() by using core_api::get_my_instance().

Definition at line 281 of file win32_dialog.cpp.

282 {
283  return CreateDialogParam(core_api::get_my_instance(),MAKEINTRESOURCE(id),parent,proc,param);
284 }
HINSTANCE get_my_instance()
Retrieves HINSTANCE of calling DLL.
int uDialogBox ( UINT  id,
HWND  parent,
DLGPROC  proc,
LPARAM  param = 0 
)

Wrapper (provided mainly for old code), simplifies parameters compared to standard DialogBox() by using core_api::get_my_instance().

Definition at line 286 of file win32_dialog.cpp.

287 {
288  return (int)DialogBoxParam(core_api::get_my_instance(),MAKEINTRESOURCE(id),parent,proc,param);
289 }
HINSTANCE get_my_instance()
Retrieves HINSTANCE of calling DLL.