InsertItem() to add a new tab to tab control
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
To add a new tab to a tab control I added the function InsertItem() in Pythonwin\win32prop.cpp. In addition to that, changes had to be made in win32\lib\commctrl.py (-> TCN_SELCHANGE etc.), win32util.cpp and win32ui.h to get/send a notification when the selected tab on the tab control has changed.
All changes are documented in the attached file changes_for_tab_control.txt.
Logged In: YES
user_id=14198
Originator: NO
Could you please supply these changes as a patch? I'm afraid I don't have time to manually stick the parts together
Thanks,
Mark
Logged In: YES
user_id=1646195
Originator: YES
I now uploaded a zip-file which contains win32prop.cpp, win32util.cpp, win32ui.h and commctrl.py.
Logged In: YES
user_id=771074
Originator: NO
I'm working on integrating this with recent changes.
Can you provide some python code that exercises this
functionality to aid with testing ?