This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Feature Updates
 Closed or Deferred Requests
 [ALIEN SCRIPT] Get window properties
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

imafishimafish

USA
19 Posts

Posted - 05/18/2012 :  14:38:51  Show Profile  Reply with Quote
Is there a way to get window style information? If not, I'd like to request such a function.
Specifically, I need to know if a window is visible or not.

Here's what I'm trying to do:
Toggle a tool window (open/closed) in an app. When I close the tool window, it is actually just hidden. The window handle still exists, and it has the same dimensions, and same transparency.

A function that returns the DWORD for a window's style would be sufficient.

Rob

USA
2606 Posts

Posted - 05/18/2012 :  15:36:08  Show Profile  Visit Rob's Homepage  Reply with Quote
This is exactly why I stuck the alien libraries in here! (so I wouldn't have to build in less common functions)

I made a post over here:

http://www.strokesplus.com/forum/topic.asp?TOPIC_ID=352

It's a little verbose, being a demo script, but you should be able to glean what you're looking for from it (just check the path to Notepad I used and make sure it's not matching on any other window that has "notepad" in the title, it was a quick regex match)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000