Sparrowlord Posted March 17, 2010 Share Posted March 17, 2010 Hi, I'm attempting to get a window handle ( or set the title of a window ) from a pid. I have multiple windows running from the same process all with the same window name. I'm wanting to name each window something different to make it easier to work with. I'm able to get the individual pids per process, but I can't figure out how to change the window title from the pid or get the window handle from the pid. Help? Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 18, 2010 Share Posted March 18, 2010 Use WinList() to get the handles, then use them with WinGetProcess() to see which process they belong to. Easy as pie .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface 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