Sign in to follow this  
Followers 0
gazrat

Finding A Control Classname

3 posts in this topic

Is there any way to find out a Control classname other than using Window Spy ?

I'm trying to find out what one of the controls within Window Picture Viewer is.

>>>>>>>>>>>>( Window Title )<<<<<<<<<<<<<

apathy.jpg - Windows Picture and Fax Viewer

(  classname=ShImgVw:CPreviewWnd  )

>>>>>>>>>>>( Mouse Position )<<<<<<<<<<<<

On Desktop: x: 326  y: 688

In Window: x: 330  y: 692

>>>>>>>>>>>>>( Pixel Color Under Mouse)<<<<<<<<<<<<<

Dec: 15726583      Hex: 0xEFF7F7

>>>>>>>>>>>( Window Position )<<<<<<<<<<<

left: -4  top: -4  width: 817  height: 716

>>>>>>>>( Last Control Under Mouse )<<<<<<<

Class: ToolbarWindow321    Text:

>>>>>>>>>( Status Bar Text )<<<<<<<<

>>>>>>>>>>>( Visible Window Text )<<<<<<<<<

>>>>>>>>>>( Hidden Window Text )<<<<<<<<<

The only control is 'ToolbarWindow321'. Using ControlDisable on this disables all controls.

I only need to disable one.

Pixel Color and Mouse Position are of no use as these will change depending on the image viewed.

Any ideas ?

Share this post


Link to post
Share on other sites



It's a toolbar, it's only one big control. It isn't made up of individual smaller controls, it's all one thing.

Share this post


Link to post
Share on other sites

Damn, thought that might be the answer but can't hurt to ask.

Have to see if I can figure out another way to disable the commands within the toolbar

Thanks...

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