03-02-2016, 02:04 AM
Sorry 2 questions
1)
In the first example you gave at the very top (Function test_lb).
When I have content which has many characters, the listbox doesn't render a horizontal scrollbar at the bottom.
I did set the horizontal scrollbar style (and vertical) but with items in the listbox with many characters it get's cutt of by the listbox.
2)
When I have the below ocde, it works perfectly in a macro.
But when I put the below code in function called "cm_Backup" which is triggered by a button in a QM dialog called "cm_Main", the OSD message dissapears when the main thread "cm_Main" finishes (which is the dialog).
I want it to finish (dissapear) when "cm_Backup" is done. (I tried it with the '2' flag, but it doesnt work).
The dialog that runs "cm_Backup" is an standalone QM compiled .exe
This initial behavior is expected because of the way how a macro and function runs, but I was wondering if there is a workaround?
Macro osd_test
1)
In the first example you gave at the very top (Function test_lb).
When I have content which has many characters, the listbox doesn't render a horizontal scrollbar at the bottom.
I did set the horizontal scrollbar style (and vertical) but with items in the listbox with many characters it get's cutt of by the listbox.
2)
When I have the below ocde, it works perfectly in a macro.
But when I put the below code in function called "cm_Backup" which is triggered by a button in a QM dialog called "cm_Main", the OSD message dissapears when the main thread "cm_Main" finishes (which is the dialog).
I want it to finish (dissapear) when "cm_Backup" is done. (I tried it with the '2' flag, but it doesnt work).
The dialog that runs "cm_Backup" is an standalone QM compiled .exe
This initial behavior is expected because of the way how a macro and function runs, but I was wondering if there is a workaround?
Macro osd_test
