Bonjour

J'aimerai changer le curseur d'un bouton. j'ai utilisé une classe toute faite.
J'ai inclus dans mes ressources le pointeur harrow.h (sous Xp). Lors que je donne l'ID de la ressource à la fonction. Il me dit 'undeclared identifier'.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
void Set_CTButton(CButtonST * m_Button)
	{
		m_Button->SetFlat(false);
		m_Button->SetColor(CButtonST::BTNST_COLOR_BK_OUT,RGB(103,61,255),true);
		m_Button->SetColor(CButtonST::BTNST_COLOR_BK_IN,RGB(132,159,255),true);
		m_Button->SetColor(CButtonST::BTNST_COLOR_BK_FOCUS,RGB(40,55,255),true);
		m_Button->SetColor(CButtonST::BTNST_COLOR_FG_IN,RGB(255,255,255),true);
		m_Button->SetColor(CButtonST::BTNST_COLOR_FG_OUT,RGB(255,255,255),true);
		m_Button->SetColor(CButtonST::BTNST_COLOR_FG_FOCUS,RGB(255,255,255),true);
		m_Button->SetPressedStyle(CButtonST::BTNST_PRESSED_TOPBOTTOM);
		m_Button->SetBtnCursor(IDC_NODROP);
 
		m_Button->SetTooltipText("Cc");
	}

Il fait pareil avec "IDC_NODROP" qui est inclus dans Vc++ 6.0

IL y a t'il un "include" manquant ou autre chose ?
Merci

Julien