Bonjour, j'aimerais savoir comment poourrait on placer un CDialog au milieu
j'ai trouvé ceci, mais je ne sais pas trop comment atteidnre le milieu
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 CRect rect; GetWindowRect( rect ); ::SetWindowPos(m_hWnd , HWND_TOPMOST, rect.left, rect.top, rect.Width(), rect.Height(), SWP_SHOWWINDOW);
Partager