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

invalid used windows api to make MainMenu’s Item right-aligned #289

Open
frankwu-delphi opened this issue Dec 7, 2021 · 0 comments
Open

Comments

@frankwu-delphi
Copy link

Hello,
in my project, I used windows api to make MainMenu’s Item right-aligned. However, after enabling Vcl style Utils, the right-alignment is invalid.
procedure TForm1.FormCreate(Sender: TObject); begin ModifyMenu(MainMenu1.Handle, 1, MF_BYPOSITION or MF_HELP, mnuRight.Handle, PChar(mnuRight.Caption)); end;

The attachment is a test example.
ScreenSnap_20211207085237349
Vcl Style Test.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant