09-27-2019, 03:00 PM
simplest way is to create a hook function for the toolbar
Function ToolbarSelfClose
then add the function to the toolbar properties
Function ToolbarSelfClose
;/
function# hWnd message wParam lParam
;OutWinMsg message wParam lParam ;;uncomment to see received messages
int-- t
sel message
,case WM_INITDIALOG
,SetTimer hWnd 1 1000 0
,case WM_TIMER
,sel wParam
,,case 1
,,if t =10;; close toolbar after 10 seconds(change number to how many seconds you want it to autoclose)
,,,KillTimer hWnd 1
,,,clo hWnd
,,t+1
,case WM_DESTROY
then add the function to the toolbar properties