cs_Arnotic
Messages postés933Date d'inscriptiondimanche 1 avril 2001StatutMembreDernière intervention 9 janvier 2012 17 déc. 2004 à 17:29
Salut,
Source en provenance de MSDN :
/* CREATE A TOOLTIP CONTROL OVER THE ENTIRE WINDOW AREA */
void CreateMyTooltip (HWND hwnd)
{
// struct specifying control classes to register
INITCOMMONCONTROLSEX iccex;
HWND hwndTT; // handle to the ToolTip control
// struct specifying info about tool in ToolTip control
TOOLINFO ti;
unsigned int uid = 0; // for ti initialization
char strTT[30] = "This is your ToolTip string.";
LPTSTR lptstr = strTT;
RECT rect; // for client area coordinates
yoyo269
Messages postés1403Date d'inscriptionlundi 23 février 2004StatutMembreDernière intervention11 janvier 20092 17 déc. 2004 à 19:22
Merci énormément Arnotic,
c'est exactement ce que je voulais.
Encore merci.
Par contre vecchio, la source que tu m'indiques je la connais mais elle ne convient pas à mon prog où j'utilise createwindowex.
Merci quand même d'avoir pris du temps à vouloir m'aider.