mirror of
https://github.com/ForLoopCodes/legacy-notepad.git
synced 2026-04-26 12:25:50 +03:00
[PR #17] [MERGED] Add runtime icon customization via View menu #23
Labels
No labels
bug
bug
documentation
enhancement
good first issue
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/legacy-notepad#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ForLoopCodes/legacy-notepad/pull/17
Author: @Copilot
Created: 2/4/2026
Status: ✅ Merged
Merged: 2/4/2026
Merged by: @ForLoopCodes
Base:
main← Head:copilot/add-icon-change-feature📝 Commits (5)
263e83aInitial plan9b3d4e0Add icon change feature with menu items and handlersef8431dFix icon loading flags and update README documentation94f21afAddress code review feedback: use static_cast instead of reinterpret_cast8ea227dAdd runtime icon customization via View menu📊 Changes
36 files changed (+2810 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)➕
_codeql_build_dir/CMakeCache.txt(+353 -0)➕
_codeql_build_dir/CMakeFiles/3.31.6/CMakeCXXCompiler.cmake(+101 -0)➕
_codeql_build_dir/CMakeFiles/3.31.6/CMakeDetermineCompilerABI_CXX.bin(+0 -0)➕
_codeql_build_dir/CMakeFiles/3.31.6/CMakeSystem.cmake(+15 -0)➕
_codeql_build_dir/CMakeFiles/3.31.6/CompilerIdCXX/CMakeCXXCompilerId.cpp(+919 -0)➕
_codeql_build_dir/CMakeFiles/3.31.6/CompilerIdCXX/a.out(+0 -0)➕
_codeql_build_dir/CMakeFiles/CMakeConfigureLog.yaml(+294 -0)➕
_codeql_build_dir/CMakeFiles/CMakeDirectoryInformation.cmake(+16 -0)➕
_codeql_build_dir/CMakeFiles/Makefile.cmake(+114 -0)➕
_codeql_build_dir/CMakeFiles/Makefile2(+125 -0)➕
_codeql_build_dir/CMakeFiles/Progress/1(+1 -0)➕
_codeql_build_dir/CMakeFiles/Progress/count.txt(+1 -0)➕
_codeql_build_dir/CMakeFiles/TargetDirectories.txt(+3 -0)➕
_codeql_build_dir/CMakeFiles/cmake.check_cache(+1 -0)➕
_codeql_build_dir/CMakeFiles/legacy-notepad.dir/DependInfo.cmake(+32 -0)➕
_codeql_build_dir/CMakeFiles/legacy-notepad.dir/build.make(+246 -0)➕
_codeql_build_dir/CMakeFiles/legacy-notepad.dir/cmake_clean.cmake(+28 -0)➕
_codeql_build_dir/CMakeFiles/legacy-notepad.dir/compiler_depend.make(+2 -0)➕
_codeql_build_dir/CMakeFiles/legacy-notepad.dir/compiler_depend.ts(+2 -0)...and 16 more files
📄 Description
Adds ability to change application icon to any
.icofile at runtime, enabling use of classic Notepad icons or custom alternatives.Implementation
customIconPathtoAppStateandg_hCustomIconglobal for icon handle tracking.icofiles, loads viaLoadImageWwithLR_LOADFROMFILEICON_BIGandICON_SMALLviaWM_SETICONmessageWM_DESTROY; system default icons remain unmanagedUsage
Resource IDs
IDM_VIEW_ICON_CHANGE(40073) andIDM_VIEW_ICON_RESET(40074) added to maintain ID space continuity.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.