add doxygen @todo tags to create a TODO list

svn path=/trunk/; revision=6512
This commit is contained in:
Martin Fuchs 2003-11-02 11:33:00 +00:00
parent f1cf86e42b
commit 0f7b9904ab
17 changed files with 46 additions and 45 deletions

View file

@ -168,7 +168,7 @@ LRESULT DesktopWindow::Init(LPCREATESTRUCT pcs)
hr = _pShellView->CreateViewWindow(NULL, &fs, this, &rect, &hWndView); hr = _pShellView->CreateViewWindow(NULL, &fs, this, &rect, &hWndView);
//TODO: use IShellBrowser::GetViewStateStream() to restore previous view state -> see SHOpenRegStream() ///@todo use IShellBrowser::GetViewStateStream() to restore previous view state -> see SHOpenRegStream()
if (SUCCEEDED(hr)) { if (SUCCEEDED(hr)) {
_pShellView->UIActivate(SVUIA_ACTIVATE_FOCUS); _pShellView->UIActivate(SVUIA_ACTIVATE_FOCUS);
@ -241,7 +241,7 @@ LRESULT DesktopWindow::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
case WM_DESTROY: case WM_DESTROY:
//TODO: use IShellBrowser::GetViewStateStream() and _pShellView->SaveViewState() to store view state ///@todo use IShellBrowser::GetViewStateStream() and _pShellView->SaveViewState() to store view state
if (SetShellWindow) if (SetShellWindow)
SetShellWindow(0); SetShellWindow(0);

View file

@ -231,7 +231,7 @@ void FindProgramDlg::add_entry(const FPDEntry& cache_entry)
String lwr_path = cache_entry._path; String lwr_path = cache_entry._path;
String lwr_name = cache_entry._shell_entry->_display_name; String lwr_name = cache_entry._shell_entry->_display_name;
#ifndef __WINE__ //TODO #ifndef __WINE__ ///@todo
_tcslwr((LPTSTR)lwr_path.c_str()); _tcslwr((LPTSTR)lwr_path.c_str());
_tcslwr((LPTSTR)lwr_name.c_str()); _tcslwr((LPTSTR)lwr_name.c_str());
#endif #endif
@ -289,7 +289,7 @@ void FindProgramDlg::LaunchSelected()
Lock lock(_thread._crit_sect); Lock lock(_thread._crit_sect);
int count = ListView_GetSelectedCount(_list_ctrl); int count = ListView_GetSelectedCount(_list_ctrl);
//TODO: ask user if there are many selected items ///@todo ask user if there are many selected items
for(int idx=-1; (idx=ListView_GetNextItem(_list_ctrl, idx, LVNI_SELECTED))!=-1; ) { for(int idx=-1; (idx=ListView_GetNextItem(_list_ctrl, idx, LVNI_SELECTED))!=-1; ) {
LPARAM lparam = ListView_GetItemData(_list_ctrl, idx); LPARAM lparam = ListView_GetItemData(_list_ctrl, idx);

View file

@ -166,7 +166,7 @@ int explorer_main(HINSTANCE hInstance, HWND hwndDesktop, int cmdshow)
if (cmdshow != SW_HIDE) { if (cmdshow != SW_HIDE) {
/* // don't maximize if being called from the ROS desktop /* // don't maximize if being called from the ROS desktop
if (cmdshow == SW_SHOWNORMAL) if (cmdshow == SW_SHOWNORMAL)
//TODO: read window placement from registry ///@todo read window placement from registry
cmdshow = SW_MAXIMIZE; cmdshow = SW_MAXIMIZE;
*/ */

View file

@ -53,7 +53,7 @@ struct ResString : public String
ResString(UINT nid); ResString(UINT nid);
}; };
/// /// convenient loading of standard (32x32) icon resources
struct ResIcon struct ResIcon
{ {
ResIcon(UINT nid); ResIcon(UINT nid);
@ -64,6 +64,7 @@ protected:
HICON _hIcon; HICON _hIcon;
}; };
/// convenient loading of small (16x16) icon resources
struct SmallIcon struct SmallIcon
{ {
SmallIcon(UINT nid); SmallIcon(UINT nid);

View file

@ -130,7 +130,7 @@ CFG=make_explorer - Win32 doxy docu
# PROP Intermediate_Dir "Debug" # PROP Intermediate_Dir "Debug"
# PROP Cmd_Line "msdevfilt -java make docu" # PROP Cmd_Line "msdevfilt -java make docu"
# PROP Rebuild_Opt "full-docu" # PROP Rebuild_Opt "full-docu"
# PROP Target_File "doxy-doc\html\index.html" # PROP Target_File "explorer.exe"
# PROP Bsc_Name "" # PROP Bsc_Name ""
# PROP Target_Dir "" # PROP Target_Dir ""

View file

@ -121,7 +121,7 @@ FileChildWindow::FileChildWindow(HWND hwnd, const FileChildWndInfo& info)
_root._entry->_data.dwFileAttributes = FILE_ATTRIBUTE_DIRECTORY; _root._entry->_data.dwFileAttributes = FILE_ATTRIBUTE_DIRECTORY;
if (info._open_mode & OWM_EXPLORE) //TODO: Is not-explore-mode for FileChildWindow completely implemented? if (info._open_mode & OWM_EXPLORE) ///@todo Is not-explore-mode for FileChildWindow completely implemented?
_left_hwnd = *(_left=new Pane(_hwnd, IDW_TREE_LEFT, IDW_HEADER_LEFT, _root._entry, true, 0)); _left_hwnd = *(_left=new Pane(_hwnd, IDW_TREE_LEFT, IDW_HEADER_LEFT, _root._entry, true, 0));
_right_hwnd = *(_right=new Pane(_hwnd, IDW_TREE_RIGHT, IDW_HEADER_RIGHT, NULL, false, COL_SIZE|COL_DATE|COL_TIME|COL_ATTRIBUTES|COL_INDEX|COL_LINKS)); _right_hwnd = *(_right=new Pane(_hwnd, IDW_TREE_RIGHT, IDW_HEADER_RIGHT, NULL, false, COL_SIZE|COL_DATE|COL_TIME|COL_ATTRIBUTES|COL_INDEX|COL_LINKS));
@ -136,7 +136,7 @@ FileChildWindow::FileChildWindow(HWND hwnd, const FileChildWndInfo& info)
ListBox_SetCurSel(_left_hwnd, idx); ListBox_SetCurSel(_left_hwnd, idx);
} }
//TODO: scroll to visibility ///@todo scroll to visibility
} }

View file

@ -91,7 +91,7 @@ public:
}; };
struct ExecuteDialog { // TODO: integrate dialogs with Window class struct ExecuteDialog { ///@todo use class Dialog
TCHAR cmd[MAX_PATH]; TCHAR cmd[MAX_PATH];
int cmdshow; int cmdshow;

View file

@ -302,7 +302,7 @@ LRESULT MainFrame::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
shell_path = path; // create as "rooted" window shell_path = path; // create as "rooted" window
} }
} else { } else {
//TODO: read paths and window placements from registry ///@todo read paths and window placements from registry
GetCurrentDirectory(MAX_PATH, buffer); GetCurrentDirectory(MAX_PATH, buffer);
path = buffer; path = buffer;
} }
@ -365,12 +365,12 @@ int MainFrame::Command(int id, int code)
return 0; return 0;
} }
GetCurrentDirectory(MAX_PATH, path); //TODO: store last directory per drive GetCurrentDirectory(MAX_PATH, path); ///@todo store last directory per drive
#ifndef _NO_MDI #ifndef _NO_MDI
FileChildWindow::create(_hmdiclient, FileChildWndInfo(path)); FileChildWindow::create(_hmdiclient, FileChildWndInfo(path));
#else #else
//TODO: SDI implementation ///@todo SDI implementation
#endif #endif
return 1; return 1;
} }
@ -388,7 +388,7 @@ int MainFrame::Command(int id, int code)
#ifndef _NO_MDI #ifndef _NO_MDI
FileChildWindow::create(_hmdiclient, FileChildWndInfo(path)); FileChildWindow::create(_hmdiclient, FileChildWndInfo(path));
#else #else
//TODO: SDI implementation ///@todo SDI implementation
#endif #endif
break;} break;}
@ -454,7 +454,7 @@ int MainFrame::Command(int id, int code)
#ifndef _NO_MDI #ifndef _NO_MDI
FileChildWindow::create(_hmdiclient, FileChildWndInfo(path)); FileChildWindow::create(_hmdiclient, FileChildWndInfo(path));
#else #else
//TODO: SDI implementation ///@todo SDI implementation
#endif #endif
break;} break;}
#endif #endif
@ -469,7 +469,7 @@ int MainFrame::Command(int id, int code)
#ifndef _NO_MDI #ifndef _NO_MDI
FileChildWindow::create(_hmdiclient, ShellChildWndInfo(path,DesktopFolderPath())); FileChildWindow::create(_hmdiclient, ShellChildWndInfo(path,DesktopFolderPath()));
#else #else
//TODO: SDI implementation ///@todo SDI implementation
#endif #endif
break;} break;}
@ -486,7 +486,7 @@ int MainFrame::Command(int id, int code)
ShellBrowserChild::create(_hmdiclient, ShellChildWndInfo(path,DesktopFolderPath())); ShellBrowserChild::create(_hmdiclient, ShellChildWndInfo(path,DesktopFolderPath()));
break;} break;}
//TODO: There are even more menu items! ///@todo There are even more menu items!
case ID_ABOUT: case ID_ABOUT:
ShellAbout(_hwnd, ResString(IDS_TITLE), NULL, 0); ShellAbout(_hwnd, ResString(IDS_TITLE), NULL, 0);
@ -497,7 +497,7 @@ int MainFrame::Command(int id, int code)
break; break;
default: default:
/*TODO: if (wParam >= PM_FIRST_LANGUAGE && wParam <= PM_LAST_LANGUAGE) /*@todo if (wParam >= PM_FIRST_LANGUAGE && wParam <= PM_LAST_LANGUAGE)
STRING_SelectLanguageByNumber(wParam - PM_FIRST_LANGUAGE); STRING_SelectLanguageByNumber(wParam - PM_FIRST_LANGUAGE);
else */if ((id<IDW_FIRST_CHILD || id>=IDW_FIRST_CHILD+0x100) && else */if ((id<IDW_FIRST_CHILD || id>=IDW_FIRST_CHILD+0x100) &&
(id<SC_SIZE || id>SC_RESTORE)) (id<SC_SIZE || id>SC_RESTORE))

View file

@ -140,14 +140,14 @@ LRESULT Pane::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
child->set_focus_pane(this); child->set_focus_pane(this);
ListBox_SetSel(_hwnd, TRUE, 1); ListBox_SetSel(_hwnd, TRUE, 1);
/*TODO: check menu items */ /*@todo check menu items */
break;} break;}
case WM_KEYDOWN: { case WM_KEYDOWN: {
FileChildWindow* child = (FileChildWindow*) SendMessage(GetParent(_hwnd), PM_GET_FILEWND_PTR, 0, 0); FileChildWindow* child = (FileChildWindow*) SendMessage(GetParent(_hwnd), PM_GET_FILEWND_PTR, 0, 0);
if (wparam == VK_TAB) { if (wparam == VK_TAB) {
/*TODO: SetFocus(g_Globals.hdrivebar) */ /*@todo SetFocus(g_Globals.hdrivebar) */
child->switch_focus_pane(); child->switch_focus_pane();
} }
break;} break;}
@ -159,7 +159,7 @@ LRESULT Pane::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
bool Pane::create_header(HWND hparent, int id) bool Pane::create_header(HWND hparent, int id)
{ {
HWND hwnd = CreateWindow(WC_HEADER, 0, WS_CHILD|WS_VISIBLE|HDS_HORZ/*TODO: |HDS_BUTTONS + sort orders*/, HWND hwnd = CreateWindow(WC_HEADER, 0, WS_CHILD|WS_VISIBLE|HDS_HORZ/*@todo |HDS_BUTTONS + sort orders*/,
0, 0, 0, 0, hparent, (HMENU)id, g_Globals._hInstance, 0); 0, 0, 0, 0, hparent, (HMENU)id, g_Globals._hInstance, 0);
if (!hwnd) if (!hwnd)
return false; return false;
@ -513,7 +513,7 @@ void Pane::draw_item(LPDRAWITEMSTRUCT dis, Entry* entry, int calcWidthCol)
if (calcWidthCol == -1) if (calcWidthCol == -1)
_out_wrkr.output_number(dis, _positions, col, buffer); _out_wrkr.output_number(dis, _positions, col, buffer);
else if (calcWidthCol==col || calcWidthCol==COLUMNS) else if (calcWidthCol==col || calcWidthCol==COLUMNS)
calc_width(dis, col, buffer); // TODO: not ever time enough calc_width(dis, col, buffer); ///@todo not in every case time enough
++col; ++col;
} }
@ -970,7 +970,7 @@ BOOL Pane::command(UINT cmd)
InvalidateRect(_hwnd, 0, TRUE); InvalidateRect(_hwnd, 0, TRUE);
break;} break;}
/* TODO: more command ids... */ /*@todo more command ids... */
default: default:
return FALSE; return FALSE;

View file

@ -117,7 +117,7 @@ void ShellBrowserChild::InitializeTree()
//@@ _root._entry->read_tree(shell_info._root_shell_path.get_folder(), info._shell_path, SORT_NAME/*_sortOrder*/); //@@ _root._entry->read_tree(shell_info._root_shell_path.get_folder(), info._shell_path, SORT_NAME/*_sortOrder*/);
/* TODO: /*@todo
we should call read_tree() here to iterate through the hierarchy and open all folders from shell_info._root_shell_path to shell_info._shell_path we should call read_tree() here to iterate through the hierarchy and open all folders from shell_info._root_shell_path to shell_info._shell_path
-> see FileChildWindow::FileChildWindow() -> see FileChildWindow::FileChildWindow()
*/ */
@ -287,7 +287,7 @@ void ShellBrowserChild::OnTreeGetDispInfo(int idCtrl, LPNMHDR pnmh)
/* /*
if (lpdi->item.mask & TVIF_TEXT) if (lpdi->item.mask & TVIF_TEXT)
if (SHGetFileInfo((LPCTSTR)pidl, 0, &sfi, sizeof(sfi), SHGFI_PIDL|SHGFI_DISPLAYNAME)) if (SHGetFileInfo((LPCTSTR)pidl, 0, &sfi, sizeof(sfi), SHGFI_PIDL|SHGFI_DISPLAYNAME))
lstrcpy(lpdi->item.pszText, sfi.szDisplayName); //TODO: look at cchTextMax if there is enough space available lstrcpy(lpdi->item.pszText, sfi.szDisplayName); ///@todo look at cchTextMax if there is enough space available
else else
lpdi->item.pszText = entry->_data.cFileName; lpdi->item.pszText = entry->_data.cFileName;
*/ */

View file

@ -42,7 +42,7 @@ struct ShellBrowserChild : public ChildWindow, public IShellBrowserImpl
ChildWindow* child = ChildWindow::create(hmdiclient, info._pos.rcNormalPosition, ChildWindow* child = ChildWindow::create(hmdiclient, info._pos.rcNormalPosition,
WINDOW_CREATOR_INFO(ShellBrowserChild,ShellChildWndInfo), CLASSNAME_CHILDWND, NULL, &info); WINDOW_CREATOR_INFO(ShellBrowserChild,ShellChildWndInfo), CLASSNAME_CHILDWND, NULL, &info);
#else #else
//TODO: SDI implementation ///@todo SDI implementation
#endif #endif
ShowWindow(*child, info._pos.showCmd); ShowWindow(*child, info._pos.showCmd);

View file

@ -113,14 +113,14 @@ void DesktopBar::RegisterHotkeys()
// register hotkey WIN+E opening explorer // register hotkey WIN+E opening explorer
RegisterHotKey(_hwnd, 0, MOD_WIN, 'E'); RegisterHotKey(_hwnd, 0, MOD_WIN, 'E');
//TODO: register all common hotkeys ///@todo register all common hotkeys
} }
void DesktopBar::ProcessHotKey(int id_hotkey) void DesktopBar::ProcessHotKey(int id_hotkey)
{ {
switch(id_hotkey) { switch(id_hotkey) {
case 0: explorer_show_frame(_hwnd, SW_SHOWNORMAL); break; case 0: explorer_show_frame(_hwnd, SW_SHOWNORMAL); break;
//TODO: implement all common hotkeys ///@todo implement all common hotkeys
} }
} }
@ -197,7 +197,7 @@ LRESULT DesktopBar::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
int DesktopBar::Command(int id, int code) int DesktopBar::Command(int id, int code)
{ {
switch(id) { switch(id) {
case IDC_START: //TODO: startmenu should popup for WM_LBUTTONDOWN, not for WM_COMMAND case IDC_START: ///@todo startmenu should popup for WM_LBUTTONDOWN, not for WM_COMMAND
ShowStartMenu(); ShowStartMenu();
break; break;
@ -233,7 +233,7 @@ LRESULT DesktopBar::ProcessCopyData(COPYDATASTRUCT* pcd)
if (pcd->dwData == 1) { if (pcd->dwData == 1) {
TrayNotifyCDS* ptr = (TrayNotifyCDS*) pcd->lpData; TrayNotifyCDS* ptr = (TrayNotifyCDS*) pcd->lpData;
//TODO: process the differnt versions of the NOTIFYICONDATA structure (look at cbSize to decide which one) ///@todo process the differnt versions of the NOTIFYICONDATA structure (look at cbSize to decide which one)
NotifyArea* notify_area = GET_WINDOW(NotifyArea, _hwndNotify); NotifyArea* notify_area = GET_WINDOW(NotifyArea, _hwndNotify);

View file

@ -241,7 +241,7 @@ LRESULT StartMenu::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
// create a floating copy of the current start menu // create a floating copy of the current start menu
WindowRect pos(_hwnd); WindowRect pos(_hwnd);
//TODO: do something similar to StartMenuRoot::TrackStartmenu() in order to automatically close submenus when clicking on the desktop background ///@todo do something similar to StartMenuRoot::TrackStartmenu() in order to automatically close submenus when clicking on the desktop background
StartMenu::Create(pos.left+3, pos.bottom-3, _create_info._folders, 0, _create_info._title, _create_info._creator); StartMenu::Create(pos.left+3, pos.bottom-3, _create_info._folders, 0, _create_info._title, _create_info._creator);
CloseStartMenu(); CloseStartMenu();
} }
@ -262,7 +262,7 @@ LRESULT StartMenu::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
CloseStartMenu(); CloseStartMenu();
break; break;
case PM_STARTENTRY_FOCUSED: { //TODO: use TrackMouseEvent() and WM_MOUSEHOVER to wait a bit before opening submenus case PM_STARTENTRY_FOCUSED: { ///@todo use TrackMouseEvent() and WM_MOUSEHOVER to wait a bit before opening submenus
BOOL hasSubmenu = wparam; BOOL hasSubmenu = wparam;
HWND hctrl = (HWND)lparam; HWND hctrl = (HWND)lparam;
@ -388,7 +388,7 @@ StartMenuEntry& StartMenu::AddEntry(const ShellFolder folder, const ShellEntry*
for(ShellEntryMap::iterator it=_entries.begin(); it!=_entries.end(); ++it) { for(ShellEntryMap::iterator it=_entries.begin(); it!=_entries.end(); ++it) {
StartMenuEntry& sme = it->second; StartMenuEntry& sme = it->second;
if (sme._title == entry_name) //TODO: speed up by using a map indexed by name if (sme._title == entry_name) ///@todo speed up by using a map indexed by name
for(ShellEntrySet::iterator it2=sme._entries.begin(); it2!=sme._entries.end(); ++it2) { for(ShellEntrySet::iterator it2=sme._entries.begin(); it2!=sme._entries.end(); ++it2) {
if ((*it2)->_data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { if ((*it2)->_data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
// merge the new shell entry with the existing of the same name // merge the new shell entry with the existing of the same name
@ -553,7 +553,7 @@ void StartMenu::ActivateEntry(int id, const ShellEntrySet& entries)
// If the entry is no subdirectory, there can only be one shell entry. // If the entry is no subdirectory, there can only be one shell entry.
assert(entries.size()==1); assert(entries.size()==1);
entry->launch_entry(_hwnd); //TODO: launch in the background; specify correct HWND for error message box titles entry->launch_entry(_hwnd); ///@todo launch in the background; specify correct HWND for error message box titles
// close start menus after launching the selected entry // close start menus after launching the selected entry
CloseStartMenu(id); CloseStartMenu(id);
@ -986,7 +986,7 @@ int StartMenuRoot::Command(int id, int code)
void StartMenuRoot::ShowLaunchDialog(HWND hwndDesktopBar) void StartMenuRoot::ShowLaunchDialog(HWND hwndDesktopBar)
{ {
//TODO: All text phrases should be put into the resources. ///@todo All text phrases should be put into the resources.
static LPCSTR szTitle = "Create New Task"; static LPCSTR szTitle = "Create New Task";
static LPCSTR szText = "Type the name of a program, folder, document, or Internet resource, and Task Manager will open it for you."; static LPCSTR szText = "Type the name of a program, folder, document, or Internet resource, and Task Manager will open it for you.";
@ -1021,7 +1021,7 @@ void StartMenuRoot::ShowRestartDialog(HWND hwndOwner, UINT flags)
static DynamicFct<RESTARTWINDOWSDLG> RestartDlg(TEXT("SHELL32"), 59); static DynamicFct<RESTARTWINDOWSDLG> RestartDlg(TEXT("SHELL32"), 59);
if (RestartDlg) if (RestartDlg)
(*RestartDlg)(hwndOwner, (LPWSTR)L"You selected <Log Off>.\n\n", flags); //TODO: ANSI string conversion if needed (*RestartDlg)(hwndOwner, (LPWSTR)L"You selected <Log Off>.\n\n", flags); ///@todo ANSI string conversion if needed
} }
void StartMenuRoot::ShowSearchDialog() void StartMenuRoot::ShowSearchDialog()
@ -1112,7 +1112,7 @@ int BrowseMenu::Command(int id, int code)
break; break;
case IDC_DRIVES: case IDC_DRIVES:
//TODO: exclude removeable drives ///@todo exclude removeable drives
CreateSubmenu(id, CSIDL_DRIVES, ResString(IDS_DRIVES)); CreateSubmenu(id, CSIDL_DRIVES, ResString(IDS_DRIVES));
break; break;
@ -1142,6 +1142,6 @@ void RecentStartMenu::AddEntries()
} }
dir.sort_directory(SORT_DATE); dir.sort_directory(SORT_DATE);
AddShellEntries(dir, 16, smd._subfolders); //TODO: read max. count of entries from registry AddShellEntries(dir, 16, smd._subfolders); ///@todo read max. count of entries from registry
} }
} }

View file

@ -75,7 +75,7 @@ NotifyInfo& NotifyInfo::operator=(NOTIFYICONDATA* pnid)
_dwState = (_dwState&~pnid->dwStateMask) | (pnid->dwState&pnid->dwStateMask); _dwState = (_dwState&~pnid->dwStateMask) | (pnid->dwState&pnid->dwStateMask);
#endif #endif
//TODO: store and display tool tip texts ///@todo store and display tool tip texts
return *this; return *this;
} }
@ -189,14 +189,14 @@ LRESULT NotifyArea::ProcessTrayNotification(int notify_code, NOTIFYICONDATA* pni
switch(notify_code) { switch(notify_code) {
case NIM_ADD: case NIM_ADD:
case NIM_MODIFY: case NIM_MODIFY:
if ((int)pnid->uID >= 0) { //TODO: fix for windows task manager if ((int)pnid->uID >= 0) { ///@todo fix for windows task manager
NotifyInfo& entry = _icon_map[pnid] = pnid; NotifyInfo& entry = _icon_map[pnid] = pnid;
// a new entry? // a new entry?
if (entry._idx == -1) if (entry._idx == -1)
entry._idx = ++_next_idx; entry._idx = ++_next_idx;
Refresh(); //TODO: call only if really changes occurred Refresh(); ///@todo call only if really changes occurred
} }
break; break;

View file

@ -33,14 +33,14 @@ public:
{ {
// copy the file or dir // copy the file or dir
//TODO: Add the code to handle Copy ///@todo Add the code to handle Copy
} }
else if (DROPEFFECT_MOVE & *pdwEffect) else if (DROPEFFECT_MOVE & *pdwEffect)
{ {
// move the file or dir // move the file or dir
//TODO: Add the code to handle Move ///@todo Add the code to handle Move
} }
} }

View file

@ -98,7 +98,7 @@ struct CommonControlInit
/// wait cursor /// wait cursor
struct WaitCursor //TODO: integrate with WM_SETCURSOR to enable multithreaded background tasks as program launching struct WaitCursor ///@todo integrate with WM_SETCURSOR to enable multithreaded background tasks as program launching
{ {
WaitCursor() WaitCursor()
{ {

View file

@ -2588,7 +2588,7 @@ static void draw_item(Pane* pane, LPDRAWITEMSTRUCT dis, Entry* entry, int calcWi
if (calcWidthCol == -1) if (calcWidthCol == -1)
output_number(pane, dis, col, buffer); output_number(pane, dis, col, buffer);
else if (calcWidthCol==col || calcWidthCol==COLUMNS) else if (calcWidthCol==col || calcWidthCol==COLUMNS)
calc_width(pane, dis, col, buffer);/*TODO: not ever time enough */ calc_width(pane, dis, col, buffer);/*TODO: not in every case time enough */
} }
col++; col++;