Is your copy of Vista a 64-bit edition? My guess is that the way I'm handling the returned value from user32.dll's MonitorFromPoint() function is probably invalid... I'm "converting" a hWnd pointer into an integer, which works fine under 32-bit systems, but under 64-bit, I *think* it behaves differently... Le sigh. Gotta figure this one out again :<
Edit: Hm, maybe I've already found a solution...
Last Edit: Sept 13, 2007 22:35:46 GMT -5 by Ultima
Heh sorry about that; I tried looking over your old posts, but (somehow) managed to overlook that very post -.-
[SNIP] If you don't mind, can you test this executable?
Edit: As an aside, I think I've gotten the column show/hide system down... What a pain it was to fix one stupid typo... Ended up taking probably an hour or two staring at and messing with my code before realizing I was using one measly variable in the wrong place :<
Last Edit: Sept 13, 2007 23:28:13 GMT -5 by Ultima
Eh what the...? What is your desktop resolution...?
Edit: Yeah, I updated the post because I didn't expect you to have read the previous post (I deleted it pretty quickly). It's not much different, though; the (again) updated build only automates the process of getting guiXpos and guiYpos. Still, I guess it's worth a try. I can't make heads or tails out of these results
Last Edit: Sept 13, 2007 23:04:53 GMT -5 by Ultima
I run in two resolutions depending on what I am doing. 1360x768 and 1920x1200. I have reproduced the problem in both resolutions. Below are the results of the updated build. In particular, I did this in 1360x768.
I then experimented and found I was able to reproduce the problem. The Frontend only experienced the above if during it's previous session I closed it via the taskbar right-click menu while it was either maximized or minimized.
So you can't reproduce the problem with a maximize any more? And by the way, thanks a bunch for your quick and continuous cooperation If you weren't sticking around, it might've taken days to get it fixed xD
Edit: Yeah, it flashes because I restore the window if it's maximized or minimized before I grab the window size, write it to the INI, and then fully exit the application. If I don't restore the window, the window size/position grabber returns nonsense numbers.
It's not a very elegant solution, but there appears to be no other way for me to accurately record those numbers into the INI.
Last Edit: Sept 13, 2007 23:42:46 GMT -5 by Ultima