I reported a popup problem, that was introduced in version 4.2.0 and the problem is still exists in 4.6.1. Currently tested with Windows 7, IE9 and Windows XP, IE8. References to the previous problems are listed at the bottom. I have been using DHTML windows for popup’s but they have their limitations as well. Now, I need the to be able to move the popup’s between monitors. The internal popup’s can be moved to a secondary monitor where the DHTML popup’s cannot.
The issue, is that the first popup opened from the maximized shortcut opens in full screen and then when minimized it goes to the lower right hand portion of the screen. After closing and opening the popup again, it opens up correctly. Is there any reason why the popup emulates the way the EXE was opened, when called from a maximized shortcut. Can this be fixed to behave like in 4.1.1?
Thanks,
Code:
<script type="text/JavaScript">
function testPop01(){
window.external.ShowPopup("test1", "test_01.htm", 600, 400, -1, -1, "noresize");
}
</script>
<body>
<input type='button' onclick='testPop01();' value='Test Popup 01' />
</body>
- To duplicate the problem, include the above code in a test page. Use any page to be opened in the popup.
- After compiling, create a shortcut to run the EXE maximized.
The issue, is that the first popup opened from the maximized shortcut opens in full screen and then when minimized it goes to the lower right hand portion of the screen. After closing and opening the popup again, it opens up correctly. Is there any reason why the popup emulates the way the EXE was opened, when called from a maximized shortcut. Can this be fixed to behave like in 4.1.1?
Thanks,
http://www.gdgsoft.info/htmlexe-problems/windows-popups-quirks-t2330.htmlIssue #1.
No changes in my code from 4.1.1 vs 4.2.
4…1.1 When opening a popup, it is centered in the middle of the screen every time.
4.2.0 When you open the first popup after a fresh run of the EXE, it is full screen. if you set it to normal mode, it is sized right and put in the lower right hand corner of the screen. After closing and reopening the popup, it will be centered correctly in the middle of the screen. This only happens to the first popup that is opened during the current session. This is not related to any one popup, just the first one opened during the current session.
http://www.gdgsoft.info/post7332.html2.) Windows/Popup Quirks in 4.2 - htmlexe-problems/windows-popups-quirks-t2330.html
First post issue #1. If using a shortcut, maximized, to open the EXE, the first popup opens full screen. Doesn’t make any difference which popup. They are all fine after that. Using, the maximize instead of the minimize window call in the documentation, that works about 90% of the time in starting the EXE in full screen. It is in the index.htm. Using a maximized shortcut, prior to release 4.20 did not have this behavior.
Last edited: