Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: ToolStrip embedded into the non client area #602

Closed
Wagnerp opened this issue Jan 18, 2022 · 9 comments
Closed

[Feature Request]: ToolStrip embedded into the non client area #602

Wagnerp opened this issue Jan 18, 2022 · 9 comments
Labels
completed This issue has been completed. enhancement New feature or request new feature A new feature has been requested. suggestion A suggestion has been requested.
Milestone

Comments

@Wagnerp
Copy link
Contributor

Wagnerp commented Jan 18, 2022

Is it possible to implement something like this? https://www.codeproject.com/Articles/32623/Vista-Aero-ToolStrip-on-Non-Client-Area

image

@Wagnerp Wagnerp added enhancement New feature or request new feature A new feature has been requested. suggestion A suggestion has been requested. labels Jan 18, 2022
@Wagnerp
Copy link
Contributor Author

Wagnerp commented Jan 20, 2022

Note: @giduac on Discord has stated:

"There's some part of it in KT (source) Krypton Components\Krypton.Toolkit\General\DesktopWindowManager.cs"

@giduac
Copy link

giduac commented Jan 21, 2022

Hi there,

@Wagnerp @Smurf-IV
The above which in KT is only a little that is needed.

I downloaded the demo project from the Codeproject link you posted (see attachment).
Still need to go through it to see how this works exactly.

This MS API Document can be of use since these functions belong to the Dwm Api:
https://docs.microsoft.com/en-us/windows/win32/api/dwmapi/

On Win 8.1 / Win 10 / Win 11 this demo works well.
On Win7 Ultimate SP1 Build: 7601 it does not work consistently, see video.
The Min/Max and Close buttons in title bar are also absent on Win7.

The system menu gets obscured by the toolstrip but remains functional. It can be invoked by the keyboard combo ALT+SPACE.
Right click on the taskbar button.

Cheers,

win7-test.mp4

aerononclientbuttons.zip

@giduac
Copy link

giduac commented Feb 10, 2022

If Specbuttons could be left aligned and the text centered in the title bar....

@Smurf-IV
Copy link
Member

If Specbuttons could be left aligned and the text centered in the title bar....

Make these into (at least 2) separate feature requests please?

@Smurf-IV
Copy link
Member

The "aerononclientbuttons.zip" seems to be wanting to do the QAT style buttons without the QAT round button.
That should already be possible without any code modification to the toolkit, due to the fact that the QAT buttons are a separate control *but do need "currently" a ribbon bar to work (Which could be locked closed):
image

@giduac
Copy link

giduac commented Feb 11, 2022

If Specbuttons could be left aligned and the text centered in the title bar....

Make these into (at least 2) separate feature requests please?

Will do
Added:
KForm add an option to align the title text.
KForm add an option to align SpecButtons in the title bar

@giduac
Copy link

giduac commented Feb 11, 2022

The "aerononclientbuttons.zip" seems to be wanting to do the QAT style buttons without the QAT round button. That should already be possible without any code modification to the toolkit, due to the fact that the QAT buttons are a separate control *but do need "currently" a ribbon bar to work (Which could be locked closed): image

A toolstrip has a wider variety of controls to choose from. Including the ToolStripControlHost to nest (Krypton)Winforms controls. QAT Buttons has as far as I can see only buttons which makes it a more limited option.

@Smurf-IV
Copy link
Member

Some functionality is now available with left aligned ButtonSpecs due to changes in #646
And reflects usage from the original image Feature request image.

@Wagnerp
Copy link
Contributor Author

Wagnerp commented Nov 2, 2023

Done, as part of v80

@Wagnerp Wagnerp closed this as completed Nov 2, 2023
@Wagnerp Wagnerp added the completed This issue has been completed. label Nov 2, 2023
@Wagnerp Wagnerp added this to the Version 8 milestone Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed This issue has been completed. enhancement New feature or request new feature A new feature has been requested. suggestion A suggestion has been requested.
Projects
None yet
Development

No branches or pull requests

3 participants