borderless

Move a borderless Winform holding right mouse button, possibly with native methods

。_饼干妹妹 提交于 2019-12-23 21:26:09
问题 I have a situation where I would like to move a windows form by holding right mouse button on it's client area; the form it's borderless as i've stated. I would like to move it "natively" (if possible, otherwise other answers are ok too). I mean the way it behaves when you hold left mouse button on the titlebar (with mouse-move and things like that I get a lot of strange behaviours, but maybe it's just me). I've read around a lot of things and this post looks helpful http://social.msdn

Use windows animations on borderless form

北战南征 提交于 2019-12-21 06:26:50
问题 Recently I made (mostly out of curiosity) a borderless form. After making my own title bar which includes the title, and the three buttons(minimize, maximize and close), just like every normal Windows program. I also made the code for these buttons (just ask if you want to see the code). However, I've noticed that there are no animations. What I mean is that, e.g. if I click the minimize button, there is no animation, the program instantly disappears (it doesn't close, the button works, but

Smooth resizing in a borderless form/window in Delphi

我是研究僧i 提交于 2019-12-19 19:52:31
问题 I am trying to resize a borderless form but when I increase the size using the right/bottom side, I get a gap between the border and the old client area that depends of the speed you move the mouse. The effect is more noticeable when you resize from the left border or even from the bottomleft corner, it's horrible everywhere (I tried with other commercial apps and it happens as well). This effect happens as well when I change to sizable border, but it's not as awful as when I remove form

Smooth resizing in a borderless form/window in Delphi

三世轮回 提交于 2019-12-19 19:51:48
问题 I am trying to resize a borderless form but when I increase the size using the right/bottom side, I get a gap between the border and the old client area that depends of the speed you move the mouse. The effect is more noticeable when you resize from the left border or even from the bottomleft corner, it's horrible everywhere (I tried with other commercial apps and it happens as well). This effect happens as well when I change to sizable border, but it's not as awful as when I remove form

Borderless windows on Linux

淺唱寂寞╮ 提交于 2019-12-18 04:21:44
问题 Is their a standard way to make a particular window borderless on Linux? I believe that the window border is drawn by your window manager, so it may be that I just need to use a particular window manager (that would be find, I'd just need to know which one)... My hope is that all the window managers might follow some standard that allows me to do this programatically... 回答1: Using Xlib and old _MOTIF_WM_HINTS : struct MwmHints { unsigned long flags; unsigned long functions; unsigned long

How to hide specific TD borders in a TABLE using CSS

早过忘川 提交于 2019-12-11 12:41:54
问题 I want to have some TDs in a table without border. Here is what I've tried: CSS .calendar-noBorder { border: none; background-color: red; } .calendar-table { border-collapse: collapse; } .calendar-table td { border: 1px solid black; } HTML <table class="calendar-table"> <tr> <td class="calendar-noBorder"> </td> <td> 1 </td> <td> 2 </td> <td> 3 </td> </tr> <tr> <td class="calendar-noBorder"> </td> <td> a </td> <td> b </td> <td> c </td> </tr> <tr> <td> aaaaaa</td> <td> b </td> <td> c </td> <td>

Borderless window in Qt on Windows which supports native features: aero snap, DWM resize and minimization

梦想的初衷 提交于 2019-12-05 21:30:47
问题 I'm trying to create a borderless window in Qt on Windows which supports native features: aero snap, DWM resize and minimization, shake, etc. Like Office 2013 or Visual Studio 2012. But they are written in wpf. There are a lot of examples in wpf and pure WinApi, but I wasn't able to find any Qt example. Recently I've found Blizzard's Battle.net App(screenshot). They are using QT 4.8.5 and their main window looks and behaves exactly as I want in my app. Does anyone know how to do that? Thanks

Borderless window in Qt on Windows which supports native features: aero snap, DWM resize and minimization

こ雲淡風輕ζ 提交于 2019-12-04 03:11:09
I'm trying to create a borderless window in Qt on Windows which supports native features: aero snap, DWM resize and minimization, shake, etc. Like Office 2013 or Visual Studio 2012. But they are written in wpf. There are a lot of examples in wpf and pure WinApi, but I wasn't able to find any Qt example. Recently I've found Blizzard's Battle.net App( screenshot ). They are using QT 4.8.5 and their main window looks and behaves exactly as I want in my app. Does anyone know how to do that? Thanks for your help. PKE I've found a workaround for this problem. Instead of using Qt main window, i've

Use windows animations on borderless form

我的未来我决定 提交于 2019-12-03 21:36:28
Recently I made (mostly out of curiosity) a borderless form. After making my own title bar which includes the title, and the three buttons(minimize, maximize and close), just like every normal Windows program. I also made the code for these buttons (just ask if you want to see the code). However, I've noticed that there are no animations. What I mean is that, e.g. if I click the minimize button, there is no animation, the program instantly disappears (it doesn't close, the button works, but without an animation). This happens in all cases: When I open the program it instantly appears, when I

How to integrate the Qt frameless window in Windows composer? (system shortcut doesnt works)

自闭症网瘾萝莉.ら 提交于 2019-12-02 19:51:12
问题 I worked on Windows platform. If I used native frameless window flags like: ::SetWindowLongPtr((HWND)winId(), GWL_STYLE, WS_POPUP | WS_SYSMENU | WS_THICKFRAME | WS_MAXIMIZEBOX | WS_MINIMIZEBOX); I recieve frameless window that correctly works with default Windows windows composer - it correctly change the state when I press "WIN" key + arrows. When I try to use Qt library with following frameless window flags: setWindowFlags(Qt::Popup | Qt::FramelessWindowHint | Qt::WindowSystemMenuHint | Qt: