Citation :
 
 
 Si kk'1 peut m'expliquer ça il sera le bienvenu: pour être sûr que je choppe bien mon événement WM_DROPFILES j'ai ajouté à mon dialog une méthode
  Code :
 - BOOL CRotateBaseAdminDlg::PreTranslateMessage( MSG* pMsg )
 - {
 - if(pMsg->message == WM_DROPFILES)
 - 	AfxMessageBox("Je le tiens!" );
 - return 0; //pour qu'il traite les messages comme si de rien n'était
 - }
 
  |  
 
   Mais j'avais auparavant noté que:
  Code :
 - CWnd::OnDropFiles 
 - afx_msg void OnDropFiles( HDROP hDropInfo );
 
  |  
 
  
  Citation :
 
 
 The framework calls this member function when the user releases the left mouse button over a window that has registered itself as the recipient of dropped files.
 
   |  
 
   donc j'ai ajouté ma fonction
  Code :
 - void CRotateBaseAdminDlg::OnDropFiles(HDROP hDropInfo)
 - {
 - 	AfxMessageBox("Je le tiens toujours!" );
 - }
 
  |  
 
   Bien entendu, lorsque je droppe un dossier, il m'affiche le premier mais pas le second... 
 Moi ce que je veux, c'est le second, juste...  
 
   |