ne0bot / vcl-styles-utils

Automatically exported from code.google.com/p/vcl-styles-utils
4 stars 1 forks source link

Menu shortcut position is not right-aligned #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have a menu with shortcuts
2. Open this menu 

What is the expected output? 
Shortcuts are right-aligned

What do you see instead?
Shortcuts are not positioned right-aligned (MenuShortcutsPosition.png)

What version of the product are you using? On what operating system?
Windows 7, Delphi XE4 

Original issue reported on code.google.com by everyb...@gmail.com on 27 Jan 2014 at 10:08

Attachments:

GoogleCodeExporter commented 9 years ago
Hi, can you  please attach a sample project to reproduce the issue? Thanks.

Original comment by Rodrigo.Ruz.V@gmail.com on 30 Jan 2014 at 9:04

GoogleCodeExporter commented 9 years ago
The problem is demonstrated in existing demo project
"Vcl Styles Utils System Menu (Demo App)"
Keyboard shortcut Alt-F4 is not right-aligned

Original comment by everyb...@gmail.com on 4 Mar 2014 at 8:41

Attachments:

GoogleCodeExporter commented 9 years ago
The problem exhibits itself only in the forms that are created without an owner 
and as a result function

TSysPopupStyleHook.TSysPopupItem.GetVCLMenuItem

cannot find TItemMenu (with proper Shortcut) corresponding to an HMENU received 
in the hook procedure. A simple workaround is to create forms with an owner: 

Form := TMyForm.Create(Application);

Original comment by everyb...@gmail.com on 17 Apr 2014 at 12:12

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r275.

Original comment by Rodrigo.Ruz.V@gmail.com on 30 Oct 2014 at 2:17