Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionHWND HWND_fleches = CreateWindowEx(0, "UPDOWN_CLASS", "", WS_CHILD|WS_VISIBLE, 0, 0, 20, 30, HWND_Edit, (HMENU)101, hThisInstance, NULL);
HWND HWND_fleches; HWND_fleches = CreateWindowEx(...); if ( HWND_fleches == NULL ) { // Mauvais handle }
UDM_SETRANGE wParam = 0; lParam = (LPARAM) MAKELONG((short) nUpper, (short) nLower); Parameters nUpper and nLower Maximum position and minimum position for the up-down control. Neither position can be greater than the UD_MAXVAL value or less than the UD_MINVAL value. In addition, the difference between the two positions cannot exceed UD_MAXVAL.