desktop

Replacing desktop wallpaper / draw on the desktop

雨燕双飞 提交于 2019-12-21 05:45:59
问题 I'd like to do some custom drawing to my windows desktop such that it appears to replace the desktop background (wallpaper). My first try was to get a DC for desktopListView and draw to it: IntPtr desktopDC = GetWindowDC(desktopListView); Graphics g = Graphics.FromHwnd(desktopDC); //<-- fails on out of memory error I then tried to create a NativeWindow and capture the WM_PAINT message by assigning the native window's handle to the desktop and do my own drawing, but I was unable to see any

Display and update applescript output in background

五迷三道 提交于 2019-12-21 05:45:13
问题 I have a short and sweet program that outputs my internal and external ip in applescript. Here it is the Applescript code: set inIP to IPv4 address of (get system info) set exIP to (do shell script "curl ipecho.net/plain") display dialog "Internal: " & inIP & " External: " & exIP I would like it to constantly update in the background and preferably not in a display dialog function as it does at the moment. I do not want a display dialog constantly popping up so I am looking for example,

How does VLC play videos on the desktop?

こ雲淡風輕ζ 提交于 2019-12-21 04:37:25
问题 A while back, I noticed that VLC has the ability to play videos directly on the desktop. When I did so at my school, on Windows XP, it played underneath the icons. When I tried at home, on Windows 7, it hid the icons. I'm not sure if it's the operating system or if it's an update of VLC, but I'm interested in playing it underneath the icons. After noticing this, I had an idea to make an animated desktop of sorts. Nothing special, just a few select videos for my own use. The idea I started

Is SQL Azure suitable for Desktop client applications

删除回忆录丶 提交于 2019-12-20 18:30:38
问题 I have a client that runs a small business. They need a custom database solution and I'm looking into various options. My experience is limited to .NET using local SQL Servers (no ASP.NET), however, this client is non-technical and would benefit from being able to outsource the DBA tasks. I'm a complete Azure noob, I just scanned the tutorials and they all appear targeted at developing MVC ASP solutions. The client doesn't need a browser based solution. A fat desktop client used from

Build an installer for .NET app that can run on Windows and OS X?

醉酒当歌 提交于 2019-12-20 17:36:15
问题 I am surprised I could not find this question already asked, so if I simply missed it please notify promptly. I need to write a very small, fairly simple application in .NET that will be downloaded by end-consumers and installed on their system. Silverlight's sandbox model will not work - it has to be a full-on downloaded, installed executable. Here's what I know: I've developed applications which run in a controlled desktop environment - for example, an IT app that runs on a hundred internal

How to remove git repository created on desktop

半世苍凉 提交于 2019-12-20 17:26:41
问题 I accidentally made my Desktop a git repository. How to remove the git-related files from Desktop? I have tried to go to C:/User/my_user/Desktop and un-hide hidden git files but couldn't un-hide them. Then I tried to delete the files using Windows Powershell but it isn't listing these files either. I have also tried finding options in GitExtensions for some option to delete the git files but couldn't find any such option. Couldn't find option in Git GUI There is a git repository for sure

How to center a component in Material-UI and make it responsive?

我是研究僧i 提交于 2019-12-20 11:10:02
问题 I don't quite understand the React Material-UI grid system. If I want to use a form component for login, what is the easiest way to center it on the screen on all devices (mobile and desktop)? 回答1: Since you are going to use this in a login page. Here is a code I used in a Login page using Material-UI <Grid container spacing={0} direction="column" alignItems="center" justify="center" style={{ minHeight: '100vh' }} > <Grid item xs={3}> <LoginForm /> </Grid> </Grid> this will make this login

How to center a component in Material-UI and make it responsive?

北战南征 提交于 2019-12-20 11:09:03
问题 I don't quite understand the React Material-UI grid system. If I want to use a form component for login, what is the easiest way to center it on the screen on all devices (mobile and desktop)? 回答1: Since you are going to use this in a login page. Here is a code I used in a Login page using Material-UI <Grid container spacing={0} direction="column" alignItems="center" justify="center" style={{ minHeight: '100vh' }} > <Grid item xs={3}> <LoginForm /> </Grid> </Grid> this will make this login

Hardware-accelerated OpenVG implementation on Desktop based on OpenGL ES [closed]

旧巷老猫 提交于 2019-12-20 10:26:10
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I'm currently trying to get OpenVG up and running on my desktop. The problem comes here: I am / will be developing an application for a Windows CE device (with .NET compact framework), which has hardware-accelerated OpenGL ES 2.0 and OpenVG 1.0.1 (based on TI OMAP35x, if you're interested). The application will

Is there a WPF equaivalent to System.Windows.Forms.Screen?

a 夏天 提交于 2019-12-20 09:57:28
问题 I'm trying to create a WPF window that will encompass the entire Desktop working area. In WinForms I'd do this by getting the Union of all the bounds in System.Windows.Forms.Screen.AllScreens . Is there an equivalent type or other mechanism to get the bounds of the entire desktop in WPF or do I need to use the WinForms type? 回答1: Try SystemParameters.VirtualScreen* (Top, Left, Height, and Width) properties. http://msdn.microsoft.com/en-us/library/system.windows.systemparameters