tailieunhanh - AutoI Technology Curriculum Book part 97

Tham khảo tài liệu 'autoi technology curriculum book part 97', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Return Value Return the Handle of the splash window that can be used in ControlSetText. Remarks To skip an optional parameter leaving it s default value intact use for a string parameters -1 for a numeric parameters Only one Splashlmage Text window is allowed at one time so if you wish to cycle through multiple images text simply call SplashlmageOn SplashTextOn again with the new information. Even better is to use ControlSetText to update text without flicker. If the text is center and multiline the ControlSetText will not override the number of lines created by the SplashTextOn. Splash with opt 1 cannot be moved and cannot be activated by click. Standard font names include Arial Comic Sans MS Courier New Lucida Console Microsoft Sans Serif System Tahoma Times New Roman and WingDings See Appendix for a complete font list Use @LF to display several lines. Related SplashOff SplashlmageOn ControlSetText ToolTip Example SplashTextOn Title Message goes here. -1 -1 -1 -1 4 24 Sleep 3000 SplashOff FLICKER message SplashTextOn TitleFoo message -1 -1 -1 -1 4 For x 1 to 20 message message x @LF SplashTextOn TitleFoo message -1 -1 -1 -1 4 Sleep 100 Next SMOOTH message SplashTextOn TitleFoo message -1 -1 -1 -1 4 For x 1 to 20 message message x @LF ControlSetText TitleFoo Static1 message sleep 100 Next Function Reference ToolTip Creates a tooltip anywhere on the screen. ToolTip text x y title icon options Parameters text The text of the tooltip. An empty string clears a displaying tooltip x y optional The x y position of the tooltip. title optional The title for the tooltip Requires IE5 icon optional Pre-defined icon to show next to the title Requires a title. 0 No icon 1 Info icon 2 Warning icon 3 Error Icon options optional Sets different options for how the tooltip will be displayed Can be added together 1 Display as Balloon Tip Requires IE5 2 Center the tip at the x y coordinates instead of using them for the upper left corner. 4 Force the tooltip to always be visible .