 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
ArchCarrier
Joined: 03 Jun 2008 Posts: 27
|
Posted: Sat Jul 11, 2009 7:18 am Post subject: Strange PSPad window behaviour |
|
|
I use PSPad as my text editor. I have defined a hotkey to open the program when I need it, but sometimes it doesn't open in the foreground of my other windows: I then have to Alt-Tab to get to the program. As far as I can tell, it's completely random when it opens in the foreground or in the background.
Anyway, it's been like this since ages, and I've grown to live with it, but now I created a shortcut to minimize the active window, | Code: | | #PgDn::WinMinimize, A | and I see that every window minimizes nicely to the taskbar, except for PSPad, which minimizes to a small title bar above the taskbar (see screenshot). When I Alt-Tab back to PSPad, it doesn't open the window, but activates the small title bar above the taskbar.
I suspect both 'problems' are connected, maybe because PSPad's developer is using non-standard code for the program's GUI. Is there anyone familiar with PSPad, who knows what might be causing this? |
|
| Back to top |
|
 |
Jekyll
Joined: 14 Dec 2011 Posts: 1
|
Posted: Wed Dec 14, 2011 9:26 pm Post subject: |
|
|
I know this thread is years old, but I had the exactly same problem today, so...
As stated in the WinMinimize Help, use PostMessage instead of WinMinimize to minimize PSPad correctly:
| Code: | ; minimize active window
#m::PostMessage, 0x112, 0xF020,,,A
|
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|