I have 4 buttons on my view, and am trying to get the id of the button clicked in the wdDoModifyView(). Based on the click I intend to change values.
Is this possible.
OK, then the answer is: transfer the ID into the action handler using event parameter mapping, store it in a view context attribute and get it from this attribute in wdDoModifyView().
But I doubt that the original poster really wants to do these changes in wdDoModifyView().
We should not propagate using non-API methods in this forum.