Option to rename entire file by default
Posted: Mon Jan 03, 2011 2:10 pm
When renaming a file you can press F2 to cycle renaming the filename only, extension only or both. But selecting filename without extension is the default. I often use renaming to copy the entire filename, so I want with the extension the default.
Could there be an option to change between initially selecting the file part or the entire file with extension?
At the moment I've just done this to get the desired behaviour:
In:
explorer++_1.2_src\Explorer++\Explorer++\ListViewHandler.cpp
Change:
To:
In
Change
To:
Could there be an option to change between initially selecting the file part or the entire file with extension?
At the moment I've just done this to get the desired behaviour:
In:
explorer++_1.2_src\Explorer++\Explorer++\ListViewHandler.cpp
Code: Select all
BOOL CContainer::OnListViewBeginLabelEdit(LPARAM lParam)
Code: Select all
m_ListViewEditingStage = LISTVIEW_RENAME_FILENAME;
Code: Select all
m_ListViewEditingStage = LISTVIEW_RENAME_ENTIRE;
Code: Select all
CContainer::ListViewEditProc
Code: Select all
if(bExtensionFound)
{
wParam = 0;
lParam = i;
}
Code: Select all
if(bExtensionFound && m_ListViewEditingStage == LISTVIEW_RENAME_FILENAME)
{
wParam = 0;
lParam = i;
}