Support Board
Date/Time: Tue, 25 Feb 2025 07:42:39 +0000
Post From: How to get modeless dialog box working? Code Provided.
[2019-01-31 14:45:21] |
norvik_ - Posts: 106 |
Hi, doughtrader. To fix linker error, post: #pragma comment(lib,"comctl32.lib") in TestDialog.cpp Win32++ require this library. Of course it works on Win10. There are no nesessary to use exactly Win32++, the same things can be created with MFC, or winapi c functions Timer is needed for update edit control independently from SC ChartUpdateInterval. For example, it can be updated one time during 5 seconds. You may update it directly, using SendMessage or direct reference to global resources(pointer to Dialog instance); For writing SCStudyInterface values in Dialog instance, it is better protect them with std::mutex or CRITICAL_SECTION. I will try to give more extended version of this project , but sorry, I have no very much time. This question relates more to common windows c\c++ programming, it is not part of ASCIL . |