mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
[PowerRename] Fluent UX (#13678)
* PowerRename new UI * Add scrollviewer * Don't deploy PowerRenameUI_new * Visual updates * Visual updates * Updates * Update Resources.resw * Added docs button * Update MainWindow.xaml * Wire Docs button * RegEx -> regular expressions * Update Show only renamed list on search/replace text changed * Update Show only renamed list on search/replace text changed - proper fix Set searchTerm to NULL when cleared - fix Show only renamed files on clear searchTerm * Files/folders input error handling * Fix renaming with keeping UI window opened After renaming folder, all of it's children need path update. Without path update, further renaming of children items would fail. * Update only children, not all items with greater depth * Fix dictionary false positives * Remove .NET dep * Rename PowerRenameUI_new to PowerRenameUILib Rename executable PowerRenameUIHost to PowerRename Co-authored-by: Laute <Niels.Laute@philips.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <lib/PowerRenameInterfaces.h>
|
||||
#include "PowerRenameInterfaces.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
HRESULT GetTrimmedFileName(_Out_ PWSTR result, UINT cchMax, _In_ PCWSTR source);
|
||||
HRESULT GetTransformedFileName(_Out_ PWSTR result, UINT cchMax, _In_ PCWSTR source, DWORD flags);
|
||||
@@ -16,3 +18,10 @@ BOOL GetEnumeratedFileName(
|
||||
unsigned long ulMinLong,
|
||||
__inout unsigned long* pulNumUsed);
|
||||
HWND CreateMsgWindow(_In_ HINSTANCE hInst, _In_ WNDPROC pfnWndProc, _In_ void* p);
|
||||
|
||||
std::wstring GetRegString(const std::wstring& valueName, const std::wstring& subPath);
|
||||
unsigned int GetRegNumber(const std::wstring& valueName, unsigned int defaultValue);
|
||||
void SetRegNumber(const std::wstring& valueName, unsigned int value);
|
||||
bool GetRegBoolean(const std::wstring& valueName, bool defaultValue);
|
||||
void SetRegBoolean(const std::wstring& valueName, bool value);
|
||||
bool LastModifiedTime(const std::wstring& filePath, FILETIME* lpFileTime);
|
||||
|
||||
Reference in New Issue
Block a user