Jump to content
Sign in to follow this  
Digisoul

Custom Item in System Menu

Recommended Posts

Digisoul

Hello there,

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

for example

help.bmp

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
Yashied

#Include <GUIMenu.au3>

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

Do
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  

×