I would just like to report this small bug (if you may call it that way) since way back. Sometimes, a little while after using MPE, I see something like this at the bottom half of my desktop:
The black screen there is my desktop (I'm minimalist, hehehe). The small weird grey screen on top of the "FJ Software" taskbar window is exactly what I'm talking about. I know it's from MPE because when I close MPE, the grey window disappears as well.
FJ hat geschrieben:Can you give me some more infos when it happens so its easier for me to reproduce it ?
Does the bar appear while using MPE or directly after starting ?
The bar appears while using MPE. It usually appears when I attempt to minimize the main window. I'm using a keyboard shortcut utility which allows me to minimize any window using a hotkey instead of having to use the mouse the click on the minimize button.
From what I've observed, MPE seems to create an invisible window which doesn't appear in the taskbar. I think this is the window that gets minimized to the small grey rectangular window at the lower left when I use my hotkey.
You mean "Minimize to Taskbar" and not "Minimize to tray" ?
Does it also happen if you minimize th window with the mouse and if no - which shortcut-utility you are using ?
FJ hat geschrieben:You mean "Minimize to Taskbar" and not "Minimize to tray" ?
Does it also happen if you minimize th window with the mouse and if no - which shortcut-utility you are using ?
Yes, I meant "Minimize To Taskbar". I wrote the hotkey myself using AutoHotkey. It just sends a WM_MINIMIZE to the current window.
It *rarely* happens when I click on it normally using a mouse.
I think what's happening here is that MPE creates an "invisible window" when it is minimized. Since it's invisible, it can rarely be affected by normal mouse clicks, because there is no minimize icon to click. I think what is happening is that my hotkey "sees through" the invisible window, so it minimizes it in a more low-level manner using WM_MINIMIZE. What do you think?
There is only one invisible window - the splash-screen which stays loaded cause of technical reasons. But its set to invisible, so it should not appear.
I downloaded and installed AutoHotkey, could you please send me your script ? If i can reproduce it then it should be also fixable.
#SingleInstance force
#NoEnv
SendMode Input
MButton::PostMessage 0x112, 0xF020, , , A
This simple script just assigns the Middle button of your mouse to minimize the current window. After saving the script, double-click it to run.
Then please start MyPhoneExplorer. Send a new text message, and AFTER xxx the "Send" button, while the "Send message" progress indicator dialog is still flashing, click on your Middle mouse button to minimize it. The window should minimize to a grey rectangular box as I've showed.
The problem: Some controls of MPE (Listview, Explorerbar and DateTimeEditors) wrap original Windowclasses. cause of this they create unvisible windows to handle the messages. The problem is that i did not write this controls and so i cannot fix it directly. But i have a workaround for you:
Thanks for all your efforts in "fixing" the "bug", even if it's already beyond your scope. I appreciate the workaround that you've incorporated in my script.
However, the error still persists. I recompiled the script with your suggested, and the rectangular bar still appears. The WinHide command fails to "hide" the invisible Static windows.
Maybe there's an easier way to fix it? Do the invisible windows really have to be created? Is there a way to separate the GUI section from the backend?
Strange - i tried this script several times and it worked - on Windows Vista.
As is said: I have no control about those windows, cause they are created from the compiled controls i use. To be honest - i did not know about those windows until yesterday.
I think i have another solution now: MPE hides this static window now after startup. It should work now with the original AutoHotkey-Script. Please try it with the current beta and report if its working: http://www.fjsoft.at/files/MyPhoneExplo ... Update.exe