foobar2000 SDK  2015-08-03
Data Structures | Functions
playback_state.cpp File Reference

Go to the source code of this file.

Data Structures

class  CPlaybackStateDemo
 

Functions

void RunPlaybackStateDemo ()
 

Function Documentation

void RunPlaybackStateDemo ( )

Definition at line 145 of file playback_state.cpp.

145  {
146  try {
147  // ImplementModelessTracking registers our dialog to receive dialog messages thru main app loop's IsDialogMessage().
148  // CWindowAutoLifetime creates the window in the constructor (taking the parent window as a parameter) and deletes the object when the window has been destroyed (through WTL's OnFinalMessage).
150  } catch(std::exception const & e) {
151  popup_message::g_complain("Dialog creation failure", e);
152  }
153 }
std::exception exception
Definition: primitives.h:193
HWND get_main_window()
Retrieves main app window. WARNING: this is provided for parent of dialog windows and such only; usin...
static void g_complain(const char *what)