dialog_helper::dialog_modal Class Reference

This class is meant to be instantiated on-stack, as a local variable. Using new/delete operators instead or even making this a member of another object works, but does not make much sense because of the way this works (single run() call). More...

#include <win32_dialog.h>

List of all members.

Public Member Functions

int run (unsigned p_id, HWND p_parent, HINSTANCE p_instance=core_api::get_my_instance())

Protected Member Functions

virtual BOOL on_message (UINT msg, WPARAM wp, LPARAM lp)=0
 dialog_modal ()
void end_dialog (int p_code)
HWND get_wnd () const


Detailed Description

This class is meant to be instantiated on-stack, as a local variable. Using new/delete operators instead or even making this a member of another object works, but does not make much sense because of the way this works (single run() call).

Constructor & Destructor Documentation

dialog_helper::dialog_modal::dialog_modal (  )  [inline, protected]


Member Function Documentation

int dialog_helper::dialog_modal::run ( unsigned  p_id,
HWND  p_parent,
HINSTANCE  p_instance = core_api::get_my_instance() 
)

virtual BOOL dialog_helper::dialog_modal::on_message ( UINT  msg,
WPARAM  wp,
LPARAM  lp 
) [protected, pure virtual]

void dialog_helper::dialog_modal::end_dialog ( int  p_code  )  [protected]

HWND dialog_helper::dialog_modal::get_wnd (  )  const [inline, protected]


The documentation for this class was generated from the following file:

Generated on Fri Apr 18 13:56:58 2008 for foobar2000 SDK by  doxygen 1.5.5