Jump to content
Synaps3

How to alter another program's controls?

Recommended Posts

I've never dealt too heavily with Windows internals. To what extent can I alter another program's controls?

I remember a long time ago I used to be able to use Spy++ to get the handle of a control and then use that to play a screen saver on the control on XP. I just tried it on 7 and it doesn't seem to work, but maybe I forgot.

I know this is a very general question, but I want to know if for example, I can change the background color of a control in another application or maybe set a background image. I've always wanted custom background images in things like notepad and the command prompt. Is it possible?

A long time ago I was somewhat familiar with SendMessage.

Share this post


Link to post
Share on other sites

https://docs.microsoft.com/en-us/windows/win32/controls/window-controls

Look under a specific control for the list of messages.  Some messages cannot be send between threads.  I have just tested how to set an icon to a button in an other application from a AutoIt script and it is working alright under Win7.

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...