mihaibr Posted November 24, 2012 Posted November 24, 2012 (edited) Hi, Is there any function that set the text aling in a Context Menu? In Windows Context Menu has the aling to left, when I use GUICtrlCreateContextMenu the text aling is centered. Edited November 24, 2012 by mihaibr
water Posted November 24, 2012 Posted November 24, 2012 Do you have a reproducer script we can play with? My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
water Posted November 24, 2012 Posted November 24, 2012 I just tried on Windows 7 64 bit and the context menus of the example script from the help file are left aligned. To the left ot the text is some space - maybe for icons? My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
mihaibr Posted November 24, 2012 Author Posted November 24, 2012 Well I was talking about that space (before and after the text), now I understand what it is for"To the left ot the text is some space - maybe for icons?"I was trying to remove that text, but I think that I will let it like it is.Is not a major problem for my script design .Thanks water
Andreik Posted November 24, 2012 Posted November 24, 2012 _GUICtrlMenu_SetMenuStyle(GUICtrlGetHandle($contextmenu),$MNS_NOCHECK) mihaibr 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now