1224 Posted March 30, 2009 Share Posted March 30, 2009 How to write a text in bold in a ToolTip? For example CODEToolTip("testing1", 0, 0) I want the word "testing1" in bold style How can I do this? Link to comment Share on other sites More sharing options...
Yashied Posted March 30, 2009 Share Posted March 30, 2009 How to write a text in bold in a ToolTip?For exampleCODEToolTip("testing1", 0, 0)I want the word "testing1" in bold styleHow can I do this?See GuiToolTip.au3 from AutoIt package. 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... Link to comment Share on other sites More sharing options...
1224 Posted March 30, 2009 Author Share Posted March 30, 2009 See GuiToolTip.au3 from AutoIt package.actaully, I have seen the "help" about it beforeBut I don't quite understand as it doesn't have any examplecould you please give me a simplest example just like #1 that I mentioned Link to comment Share on other sites More sharing options...
Yashied Posted March 30, 2009 Share Posted March 30, 2009 actaully, I have seen the "help" about it beforeBut I don't quite understand as it doesn't have any examplecould you please give me a simplest example just like #1 that I mentionedhttp://www.autoitscript.com/forum/index.php?s=&showtopic=72983&view=findpost&p=532263 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... Link to comment Share on other sites More sharing options...
1224 Posted March 30, 2009 Author Share Posted March 30, 2009 http://www.autoitscript.com/forum/index.php?s=&showtopic=72983&view=findpost&p=532263I want font style Link to comment Share on other sites More sharing options...
JasonDW Posted March 31, 2009 Share Posted March 31, 2009 I want font style Download and extract the zip file in the linked post.....the udf contains a function: _ToolTip_SetFont you can set font style, weight (400 = normal....increase this number for bold I guess), attribute (italic, underlined, strikethrough), and font size.... Full description below: ; #FUNCTION# ============================================================= ; Name............: _ToolTip_SetFont ; Description.....: Sets the font size, weight, attributes and font name for a tooltip text ; Syntax..........: _ToolTip_SetFont($hControl, $sFontSize, $sFontWeight = 400, $sFontAtrribute = 0, $sFont = "") ; Parameter(s)....: $hControl - The control identifier or handle ; $sFontSize - Fontsize (default is 10) ; $sFontWeight - [optional] Font weight (default 400 = normal) ; $sFontAtrribute - [optional] To define italic:2 underlined:4 strike:8 char formats ; $sFont - [optional] The name of the font to use ; Return value(s).: Success - None ; Failure - Sets @error to 1 and returns 0 if $sFontSize param contains a empty or not numeric string ; Requirement(s)..: AutoIt 3.2.12.0 ; Note(s).........: Tested on Windows XP SP2 ; Author(s).......: R.Gilman (a.k.a. rasim) ; ======================================================================== Link to comment Share on other sites More sharing options...
1224 Posted March 31, 2009 Author Share Posted March 31, 2009 Download and extract the zip file in the linked post.....the udf contains a function: _ToolTip_SetFont you can set font style, weight (400 = normal....increase this number for bold I guess), attribute (italic, underlined, strikethrough), and font size.... Full description below: ; #FUNCTION# ============================================================= ; Name............: _ToolTip_SetFont ; Description.....: Sets the font size, weight, attributes and font name for a tooltip text ; Syntax..........: _ToolTip_SetFont($hControl, $sFontSize, $sFontWeight = 400, $sFontAtrribute = 0, $sFont = "") ; Parameter(s)....: $hControl - The control identifier or handle ; $sFontSize - Fontsize (default is 10) ; $sFontWeight - [optional] Font weight (default 400 = normal) ; $sFontAtrribute - [optional] To define italic:2 underlined:4 strike:8 char formats ; $sFont - [optional] The name of the font to use ; Return value(s).: Success - None ; Failure - Sets @error to 1 and returns 0 if $sFontSize param contains a empty or not numeric string ; Requirement(s)..: AutoIt 3.2.12.0 ; Note(s).........: Tested on Windows XP SP2 ; Author(s).......: R.Gilman (a.k.a. rasim) ; ======================================================================== ic.. thanks Link to comment Share on other sites More sharing options...
1224 Posted March 31, 2009 Author Share Posted March 31, 2009 Download and extract the zip file in the linked post.....the udf contains a function: _ToolTip_SetFont you can set font style, weight (400 = normal....increase this number for bold I guess), attribute (italic, underlined, strikethrough), and font size.... Full description below: ; #FUNCTION# ============================================================= ; Name............: _ToolTip_SetFont ; Description.....: Sets the font size, weight, attributes and font name for a tooltip text ; Syntax..........: _ToolTip_SetFont($hControl, $sFontSize, $sFontWeight = 400, $sFontAtrribute = 0, $sFont = "") ; Parameter(s)....: $hControl - The control identifier or handle ; $sFontSize - Fontsize (default is 10) ; $sFontWeight - [optional] Font weight (default 400 = normal) ; $sFontAtrribute - [optional] To define italic:2 underlined:4 strike:8 char formats ; $sFont - [optional] The name of the font to use ; Return value(s).: Success - None ; Failure - Sets @error to 1 and returns 0 if $sFontSize param contains a empty or not numeric string ; Requirement(s)..: AutoIt 3.2.12.0 ; Note(s).........: Tested on Windows XP SP2 ; Author(s).......: R.Gilman (a.k.a. rasim) ; ======================================================================== ic.. thanks 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