Click here to Skip to main content
15,861,172 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,
I have an application and when I press "Windows button + arrow up" it jumps to the top left corner and resizes to maximum. This is standart feature of this keyboard shortcut but the problem is that after this I can only resize it, not move it. Where can be the problem? or maybe even better how do I completely disable "Windows button + arrow up" keyboard shortcut?
Thanks
Cheers
Posted
Comments
Kschuler 18-Sep-12 10:51am    
What code are you using to accomplish this?
Member 8266594 18-Sep-12 11:10am    
Well actually no code. I guess it is a build in feature of windows 7 and I am trying to get rid of it.
Kschuler 18-Sep-12 11:12am    
Ah. I see. I am still on Windows XP, so when I tried the windows + arrow up and it didn't work, I assumed it was a feature you were making not one built into the OS.

1 solution

In Windows 7 this is standard behavior. The Windows->Arrow Up command maximizes the window. Maximized windows cannot be moved unless they are resized first. There is no problem here.
 
Share this answer
 
Comments
Member 8266594 18-Sep-12 11:57am    
And can it be somehow disabled in Winforms app? It is a demand on my app from my superior.
fjdiewornncalwe 18-Sep-12 12:02pm    
There appears to be some confusion here. In your comment to Kschuler above you say "no code", but now your are talking about how to disable it in a WinForms app. Is this an existing application, or one that you have the source to?
Member 8266594 18-Sep-12 12:28pm    
How to make it clear? obviously I have no code for this because it is a build in windows feature...for Windows 7 if you press "Windows button + arrow up", the active window changes its position to [0;0] and resizes to fullscreen (or its maximum size) and I want to somehow "kill" this behaviour so that nothings happens if I press this keyboard combination
Hopefully I made myself clear
fjdiewornncalwe 18-Sep-12 13:47pm    
Are you trying to accomplish this in an application you are writing or across the entire system?
Member 8266594 18-Sep-12 14:50pm    
only in the application I am creating

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900