Jump to content

Solved: WinMove doesn't work


Recommended Posts

Hi,

I want to move the main form of the Windows Media Center which is part of Windows Vista Home Premium. For some reason it doesn't work. Moving the window of notepad.exe on the same machine works fine.

Any idea?

Edited by Tenaya
Link to comment
Share on other sites

Use the AutoIt window information to make sure you're getting the name right... Maybe try a different option for WinTitleMatchMode that includes the class also.

Window title and match mode are the right ones, I can close the window with WinClose - but WinMove doesn't work. I think the form of the Windows Media Center has some "special" attributes. If it's in full screen mode, it is not possible to place another window over it (even not with WinSetOnTop).
Link to comment
Share on other sites

Sorry, I forgot to say I'm working with AutoItX (maybe it's the wrong forum) in combination with Visual Basic. I checked now to move the window with a dedicated AutoIt executable and it works. I will move now the window with the executable.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...