electrico Posted December 21, 2010 Posted December 21, 2010 (edited) I just wanna know if it is possible to set font of the GUI title, created with autoit? Sorry if lame question, .. posting this thread as found no info in the forums. I think that there must be DllCall use but any1 experienced could help me avoid time loose, - please. Thx for prompt replyes and for any help provided. Sincerely yours, elect. Edited December 21, 2010 by electrico
Yashied Posted December 21, 2010 Posted December 21, 2010 The normal way this can not be done. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
JoHanatCent Posted December 22, 2010 Posted December 22, 2010 Ok, thanks for prompt reply. As a work arround see your other post. Code per that post was proveded by Melba23 I just added my 2c worth: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <SendMessage.au3> #include <StaticConstants.au3> Global Const $SC_DRAGMOVE = 0xF012 Global $sTitlebarHeight = 15 ; Change this to the value you require $frmBar = GUICreate("frmBar", 202, $sTitlebarHeight, -1, -1, $WS_POPUP, 0) GUISetBkColor(0x8080FF) $GuiLabel = GUICtrlCreateLabel("Use as Title Bar", -1, -1, 202, $sTitlebarHeight, $SS_CENTER, $WS_EX_CLIENTEDGE) GUICtrlSetFont($GuiLabel, 6, 4, 2, "Comic Sans MS") GUISetState(@SW_SHOW) $frmMain = GUICreate("frmMain", 200, 200, 3, $sTitlebarHeight + 3, BitOR($WS_BORDER, $WS_POPUP), $WS_EX_MDICHILD, $frmBar) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $GUI_EVENT_PRIMARYDOWN _SendMessage($frmBar, $WM_SYSCOMMAND, $SC_DRAGMOVE, 0) EndSwitch WEnd
electrico Posted December 22, 2010 Author Posted December 22, 2010 Y, man you opened a bit my mind. Thx. Respect to all.
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