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 CMyControl

#include <MyControl.h>

Graphe d'héritage de la classe CMyControl

CMyButton CMyListView CMyRichEdit CMySpin CMyStatic CMyTabCtrl CMyTree CMyWindow CMyWindow

Membres publics

 CMyControl (BOOL noTitle=FALSE)
 CMyControl (HWND hWnd)
virtual ~CMyControl ()
void operator= (HWND hWnd)
HWND operator[] (int index)
BOOL Enable (BOOL enable)
void DragAcceptFile (BOOL drag)
BOOL SetIcon (long idIcon)
BOOL ShowWindow (BOOL isShow)
BOOL DestroyWindow ()
BOOL SetForegroundWindow ()
HWND SetActiveWindow ()
HWND SetFocus ()
BOOL IsFocus ()
BOOL IsToolWindow ()
HWND GetParent ()
HINSTANCE GethInstance ()
HWND GetHWND ()
HWND CreateDialog (long idDialog, DLGPROC callBack, long param=NULL)
int ModalDialog (long idDialog, DLGPROC callBack, long param=NULL)
BOOL GetWindowRect (RECT *rect)
 operator HWND () const
BOOL GetText (MyString &dest, int idChildControl=0)
BOOL SetText (char *dest, int idChildControl=0)
int GetDlgCtrlID ()
int GetItemHeight ()
void SetItemHeight (int height)
BOOL InvalidateRect (RECT *rect=NULL, BOOL erase=TRUE)
BOOL GetClientRect (RECT *rect)
BOOL SetPos (int x, int y, HWND hWndOrigine=NULL)
BOOL SetSize (int dx, int dy)
BOOL GetSize (int *dx, int *dy)
BOOL GetPos (int *x, int *y)
LRESULT SendMessage (UINT Msg, WPARAM wParam, LPARAM lParam)
void PostMessage (UINT Msg, WPARAM wParam, LPARAM lParam)
DWORD GetStyle ()
DWORD GetStyleEx ()
LONG SetStyle (DWORD dwStyle)
LONG SetStyle (DWORD dwStyle, BOOL set)
LONG SetStyleEx (DWORD dwStyle)
LONG SetStyleEx (DWORD dwStyle, BOOL set)
void SetTopMost (BOOL set)
int MessageBox (char *text, char *caption, UINT type=0)
HMENU GetSystemMenu (BOOL bRevert)
HWND SetCapture ()

Attributs Publics

CMyScroll scroll
CMySubClassing sub
CMySubClassing subParent

Attributs Protégés

HWND m_hWndControl

Attributs Privés

HINSTANCE m_hInstance
int m_itemHeight

Documentation des contructeurs et destructeurs

CMyControl::CMyControl BOOL  noTitle = FALSE  ) 
 

CMyControl::CMyControl HWND  hWnd  )  [inline]
 

CMyControl::~CMyControl  )  [virtual]
 


Documentation des méthodes

HWND CMyControl::CreateDialog long  idDialog,
DLGPROC  callBack,
long  param = NULL
 

BOOL CMyControl::DestroyWindow  ) 
 

void CMyControl::DragAcceptFile BOOL  drag  ) 
 

BOOL CMyControl::Enable BOOL  enable  ) 
 

BOOL CMyControl::GetClientRect RECT *  rect  ) 
 

int CMyControl::GetDlgCtrlID  ) 
 

HINSTANCE CMyControl::GethInstance  ) 
 

HWND CMyControl::GetHWND  )  [inline]
 

int CMyControl::GetItemHeight  )  [inline]
 

Redéfinie dans CMyTree.

HWND CMyControl::GetParent  ) 
 

BOOL CMyControl::GetPos int *  x,
int *  y
 

BOOL CMyControl::GetSize int *  dx,
int *  dy
 

DWORD CMyControl::GetStyle  ) 
 

DWORD CMyControl::GetStyleEx  ) 
 

HMENU CMyControl::GetSystemMenu BOOL  bRevert  ) 
 

BOOL CMyControl::GetText MyString dest,
int  idChildControl = 0
 

BOOL CMyControl::GetWindowRect RECT *  rect  ) 
 

BOOL CMyControl::InvalidateRect RECT *  rect = NULL,
BOOL  erase = TRUE
 

BOOL CMyControl::IsFocus  )  [inline]
 

BOOL CMyControl::IsToolWindow  ) 
 

int CMyControl::MessageBox char *  text,
char *  caption,
UINT  type = 0
 

int CMyControl::ModalDialog long  idDialog,
DLGPROC  callBack,
long  param = NULL
 

CMyControl::operator HWND  )  const [inline]
 

void CMyControl::operator= HWND  hWnd  ) 
 

Redéfinie dans CMyButton, CMyListView, CMyRichEdit, CMyStatic, CMyTabCtrl, CMyTree, CMyWindow, et CMyWindow.

HWND CMyControl::operator[] int  index  ) 
 

Redéfinie dans CMyTabCtrl.

void CMyControl::PostMessage UINT  Msg,
WPARAM  wParam,
LPARAM  lParam
 

LRESULT CMyControl::SendMessage UINT  Msg,
WPARAM  wParam,
LPARAM  lParam
 

HWND CMyControl::SetActiveWindow  ) 
 

HWND CMyControl::SetCapture  ) 
 

HWND CMyControl::SetFocus  )  [inline]
 

BOOL CMyControl::SetForegroundWindow  ) 
 

BOOL CMyControl::SetIcon long  idIcon  ) 
 

void CMyControl::SetItemHeight int  height  )  [inline]
 

Redéfinie dans CMyListView, et CMyTree.

BOOL CMyControl::SetPos int  x,
int  y,
HWND  hWndOrigine = NULL
 

BOOL CMyControl::SetSize int  dx,
int  dy
 

LONG CMyControl::SetStyle DWORD  dwStyle,
BOOL  set
 

LONG CMyControl::SetStyle DWORD  dwStyle  ) 
 

LONG CMyControl::SetStyleEx DWORD  dwStyle,
BOOL  set
 

LONG CMyControl::SetStyleEx DWORD  dwStyle  ) 
 

BOOL CMyControl::SetText char *  dest,
int  idChildControl = 0
 

void CMyControl::SetTopMost BOOL  set  ) 
 

BOOL CMyControl::ShowWindow BOOL  isShow  ) 
 


Documentation des données imbriquées

HINSTANCE CMyControl::m_hInstance [private]
 

HWND CMyControl::m_hWndControl [protected]
 

int CMyControl::m_itemHeight [private]
 

CMyScroll CMyControl::scroll
 

CMySubClassing CMyControl::sub
 

CMySubClassing CMyControl::subParent
 


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