ihenvyr Posted March 22, 2006 Share Posted March 22, 2006 Hello Everyone!! Is it possible to change Tooltip's font size? i'm just curious.. Umbrella Member Link to comment Share on other sites More sharing options...
flyingboz Posted March 22, 2006 Share Posted March 22, 2006 Hello Everyone!! Is it possible to change Tooltip's font size?i'm just curious..good rule of thumb. If it's documented in the help file, you can do it. Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
ihenvyr Posted March 22, 2006 Author Share Posted March 22, 2006 i think its for SplashTextOn.. which you can change font size.. but for tooltips can't find it.. can you show me an example?? please Umbrella Member Link to comment Share on other sites More sharing options...
flyingboz Posted March 23, 2006 Share Posted March 23, 2006 i think its for SplashTextOn.. which you can change font size..but for tooltips can't find it..can you show me an example??please corollary to good rule of thumb. If you can't find it in the help file, you likely can't do it.Post the feature enhancement request to the idea lab. Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
CyberSlug Posted March 23, 2006 Share Posted March 23, 2006 If you can't find it in the help file, you likely can't do it.I don't know about that one. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
neogia Posted March 23, 2006 Share Posted March 23, 2006 I don't know about that one.I agree, Multithreading's not in the help file, but you can do that. [u]My UDFs[/u]Coroutine Multithreading UDF LibraryStringRegExp GuideRandom EncryptorArrayToDisplayString"The Brain, expecting disaster, fails to find the obvious solution." -- neogia Link to comment Share on other sites More sharing options...
GaryFrost Posted March 23, 2006 Share Posted March 23, 2006 Haven't figured out how to change the font, but did the colors #include <GuiConstants.au3> #include <GuiListView.au3> Global Const $WM_USER = 0x400 Global Const $TTM_SETTIPBKCOLOR = ($WM_USER + 19) Global Const $TTM_SETTIPTEXTCOLOR = ($WM_USER + 20) GUICreate("Test Tool Tip", 480, 390, 348, 128, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Boton = GUICtrlCreateButton("Ok", 120, 216, 81, 33) ToolTip("This is a tooltip") $h_tooltip = WinGetHandle ("This is a tooltip") DllCall("user32.dll","int","SendMessage","hwnd",$h_tooltip,"int",$TTM_SETTIPBKCOLOR,"int",0xcd0000,"int",0) DllCall("user32.dll","int","SendMessage","hwnd",$h_tooltip,"int",$TTM_SETTIPTEXTCOLOR,"int",0xFFFFFF,"int",0) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
cppman Posted March 23, 2006 Share Posted March 23, 2006 Haven't figured out how to change the font, but did the colors #include <GuiConstants.au3> #include <GuiListView.au3> Global Const $WM_USER = 0x400 Global Const $TTM_SETTIPBKCOLOR = ($WM_USER + 19) Global Const $TTM_SETTIPTEXTCOLOR = ($WM_USER + 20) GUICreate("Test Tool Tip", 480, 390, 348, 128, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Boton = GUICtrlCreateButton("Ok", 120, 216, 81, 33) ToolTip("This is a tooltip") $h_tooltip = WinGetHandle ("This is a tooltip") DllCall("user32.dll","int","SendMessage","hwnd",$h_tooltip,"int",$TTM_SETTIPBKCOLOR,"int",0xcd0000,"int",0) DllCall("user32.dll","int","SendMessage","hwnd",$h_tooltip,"int",$TTM_SETTIPTEXTCOLOR,"int",0xFFFFFF,"int",0) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd Nice! Miva OS Project Link to comment Share on other sites More sharing options...
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