Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Windows 8 Winmove issues



  • Please log in to reply
7 replies to this topic
Verdlin
  • Members
  • 256 posts
  • Last active: Apr 29 2016 06:46 PM
  • Joined: 21 Dec 2012

I am inclined to think this is a Windows API bug (What?! Windows has bugs? wink.png )

 

Anyhow, I noticed that non-resizeable dialog boxes (Like a regular Msgbox) are not getting placed correctly via WinMove.

 

Below is a screenshot showing Msgbox overlapping my other monitor. The window is at the right x coordinate (in this case, left monitor x is 1366, and the Msgbox x is 1366), but, as you can see, it clearly it being placed incorrectly.

 

Has anyone else noticed this?

 

 

<a href="http://s178.photobuc...ia/bad.png.html" target="_blank"><img src="http://i178.photobuc...emaster/bad.png" border="0" alt=" photo bad.png"/></a>


Scripts are written and tested using AHK_H 64w (unless otherwise specified).

CFlyout. EasyIni. Dynamic Label Execution (No Reload). Word Lookup.


Verdlin
  • Members
  • 256 posts
  • Last active: Apr 29 2016 06:46 PM
  • Joined: 21 Dec 2012

Keep getting errors when trying to edit that post.

 

bad.png


Scripts are written and tested using AHK_H 64w (unless otherwise specified).

CFlyout. EasyIni. Dynamic Label Execution (No Reload). Word Lookup.


guest3456
  • Members
  • 1704 posts
  • Last active: Nov 19 2015 11:58 AM
  • Joined: 10 Mar 2011
it looks like it could be the same problem that i posted about here:
http://www.autohotke...and-aero-theme/

if so, i dont believe it is a windows bug, but rather some wrong window style that ahk is using to show the gui

Verdlin
  • Members
  • 256 posts
  • Last active: Apr 29 2016 06:46 PM
  • Joined: 21 Dec 2012

Thanks! That is helpful, and it is a good solution; however, I used Msgbox for simplicity. This is a problem for any non-resizeable dlg. Is this, potentially, a widespread problem of incorrectly stylized dlgs?

 

Here's another example:

 

bad-2.png


Scripts are written and tested using AHK_H 64w (unless otherwise specified).

CFlyout. EasyIni. Dynamic Label Execution (No Reload). Word Lookup.


guest3456
  • Members
  • 1704 posts
  • Last active: Nov 19 2015 11:58 AM
  • Joined: 10 Mar 2011
it seems to be a problem only on non-resizable dialogs created by AHK

Verdlin
  • Members
  • 256 posts
  • Last active: Apr 29 2016 06:46 PM
  • Joined: 21 Dec 2012

PortableApps is a non-ahk dialog.


Scripts are written and tested using AHK_H 64w (unless otherwise specified).

CFlyout. EasyIni. Dynamic Label Execution (No Reload). Word Lookup.


Lexikos
  • Administrators
  • 9844 posts
  • AutoHotkey Foundation
  • Last active:
  • Joined: 17 Oct 2006
✓  Best Answer
See my post in Win7 GUI Dimensions Wrong.

The dimensions are, in fact, correct as far as the OS is concerned. The decorations rendered by the Desktop Window Manager (which is optional in Windows 7) complicate things.

Verdlin
  • Members
  • 256 posts
  • Last active: Apr 29 2016 06:46 PM
  • Joined: 21 Dec 2012

Thanks, Lexikos. Appreciate the info. I'm marking your answer as solved since the issue has already been discussed in your post.


Scripts are written and tested using AHK_H 64w (unless otherwise specified).

CFlyout. EasyIni. Dynamic Label Execution (No Reload). Word Lookup.