Page principale | Hiérarchie des classes | Liste par ordre alphabétique | Liste des composants | Liste des fichiers | Composants | Déclarations | Pages associées

Référence de la classe CMyMenu

#include <MyMenu.h>


Membres publics

 CMyMenu ()
void AddTitle (char *title)
void operator= (HMENU hMenu)
void SetColor (long cl)
void SetGradientColor (long cl)
void SetTextColor (long cl)
void SetEdge (bool shown, UINT remove=0, UINT add=0)
long GetColor ()
long GetGradientColor ()
long GetTextColor ()
long GetEdge ()
virtual ~CMyMenu ()
virtual void MeasureItem (LPMEASUREITEMSTRUCT lpMIS)
virtual void DrawItem (LPDRAWITEMSTRUCT lpDIS)

Membres protégés

HFONT CreatePopupMenuTitleFont ()
BOOL GradientFill (HDC hdc, CONST PTRIVERTEX pVertex, DWORD dwNumVertex, CONST PVOID pMesh, DWORD dwNumMesh, DWORD dwMode)

Attributs Protégés

HFONT m_hFont
HMENU m_hMenu
MyString m_title
LPFNDLLFUNC1 dllfunc_GradientFill
HINSTANCE hinst_msimg32
long clRight
long clLeft
long clText
bool bDrawEdge
UINT flag_edge
bool m_bCanDoGradientFill

Types Privés

typedef UINT(CALLBACK * LPFNDLLFUNC1 )(HDC, CONST PTRIVERTEX, DWORD, CONST PVOID, DWORD, DWORD)


Documentation des types imbriqués

typedef UINT(CALLBACK* CMyMenu::LPFNDLLFUNC1)(HDC,CONST PTRIVERTEX,DWORD,CONST PVOID,DWORD,DWORD) [private]
 


Documentation des contructeurs et destructeurs

CMyMenu::CMyMenu  ) 
 

CMyMenu::~CMyMenu  )  [virtual]
 


Documentation des méthodes

void CMyMenu::AddTitle char *  title  ) 
 

HFONT CMyMenu::CreatePopupMenuTitleFont  )  [protected]
 

void CMyMenu::DrawItem LPDRAWITEMSTRUCT  lpDIS  )  [virtual]
 

long CMyMenu::GetColor  )  [inline]
 

long CMyMenu::GetEdge  )  [inline]
 

long CMyMenu::GetGradientColor  )  [inline]
 

long CMyMenu::GetTextColor  )  [inline]
 

BOOL CMyMenu::GradientFill HDC  hdc,
CONST PTRIVERTEX  pVertex,
DWORD  dwNumVertex,
CONST PVOID  pMesh,
DWORD  dwNumMesh,
DWORD  dwMode
[protected]
 

void CMyMenu::MeasureItem LPMEASUREITEMSTRUCT  lpMIS  )  [virtual]
 

void CMyMenu::operator= HMENU  hMenu  )  [inline]
 

void CMyMenu::SetColor long  cl  )  [inline]
 

void CMyMenu::SetEdge bool  shown,
UINT  remove = 0,
UINT  add = 0
[inline]
 

void CMyMenu::SetGradientColor long  cl  )  [inline]
 

void CMyMenu::SetTextColor long  cl  )  [inline]
 


Documentation des données imbriquées

bool CMyMenu::bDrawEdge [protected]
 

long CMyMenu::clLeft [protected]
 

long CMyMenu::clRight [protected]
 

long CMyMenu::clText [protected]
 

LPFNDLLFUNC1 CMyMenu::dllfunc_GradientFill [protected]
 

UINT CMyMenu::flag_edge [protected]
 

HINSTANCE CMyMenu::hinst_msimg32 [protected]
 

bool CMyMenu::m_bCanDoGradientFill [protected]
 

HFONT CMyMenu::m_hFont [protected]
 

HMENU CMyMenu::m_hMenu [protected]
 

MyString CMyMenu::m_title [protected]
 


La documentation associée à cette classe a été générée à partir des fichiers suivants :
Généré le Thu Apr 8 18:58:44 2004 pour SFC par doxygen 1.3.6