This then seemed to automatically place it above a 'this.ClientSize = new (11264,730)' method, which piqued my interest. On the Form initialize, I added 'this.AutoScaleMode = .None '. Whether somewhere in Visual Studio, or on my machine. I wasn't sure where to find the DPI settings. Admittedly I didn't dock every single controller, but I then moved onto solution 2. I docked a couple of the main containers I could find, and it didn't seem to make much difference. A good few were anchored, but none appeared docked. None of the controllers in the application where had docked values. OK, so first in response to Saruman's suggested solutions. Then you will need to set the ControlBox property to False after the form is initialized. You will need to change the following property at design-time. That would actually produce the size you expect to see. So for example, If you want the MinimumSize to be (600, 170) then you need to set it to (590, 137). So the first option would be to offset what you want the MinimumSize to be by (w:10, h:33). The last one would be to fix the issue in code by setting the ControlBox property after the form is initialized. Another would be to actually show the ControlBox. Well you actually have three workarounds. This would be the offset of a WIDTH of 10 pixels and a HEIGHT of 33 pixels. The other would be the title bar icon WIDTH. My guess is that the bug is not accounting for two things. Then you closes the form and open it back up you will notice the Size has now been changed to (610, 203). If you close this form and open it back up the Size is still exactly the same (600, 170). It is not calculating the Size properly when certain circumstances are met. To quickly find a registry key in Windows 10, copy and paste the registry path in the address bar at the top of the editor then press Enter to jump to it.Apparently there is a bug in Visual Studio 2015. HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Task HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Message HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Contact HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Appointment HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Office Explorer HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Task HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Message HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Contact HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Appointment HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Office Explorer HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Task HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Message HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Contact HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Appointment HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Office Explorer The keys for current versions are listed below. To get the main Outlook window back to full size, find and delete the Frame value under HKEY_CURRENT_USER\Software\Microsoft\Office\xx.0\Outlook\Office Explorer, where xx is your version of Outlook. If you have a value called Namespace, delete it as well. When you reopen Outlook, it will open at full screen and recreate the Frame value the next time you close Outlook.Įach item type has a frame value. Each Outlook window has a Frame value in their registry key. Outlook window position are stored in the registry, in a value named Frame. If you like your windows arranged in a specific side and position on the desktop, you'll want to close all other windows before using these commands. Right click on the Windows Taskbar and choose from Cascade windows, Show windows side by side, or Show windows stacked. There are two ways to fix it: use a Windows command to rearrange all open windows and bring Outlook back on the screen or edit the registry to reset the Outlook window to the default size and location. Changing the screen resolution may have caused it, but you can fix it without changing display settings. The usual cause is because the window is pushed off the edge of the screen. Clicking Restore seems to minimize the Window, not restore it. This user's problem was that Outlook is either minimized or maximized.
0 Comments
Leave a Reply. |