Forum Discussion

pavan_manikonda's avatar
pavan_manikonda
Occasional Contributor
11 years ago

Extending testcomplete UI with IaqWindowProvider

Hello,



I managed to get an new panel into testcomplete by extending the CWindowImpl interface. Also I added a button to the panel making a call to CreateWindow(L"BUTTON" ..) in OnCreate method of CWindowImpl class.



Problem is how do I attach event handlers to that button. I want to grab the actions on that button and write my custom action handlers.



Am I not supposed add UI elements to panel using CreateWindow ??



Also, I am able to create UI elements with event handlers attached using IaqActionManager as well. But then I couldn't figure out how do I add such elements to UI panel created by extending CWindowImpl .



Any help is appreciated.