gazrat Posted April 28, 2004 Share Posted April 28, 2004 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: 688In 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 ? Link to comment Share on other sites More sharing options...
Valik Posted April 28, 2004 Share Posted April 28, 2004 It's a toolbar, it's only one big control. It isn't made up of individual smaller controls, it's all one thing. Link to comment Share on other sites More sharing options...
gazrat Posted April 29, 2004 Author Share Posted April 29, 2004 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... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now