Jump to content
Sign in to follow this  
Tazo

API Call Equivalents for AutoIt functs?

Recommended Posts

Tazo

Hi, I was wondering if anyone could provide me with the windows API calls equivalent to:

  • StatusbarGetText
  • PixelGetColor
That is, of course, assuming there are equivalent API calls. If there aren't, I'd appreciate someone pointing me in the right direction (I'm looking to implement these features in a VB6 program of mine).

Just the name is fine. Thanks :rolleyes:

Edit: Ok, found out that PixelGetColor is equivalent to GetPixel, still looking for StatusbarGetText, though.

Edited by Tazo

Share this post


Link to post
Share on other sites
Tazo

Look at Auto3Lib - A3LStatus.au3

_Status_GetText() uses SendMessage() with SB_GETTEXT

Ah, for anyone else looking for this info. in the future, it's WM_GETTEXT. Found it shortly before I came back to check on my post :rolleyes: Thanks, Zedna.

Share this post


Link to post
Share on other sites
PaulIA

Ah, for anyone else looking for this info. in the future, it's WM_GETTEXT. Found it shortly before I came back to check on my post :rolleyes: Thanks, Zedna.

If you're dealing with a status bar and want to read a specifc panel in the control, you need to use SB_GETTEXT as Zedna indicated. AFAIK, WM_GETTEXT only works if the status bar is in simple mode. Edited by PaulIA

Auto3Lib: A library of over 1200 functions for AutoIt

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  

×