Bonjour,
Comment rafraichir une fenetre ?
merci
Bonjour,
Comment rafraichir une fenetre ?
merci
Salut
API :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 InvalidateRect This function adds a rectangle to the specified window’s update region. The update region represents the portion of the window’s client area that must be redrawn. BOOL InvalidateRect( HWND hWnd, const RECT *lpRect, BOOL bErase ); Parameters hWnd Handle to the window whose update region has changed. If this parameter is NULL, the system invalidates and redraws all windows, and sends the WM_ERASEBKGND message to the window procedure before the function returns. lpRect Long pointer to a RECT structure that contains the client coordinates of the rectangle to be added to the update region. If this parameter is NULL, the entire client area is added to the update region. bErase Boolean that specifies whether the background within the update region is to be erased when the update region is processed. If this parameter is TRUE, the background is erased when the BeginPaint function is called. If this parameter is FALSE, the background remains unchanged. Return Values Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError. To get extended error information, call GetLastError.
Vous avez un bloqueur de publicités installé.
Le Club Developpez.com n'affiche que des publicités IT, discrètes et non intrusives.
Afin que nous puissions continuer à vous fournir gratuitement du contenu de qualité, merci de nous soutenir en désactivant votre bloqueur de publicités sur Developpez.com.
Partager