Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feedback on new version 2.3.4.8
#2
Quote:- easier tooltips - but if you need to change the tooltip dynamically, do you just use the old way or is there a new way to update?
Function dialog_tooltip_update
Code:
Copy      Help
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages

if(!ShowDialog("dialog_tooltip_update" &dialog_tooltip_update)) ret

;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 223 135 "Dialog"
;3 Button 0x54032000 0x0 10 12 48 14 "Button" "tttt"
;1 Button 0x54030001 0x4 120 116 48 14 "OK"
;2 Button 0x54030000 0x4 170 116 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2030408 "*" "" "" ""

ret
;messages
sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case 3
,__Tooltip& tt=DT_GetTooltip(hDlg); if(!&tt) ret
,tt.Update(3 _s.RandomString(4 4))
ret 1


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)