Bert Posted October 19, 2007 Posted October 19, 2007 I played around trying to change the font size. I couldn't get it to work. Is this just my PC being nutty, or is this something that can't be changed? The Vollatran project My blog: http://www.vollysinterestingshit.com/
GrungeRocker Posted October 19, 2007 Posted October 19, 2007 What about posting your code? [font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]
Bert Posted October 19, 2007 Author Posted October 19, 2007 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) GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;; EndSelect WEnd Exit The Vollatran project My blog: http://www.vollysinterestingshit.com/
Holger Posted October 19, 2007 Posted October 19, 2007 Not possible! (Windows design - only possible with 'ownerdrawn' menu items). Greets Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView
Bert Posted October 19, 2007 Author Posted October 19, 2007 ok, that makes sense. The reason I ask is I made a menu toolbar a few days ago and I had a concern of a user having a different font size. This would have broken the thing, and I wanted to put in something so it would keep it from breaking. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now