I have a program, where I need to disable a specific button on toolbar. "Save" on the Adobe Reader control.
I know it's possible to hide a control by locating its window handle.
Using Spy++, I found the required toolbar. It has buttons and text fields. Although text fields are child windows of the toolbar, buttons aren't windows at all!
How to proceed in that case? Is there a way to hide such buttons? I tried locating them using relative position from the toolbar and displaying something on top, but it's sections can be repositioned manually by user.