dj9866 Posted June 23, 2006 Share Posted June 23, 2006 Any thoughts as to why a tooltip associated with a combo dropdown doesn't function. All other controls are working as expected. OS is Win2k. Script sample... $Combo2 = GUICtrlCreateCombo("", 105, 124, 400, 240, BitOR$CBS_DROPDOWN,$CBS_AUTOHSCROLL,$WS_GROUP)) GUICtrlSetTip(-1, "Select amount of advance notice from dropdown or enter the number of days...") GUICtrlSetFont(-1, 10, 800, 0, "Garamond") GUICtrlSetData(-1, "30 days|15 days|7 days|3 days|1 day") Link to comment Share on other sites More sharing options...
GaryFrost Posted June 23, 2006 Share Posted June 23, 2006 Put the mouse over the down arrow on the combo and see what happens: #include <GuiConstants.au3> $Gui = GUICreate("Demo", 417, 356, 192, 125, BitOR($WS_SIZEBOX, $WS_MINIMIZEBOX, $WS_CAPTION, $WS_POPUP, $WS_SYSMENU)) $Combo2 = GUICtrlCreateCombo("", 10, 124, 400, 240, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL,$WS_GROUP)) GUICtrlSetTip(-1, "Select amount of advance notice from dropdown or enter the number of days...") GUICtrlSetFont(-1, 10, 800, 0, "Garamond") GUICtrlSetData(-1, "30 days|15 days|7 days|3 days|1 day") GUISetState(@SW_SHOW) $win_pos = WinGetPos($Gui) $tmp_pos = $win_pos While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else 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...
dj9866 Posted June 23, 2006 Author Share Posted June 23, 2006 Ok...thanks...hadn't tried that...certainly does narrow the effective area of the tooltip. Link to comment Share on other sites More sharing options...
is8591 Posted June 23, 2006 Share Posted June 23, 2006 (edited) Gary, is GuiCtrlSetTip supported on any OS - especially 2K? I am not getting the tooltip. Edited June 23, 2006 by is8591 Link to comment Share on other sites More sharing options...
Buckw1 Posted June 26, 2006 Share Posted June 26, 2006 Can add a lable to the control and add same tooltip to that label to increase the tooltip sensitvity area. 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