Jump to content
Sign in to follow this  

Custom Item in System Menu

Recommended Posts


Hello there,

I want to know that how can i add or replace Item in System Menu?

for example


in this example the Default Item "X Close Alt+F4" is Replaced with "Hide Window Alt+F4"

Thanks in Advance.

73 108 111 118 101 65 117 116 111 105 116

Share this post

Link to post
Share on other sites

#Include <GUIMenu.au3>

$hForm = GUICreate('MyGUI')
$hMenu = _GUICtrlMenu_GetSystemMenu($hForm)
_GUICtrlMenu_SetItemText($hMenu, $SC_CLOSE, 'Hide Window' & @TAB & 'Alt+F4', False)

Until GUIGetMsg() = -3

Edited by Yashied

Share this post

Link to post
Share on other sites

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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.