Jump to content

Help with GUICtrlCreateMenu


PoopDeck
 Share

Recommended Posts

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
Link to comment
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
 Share

  • Recently Browsing   0 members

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