From the sight of a called DLL, I 'injected' a combobox and some other controls temporarily into a systabcontrol of it's calling EXE. All Dialog processes are done by the DLL code. The DLL also contains the dialog itself with all it's controls. It is not a good idea to program all eventualities of possible DLL content inside the EXE code. Therefore I reserved the tab area for access by various DLLs to enable the user to configure their functionality always at the same place in the user interface.
For PB, I could not find an enumeration of a systabcontrol. So there remains one indifferent kink in the code:
I can set and get the current tab, but I cannot exactly get the click event of a tab. After another tab is clicked, WPARAM, LPARAM contain always the same sequence of three number pairs:
0, 1309144
0, 1308132
0, 1308132
I have to use the click event because after changing to another tab in a systabcontrol the last used tab area hWnd always changes to make it's content invisible. So, getting back to the last opened tab, the dialog content is lost.
It would be simple to regenerate the dialog by always reloading it by the DLL after a click on the desired tab.
Systab enumerations found in WWW mostly rely on .NET programming and are not very useful.
For PB, I could not find an enumeration of a systabcontrol. So there remains one indifferent kink in the code:
I can set and get the current tab, but I cannot exactly get the click event of a tab. After another tab is clicked, WPARAM, LPARAM contain always the same sequence of three number pairs:
0, 1309144
0, 1308132
0, 1308132
I have to use the click event because after changing to another tab in a systabcontrol the last used tab area hWnd always changes to make it's content invisible. So, getting back to the last opened tab, the dialog content is lost.
It would be simple to regenerate the dialog by always reloading it by the DLL after a click on the desired tab.
Systab enumerations found in WWW mostly rely on .NET programming and are not very useful.
Comment