docking

Aero Shake disabled and window docking enabled + WinApi

房东的猫 提交于 2020-01-25 09:35:59
问题 Could you help me with the problem below? How can I disable the Aero Shake but window docking should work with using WinApi? I know that these can off by winApi method SystemParametersInfo and SPI_SETWINARRANGING , but it disabled Aero Shake and window docking. The Aero Shake I can off in manual mode by Regedit or Local group Policy Editor and after that window docking will work. I cannot find a solution how do it by WinApi. Do somebody know a way for this? 来源: https://stackoverflow.com

Disable code window undock in VS2010

天涯浪子 提交于 2020-01-15 05:07:19
问题 I've seen cases where people are asking how to disable on double click. But i'd like to go one further and disable the feature altogether, does anyone know how to? I don't mean all windows (Properties, Debug, Output) just code windows (Pages, Controls, other files) I'm using VS2010 SP1 + PowerTools and I keep undocking code windows when selecting the tab if i accidently drag down and it's really frustrating! Many thanks in advance, Cheers, P. 回答1: I also don't know any option to disable it,

Detecting when a CControlBar's docking state has changed

假如想象 提交于 2019-12-31 04:07:09
问题 I'm using a CControlBar-derived class and I would like to detect when the docking state of the CControlBar has changed (i.e., docking from vertical to horizontal or when it goes into floating mode). Of course, I could handle WM_SIZE but it seems to be a waste of ressources doing the task every time a WM_SIZE message is fired instead of only when the docking state has changed. Can anyone please point me in the right direction? 回答1: You can override the CControlBar::OnBarStyleChange virtual

Delphi JvDockServer JvDockClient notification for undocking (floating) of a client form

安稳与你 提交于 2019-12-25 02:43:09
问题 Using the JEDI VCL library with Delphi, I put a JvDockServer on the main form, and on another that should be docked to the main form, I have JvDockClient using dock style JvDockVIDVCStyle. While Docking works great, I would like to be notified when a client form changes from docked to undocked (floating) mode. 回答1: Update The JVCL is now modified to contain this feature built in! The TForm's built in events is now fired when you dock a form. Check out the DockingInCode demo in the JEDI JVCL,

Any easy way to store dock widows layout and sizes in settings with Qt?

早过忘川 提交于 2019-12-23 12:46:51
问题 I have a main window with some internal dockable windows. I can move, resize and redock those dockable windows. After close and reopen the program, I want the moves, sizes and redocking are kept. Any easy way to implement it? I think it will use settings. But which info should be saved in settings. And how to set a default layout of all these dock windows? When click an action button, it can be restored. Thanks. 回答1: Unfortunately, no, there is no built-in way to do this. You'll need to loop

Docking and Anchoring on a Windows Form application

社会主义新天地 提交于 2019-12-21 21:42:54
问题 I'm developing an app for Windows Mobile 5.0 and above, with C# and .NET Compact Framework 2.0 SP2 . I have a WinForm with two panels inside (upperPanel and bottomPanel). I want that upperPanel always fill 2/3 of form's height, and bottomPanel fills 1/3 of form's height. Both panels will fill completly form's width. I've used this: upperPanel.Dock = Fill; bottomPanel.Dock = Bottom; But upperPanel fills the form completly. How can I do this? I want, more o less, the same gui on differents form

IDEA dock window layout

半腔热情 提交于 2019-12-20 18:06:32
问题 Is it possible to change the way that docked tool windows in IDEA are laid out? Currently, the bottom most window takes all the horizontal space, and the left and right windows do not take all the vertical space (because of the bottom window). Is it possible to arrange the layout so that the left and right docked windows take all the vertical space, and the bottom one takes what's left over? I.e. to have this: +-----+---------------------------+-----+ |Tree | |Tree | | | Code | | | | | | | |

How to use DockStyle.Fill for standard controls in WPF?

跟風遠走 提交于 2019-12-20 07:59:01
问题 I'm used from windows forms, that I create a panel, place controls inside it and give them DockStyle.Fill to max out their size to the surrounding panel. In WPF I want to have the same. I have a TabControl and I want its size to fill as much of the form as possible. I have a ribbon control (RibbonControlsLibrary) and want the rest of the form to be filled with the TabControl at max size. (I do not want to dock controls like docking in Visual Studio, just old docking mechanisms) 回答1: The WPF

Qt Creator - How To Enable a Floating IDE Layout?

怎甘沉沦 提交于 2019-12-20 04:34:35
问题 I'm a long-time user of Embarcadero C++Builder peeking into Qt Creator (Ver. 4.4.0) at the moment, which seems to be well-suited for all kind of C++ development tasks and thus might be pretty productive. Unfortunately there's one major drawback slowing me down significantly in comparision to C++Builder : I can't find any setting enabling the re-arrangement of Qt Creator 's default IDE layout, since it's just not mine. Is it really the case, that such a classy-looking IDE won't have that kind

QuickSharp - set floating form size

两盒软妹~` 提交于 2019-12-13 19:22:38
问题 Using the QuickSharp SDK , how do you manage the size of a window if it is floating? I want to set the MinimumSize for a floating panel that is created when a plugin is loaded. QuickSharp uses the WeifenLuo DockPanel Suite, and there is a way to manage the windows with that, but it isn't so obvious how to use this code with QuickSharp because QuickSharp creates its own docking classes from the underlying WeifenLuo library. Sure, you can sniff it out via the source code, but there is a lot of