Open
Conversation
Introduced support for vertical taskbars, allowing the separator to adapt to both horizontal and vertical orientations. - Added `TaskbarHelper.cs` to detect taskbar position using Windows API. - Updated `FormSplitter.cs` to dynamically adjust form dimensions and load appropriate icons (`separator_horizontal.ico` or `separator.ico`) based on taskbar orientation. - Added `separator_horizontal.ico` for vertical taskbars and updated `Splitter.csproj` to include it. - Enhanced shortcut creation in `MainForm.cs` to select icons dynamically and ensure `icons` folder is copied. - Documented changes in `TASK.MD` and updated `readme.md` to highlight new features. - Updated `TaskSplitter11.csproj` to use `WindowsShortcutFactory` v1.2.0. - Removed `Installer` project reference from the solution. - Added extensive debug logging and error handling for taskbar detection and icon loading. - Updated Visual Studio version in the solution file to `17.4.33110.190`. These changes ensure seamless functionality for both horizontal and vertical taskbar orientations.
Removed unused fields in DropShadow.cs to simplify the codebase. Updated ShellExecute method in MainForm.cs to use nullable reference types and improved clarity with named arguments. Upgraded the project to .NET 9.0 with Windows 7.0 compatibility in TaskSplitter11.csproj. Added StartupObject property to explicitly define the application's entry point.
This reverts commit caeaabd.
The "About" section was revised for clarity and now includes an image (`taskbar-split.png`) to enhance the visual representation. The "Copyright" section was cleaned up, removing redundant images and clarifying license details. A new "Installation" section was added with a direct link to the GitHub releases page, making it easier for users to download the latest version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
This pull request introduces support for vertical taskbars (Left/Right positions) in addition to the existing horizontal layout. Key changes include:
Implemented TaskbarHelper class to detect taskbar position using Windows API.
Updated FormSplitter logic to adjust icon and size based on taskbar orientation.
Added new icon (separator_horizontal.ico) for vertical taskbars.
Refactored project structure and upgraded target framework to net9.0.
Updated README with installation instructions and clarified vertical/horizontal support.
Why:
Enhances usability for users who prefer vertical taskbars, ensuring consistent behavior across all taskbar orientations.