Jump to content

Set foreground/focus wow window


Recommended Posts

  • Harvest Golem changed the title to Set foreground/focus wow window
8 hours ago, Droidz said:

Hi,

robotManager.Helpful.Display.ShowWindow(obj.CurrentWowProcess.MainWindowHandle);
     public static void ShowWindow(IntPtr mainWindowHandle)
        {
            Native.ShowWindow(mainWindowHandle, Native.SwRestore);
            Native.SetForegroundWindow(mainWindowHandle);
        }

 

The name 'obj' does not exist in the current context, please can I ask for the reference for 'obj'? Cant find where the CurrentWowProcess located in the libraries.

Link to post
Share on other sites
  • 2 months later...

Hello, you have robotManager.Helpful.Mouse.CurseurWindowPosition(IntPtr mainWindowHandle, int posX, int posY) and robotManager.Helpful.Mouse.CurseurWindowPercentagePosition(IntPtr mainWindowHandle, int percentageX, int percentageY)

 

Look methods in robotManager.Helpful.Mouse and robotManager.Helpful.Display (but simulate click works badly and you need wow window in foreground)

 

 

Link to post
Share on other sites
2 hours ago, Droidz said:

Hello, you have robotManager.Helpful.Mouse.CurseurWindowPosition(IntPtr mainWindowHandle, int posX, int posY) and robotManager.Helpful.Mouse.CurseurWindowPercentagePosition(IntPtr mainWindowHandle, int percentageX, int percentageY)

 

Look methods in robotManager.Helpful.Mouse and robotManager.Helpful.Display (but simulate click works badly and you need wow window in foreground)

 

 

Oh, yes, im stupid)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...