foobar2000 SDK  2015-08-03
Public Member Functions | Data Fields | Private Member Functions | Private Attributes
CDialogWithTooltip< T >

#include <misc.h>

+ Inheritance diagram for CDialogWithTooltip< T >:

Public Member Functions

 BEGIN_MSG_MAP (CDialogWithTooltip) MSG_WM_DESTROY(OnDestroy) END_MSG_MAP() void ShowTip(UINT id
 
void HideTip ()
 
void ShowTip (HWND child, const TCHAR *label)
 
void ShowTipF (UINT id, const TCHAR *label)
 
void ShowTipF (HWND child, const TCHAR *label)
 

Data Fields

const TCHAR * label
 

Private Member Functions

void OnDestroy ()
 

Private Attributes

CPopupTooltipMessage m_tip
 

Detailed Description

template<typename T>
class CDialogWithTooltip< T >

Definition at line 427 of file misc.h.

Member Function Documentation

template<typename T >
CDialogWithTooltip< T >::BEGIN_MSG_MAP ( CDialogWithTooltip< T )
template<typename T >
void CDialogWithTooltip< T >::HideTip ( )
inline

Definition at line 446 of file misc.h.

446 {m_tip.Hide();}
CPopupTooltipMessage m_tip
Definition: misc.h:449
template<typename T >
void CDialogWithTooltip< T >::OnDestroy ( )
inlineprivate

Definition at line 448 of file misc.h.

448 {m_tip.ShutDown(); SetMsgHandled(FALSE); }
CPopupTooltipMessage m_tip
Definition: misc.h:449
void ShutDown()
Definition: misc.h:396
template<typename T >
void CDialogWithTooltip< T >::ShowTip ( HWND  child,
const TCHAR *  label 
)
inline

Definition at line 436 of file misc.h.

436  {
437  m_tip.Show(label, child);
438  }
CPopupTooltipMessage m_tip
Definition: misc.h:449
void Show(const TCHAR *message, CWindow wndParent)
Definition: misc.h:367
const TCHAR * label
Definition: misc.h:433
template<typename T >
void CDialogWithTooltip< T >::ShowTipF ( UINT  id,
const TCHAR *  label 
)
inline

Definition at line 440 of file misc.h.

440  {
441  m_tip.ShowFocus(label, GetDlgItem(id));
442  }
CPopupTooltipMessage m_tip
Definition: misc.h:449
const TCHAR * label
Definition: misc.h:433
void ShowFocus(const TCHAR *message, CWindow wndParent)
Definition: misc.h:364
template<typename T >
void CDialogWithTooltip< T >::ShowTipF ( HWND  child,
const TCHAR *  label 
)
inline

Definition at line 443 of file misc.h.

443  {
444  m_tip.ShowFocus(label, child);
445  }
CPopupTooltipMessage m_tip
Definition: misc.h:449
const TCHAR * label
Definition: misc.h:433
void ShowFocus(const TCHAR *message, CWindow wndParent)
Definition: misc.h:364

Field Documentation

template<typename T >
const TCHAR* CDialogWithTooltip< T >::label
Initial value:
{
m_tip.Show(label, GetDlgItem(id))

Definition at line 433 of file misc.h.

template<typename T >
CPopupTooltipMessage CDialogWithTooltip< T >::m_tip
private

Definition at line 449 of file misc.h.


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