dock

Recommendations for a docking library for Delphi / C++Builder?

孤街醉人 提交于 2019-12-02 14:28:12
My team is currently thinking of moving our existing MDI-based application to a more modern, docking-based approach. We're still thinking, but we'd like to move it to something like VS2010's docking and visual look: This has the following features: Shows a blended outline where the window will dock Docks into tabs, as well as side-by-side Allows docking by dragging and releasing over an image showing the dock position (I call this a 'docking widget' below) Looks pretty good too (theme / UI-wise) I am having trouble finding a good-quality docking library to use with RAD Studio 2010 and am

How can I get the screen position of the DockTile in OSX?

谁说我不能喝 提交于 2019-12-02 08:33:29
问题 I need a window to 'point' to the icon that was clicked on in the dock, similar to the way the context menu has the little callout-arrow pointing to it. This means I need to get the screen location of the dock, or more accurately the DockTile. (Yes I could use the mouse coordinates, but that doesn't look as good as it 'moves'.) Now my thought is to get the associated view (I already have that), then use view-to-screen coordinate conversions, but that's becoming problematic as the x/left and y

How can I get the screen position of the DockTile in OSX?

社会主义新天地 提交于 2019-12-02 06:02:40
I need a window to 'point' to the icon that was clicked on in the dock, similar to the way the context menu has the little callout-arrow pointing to it. This means I need to get the screen location of the dock, or more accurately the DockTile. (Yes I could use the mouse coordinates, but that doesn't look as good as it 'moves'.) Now my thought is to get the associated view (I already have that), then use view-to-screen coordinate conversions, but that's becoming problematic as the x/left and y/top values of the bounding rectangle always say zero. I know that's because there's a nested hierarchy

AvalonDock dock a window

十年热恋 提交于 2019-12-02 04:36:39
问题 I am trying to convert my app in WPF to work with AvalonDock . I have a few windows(about 10) and main form that has DockingManager . I would like to put those windows inside that DockingManager . I've tried this: <ad:DockingManager x:Name="MainWindow"> <ad:DocumentPane x:Name="Windows" /> </ad:DockingManager> FormDocumentSearch formDocumentSearch = new FormDocumentSearch(dc, this); //create window DockableContent dct = new DockableContent() { Title = "Window" }; //create DockableContent dct

ListBox AutoSizes by item height

血红的双手。 提交于 2019-12-01 18:06:02
I use TableLayoutPanel for all my elements in a form. I use Dock Fill to autosize a TextBox and a ListBox. TextBox fits perfectly in a cell of the TableLayoutPanel but not a ListBox. It autosizes by item height. How to delete this gap between the bottom of the ListBox and the bottom of the form? I know I can set the height of the ListBox by a certain value (e.g. item height in the ListBox is 16, 16 * 10 elements= 160, 160 will fit correctly), but is there any other solutions? I'm using C#. LarsTech Set the ListBox's property IntegralHeight = false; so that it won't resize the control by the

Hide Java application from command-tab application switcher and dock in OSX

假如想象 提交于 2019-11-30 13:53:13
I have a java application which has a tray icon in the top menu bar of OSX. When I minimize the application I would like it to disappear from the dock and the command-tab application switcher and only be in the tray. I've seen other OSX applications do this, so I do believe it is possible, but as a newbie to OSX I have no idea how to achieve it. Any help would be appreciated! As it turns out, SWT 3.5 had a bug which prevented it from properly reacting to the Info.plist that OSX requires to hide the application. This bug is fixed in SWT 3.6, and with Eclipse Helios being released today, I

Add/remove application icon from dock at runtime?

半腔热情 提交于 2019-11-30 09:59:45
Is there a public Apple API which allows you to remove an application's dock icon at runtime? I have tried substituting an empty view with zero size via NSApplication's dockTile, but that simply erases the dock icon without reclaiming its space and launch indicator. I also know about the LSUIElement parameter in an application's info.plist, but this value is only evaluated on launch. It is not a runtime parameter. Francis McGrew It's a one way street: You can set your app to NSUIElement to hide the dock icon, then call [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular]; to show

How to launch java application from Dock, Mac

六月ゝ 毕业季﹏ 提交于 2019-11-30 09:47:28
问题 I have created a Java Swing application. It works fine. I have created application file (.app) for that application using jar bundler. But the main problem is that my application does not open if I click it on the Dock. I am using Mac OS. How I can launch my application by clicking on Dock Thanks Sunil Kumar Sahoo 回答1: If you are using Apple's JavaApplicationStub, diagnostic output from the launch process may be obtained as follows: $ export JAVA_LAUNCHER_VERBOSE $ ./your.app/Contents/MacOS

Hide Java application from command-tab application switcher and dock in OSX

此生再无相见时 提交于 2019-11-29 19:54:09
问题 I have a java application which has a tray icon in the top menu bar of OSX. When I minimize the application I would like it to disappear from the dock and the command-tab application switcher and only be in the tray. I've seen other OSX applications do this, so I do believe it is possible, but as a newbie to OSX I have no idea how to achieve it. Any help would be appreciated! 回答1: As it turns out, SWT 3.5 had a bug which prevented it from properly reacting to the Info.plist that OSX requires

Add/remove application icon from dock at runtime?

末鹿安然 提交于 2019-11-29 14:41:10
问题 Is there a public Apple API which allows you to remove an application's dock icon at runtime? I have tried substituting an empty view with zero size via NSApplication's dockTile, but that simply erases the dock icon without reclaiming its space and launch indicator. I also know about the LSUIElement parameter in an application's info.plist, but this value is only evaluated on launch. It is not a runtime parameter. 回答1: It's a one way street: You can set your app to NSUIElement to hide the