Sign in to follow this  
Followers 0
PoopDeck

Help with GUICtrlCreateMenu

4 posts in this topic

A little side note b4 it ends up that there might be info on this on autoit ... (My internet is disconencting every time i load a page soooo it'd take me about an hour to find a topic that might have info on my question and very frustrating if i didn't. because i have searched before.)

My question: How would some1 Color a Menu

For example

$Menu = GUICtrlCreateMenu("Menu")

GUICtrlSetBkColor($Menu, 0x000000)

That however doesn't work for me :/

Second question: How would you detect that some1 press's on a Menu Not a menuItem

$Menu = GUICtrlCreateMenu("Menu")

while 1

$msg = guigetmsg()

if $msg = $menu then msgbox(1, "title", "hi")

Wend

Share this post


Link to post
Share on other sites



You Will Need ModernMenu.au3 UDF to change the color of the menu/menitems...go search that...and for the Menu...im not sure...100% ive done it before...Ill check on it

Share this post


Link to post
Share on other sites

Thank you for the information and the replys. I'll be looking around for the Menu Gui Event though

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  
Followers 0