Drag & Drop
jjuiddong
DragAcceptFiles(true); case WM_DROPFILES: { HDROP hdrop = (HDROP)wParam; char filePath[ MAX_PATH]; const UINT size = DragQueryFileA(hdrop, 0, filePath, MAX_PATH); if (size == 0) return 0;// handle error... } break;