by Stopwatch » Wed May 30, 2018 12:42 pm
I'm not familiar with VBA, so here is a pseudocode after googling and guessing:
- Code: Select all
Declare Function RegisterWindowMessageA Lib "user32" (ByVal lpString As String) As Long
Declare Function PostMessageA Lib "user32" (ByVal hWnd As Long, ByVal Msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Msg_CloseAll = RegisterWindowMessageA("Close All XNote Stopwatches")
PostMessageA &HFFFF&, Msg_CloseAll, 0, 0
I'm not familiar with VBA, so here is a pseudocode after googling and guessing:
[code]Declare Function RegisterWindowMessageA Lib "user32" (ByVal lpString As String) As Long
Declare Function PostMessageA Lib "user32" (ByVal hWnd As Long, ByVal Msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Msg_CloseAll = RegisterWindowMessageA("Close All XNote Stopwatches")
PostMessageA &HFFFF&, Msg_CloseAll, 0, 0[/code]