07-13-2014, 03:33 AM
Sorry, my answer was incorrect. Toolbar/menu code runs in own thread. Only toolbar hook functions run in main QM thread. You can use any of the 4 methods to show the dialog from toolbar. I deleted that post.
1. dlg_MD5_Hash 0 0 0 0
2. In the function line enclose all 4 parameters in [ ]. Then to call: dlg_MD5_Hash
3. Create dialog without the function line. QM 2.4.1 creates such dialogs by default. Then to call: dlg_MD5_Hash
4. mac "dlg_MD5_Hash"
1. dlg_MD5_Hash 0 0 0 0
2. In the function line enclose all 4 parameters in [ ]. Then to call: dlg_MD5_Hash
3. Create dialog without the function line. QM 2.4.1 creates such dialogs by default. Then to call: dlg_MD5_Hash
4. mac "dlg_MD5_Hash"
