Jump to content
Sign in to follow this  

GUICtroCreateMenu and font size

Recommended Posts

I didn't think this question required it, but sure...here is a example:

You will notice I tried to change the menu and the menu item. Neither one would change.

#include <GuiConstants.au3>

GuiCreate("MyGUI", 215, 192,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$Button_1 = GuiCtrlCreateButton("Button1", 60, 90, 80, 30)
$menu = GUICtrlCreateMenu("test")
$menu_item = GUICtrlCreateMenuItem("menu item", $menu)
GUICtrlSetFont($menu, 12, 900)
GUICtrlSetFont($menu_item, 16, 900,2)

While 1
    $msg = GuiGetMsg()
    Case $msg = $GUI_EVENT_CLOSE
    Case Else

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...