Jump to content

Recommended Posts

Posted (edited)

Here is screenshot from _GUICtrlMenu_CreateMenu.au3 example:

MENU_position.png

 

My questions are simple:


1. Why this menu appears on the left from this window ?
2. How to force it to appear inside the window ?

mLipok

 

Edited by mLipok
I was tired at night, so I make many typos - hope all fixed :)

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Moderators
Posted

mLipok,

When I run that example script the menu does appear inside the window - in fact, all of the menus are left-justified with respect to the actioned menu item.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted (edited)

Thanks for checking.

So this look like an issue in my system ?

I would like to hear other members to see what result they have.
And of course the main question remains: why is this happening, and how to fix it?

 

btw.
In this case I use Windows 10 Home.

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Moderators
Posted

mLipok,

This suggestion is all I could find with a quick search - perhaps worth a check to see what is set there?

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted (edited)

Bingo !

Solution:

explorer shell:::{80F3F1D5-FECA-45F3-BC32-752C152E456E}

And changed to:
Left-handed (Menus appear to the right of your hand.)

Many thanks.

 

Maybe somebody know how to change this setting via Windows Registry settings ?

btw.
This is good subject to post here:

I do not take this task as my self-esteem of English is still low ;)
 

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

And so today I'm happier, thanks to you both :)

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Hello. 

You also can use this way.

Global Const $SPI_SETMENUDROPALIGNMENT=0x001C
Global Const $RightAlignment=True
Global Const $LeftAlignment=False
_WinAPI_SystemParametersInfo($SPI_SETMENUDROPALIGNMENT,$LeftAlignment)

 

Saludos

Posted

Perfecto :)

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...