Sign in to follow this  
Followers 0
gazrat

Windows Picture Viewer Toolbar

3 posts in this topic

Hi, Not sure if this is possible but hopefully someone will be able to help.

I'm looking to disable certain toolbar icons/commands in the Windows Picture and Fax Viewer using a AutoIt script.

Specfically the 'Next Image' 'Previous Image' and 'Editing' icons/commands.

I've tried using the Window Spy utility to capture these areas but the position of the icons changes depending on the size of the image being viewed.

Also, Window Spy is not able to give me any specific data on just those icons.

I've been able to disable the 'Delete' and 'Copy to' commands by closing the Windows they open as soon as they appear. However, I can't figure out a way to stop these other commands.

We are looking at using the Viewer so it ONLY views the specific image that has been opened and no changes can be made to it.

Anyone got any ideas ???

Share this post


Link to post
Share on other sites



When You say AutoitSpy doesn't give you info on the icons .. do you mean the toolbutton controls on which the icons are actually displayed? In the end .. have you tried ControlDisable?

Share this post


Link to post
Share on other sites

Yes, sorry meant the toolbutton controls.

ControlDisable might work, unfortuately Window Spy only reports the classname for the whole Picture Viewer app.

I also have a feeling that MS have used something other than the standard controls to make Picture Viewer work.

How do I find out the specific control for 'Next Image' and I'll see if I can disable it ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0