background

BackgroundWorker completed event - which thread?

Does the completed event of the BackgroundWorker control come back on the GUI thread or do i have to marshal that back. Also, does the progress event come back on the GUI thread or do i have to marshal that back? ...

div background color, to change onhover

I'm trying to make a div's background color change on mouse over. the div {background:white;} the div a:hover{background:grey; width:100%; display:block; text-decoration:none;} only the link inside the div gets the background color. what could I do to make the whole div get that background color? thank you LATER EDIT: how ca...

Webkit browsers not displaying background image / padding?

Hi, We're having a problem with our website at www.tonerize.com, in regards to the blue menu at the top center of the page. In IE / Firefox / Most browsers, the menu displays correctly and has a background image. However, in Webkit based browsers (Chrome, Safari, etc), the menu doesn't have a background and it seems like the padding is...

Is using a Windows handle to make DirectX calls from bgnd thread safe?

I am debugging an app that is (mostly) a Winforms UI on top of unmanaged code. A little bit of the UI code is not WinForms: it is using DirectX to draw directly onto the surface of some Panel components. In order to do so, the windows handle of the component is recorded after it is created, and any subsequent calls requiring a handle tha...

Python/wxPython: Doing work continuously in the background

I'm making a program for running simulations in Python, with a wxPython interface. In the program, you can create a simulation, and the program renders (=calculates) it for you. Rendering can be very time-consuming sometimes. When the user starts a simulation, and defines an initial state, I want the program to render the simulation con...

Setting background color for datagrid row in Adobe Flex

Hi Folks, I need to programmatically change the background color for a single row in a datagrid in Flex. I've scoured the Net and found reference to "dg.setPropertiesAt," which is not a supported method (according to the compiler). Also, there are suggestions to extend the dg's "drawRowBackground" method but I need to set the backgrou...

sync automatic background offline

Hi Guys! I'm working on some documents on a laptop which is sometimes offline (it runs winXP). I'd like to backup automatically the documents to a folder to a remote location so that it runs in the background. I want to edit the documents and forget about backuping and once online - have it all backuped to a remote location, or even be...

PyQt - Transparent background

Hello, I try to make the background of my window transparent. But under widgets which are on it i see parts of my desktop-image. Now i have this in constructor: self.setFocusPolicy(Qt.StrongFocus) self.setAttribute(Qt.WA_QuitOnClose,True) self.setBackgroundRole(QtGui.QPalette.Base) self.setAttribute(Qt.WA_NoSystemBackg...

How can I put a process to background after its execution with broken CTRL+Z?

The question is special because some keys, such as CTRL+Z, stopped working. I tried to put the process to background by typing in the order: find / CTRL+Z bg However, I can still see the stdout. The only difference to only doing the first step is that the command CTRL+Z does not work anymore. It is rather nasty when I ...

CSS background-position change on Y-Axis only

Ok...so here is the problem. I have a CSS sprite image made up of ten(10) 25px x 25px icons laid out horizontally - thus resulting in a sprite image of 250px width. I am using these 25x25 images as thumbnails. I'm looking to have an opacity of 30% on these images in INITIAL view and when a user hovers over them the opacity needs to be ...

C# cancelling DoWork of background worker

Hello, C# 2008 I am using the code below to login to a softphone. However, the login progess is a long process as there are many things that have to be initialized and checks to be made, I have only put a few on here, as it would make the code to long to post. In the code below I am checking if the CancellationPending if the CancelAsy...

Change bg image when toggling an accordion menu...

I have an ccordion menu, and each menu header has a little arrow img that changes when the menu slides down and up. This is the code so far: $(document).ready(function() { $("div.menu_body").hide(); $("#menuheader div.menu_head div.detailsPanel").toggle(function() { $(this).addClass("detailsPanelSelected").parent(this).next("div....

Web application background processes, newbie design question

I'm building my first web application after many years of desktop application development (I'm using Django/Python but maybe this is a completely generic question, I'm not sure). So please beware - this may be an ultra-newbie question... One of my user processes involves heavy processing in the server (i.e. user inputs something, serv...

CSS background-image - What is the correct usage?

What is the correct usage of the CSS background-image property? The key things I am trying to understand is Does it need to be in quotes i.e.: background-image: url('images/slides/background.jpg'); Can it be a relative path (as above) or must it be a full URL? Any other points I should be aware of to make sure it works correctly across...

Run PHP Task Asynchronously

I work on a somewhat large web application, and the backend is mostly in PHP. There are several places in the code where I need to complete some task, but I don't want to make the user wait for the result. For example, when creating a new account, I need to send them a welcome email. But when they hit the 'Finish Registration' button, I ...

Can a div have one background image, but repeat a different one?

I'm setting up a design that uses some gradients, and of course that causes issues. What I want is for my one background image with the vertical gradient to be the main background, but then if the content extends and pushes the div out, I want a different sliver image to repeat on the bottom. Is it possible to do something like this? ...

background is not going to the foreground with jquery

Hello, my question is if it would be possible to get the background images to the foreground I created a mask from an example with the div's z order to 9000 and the div containing the form to 9999 Sofar that works But if I use a class with a background image, it will not show Y tested everything on a testpage without the mask and it...

iPhone : Texture bigger than 64x64?

Hi, I took the example of GLPaint... I'm trying to put a background into the "PaintingView", so you could draw over the background and finally save the image as a file..... I'm lost. I'm loading the PNG (512x512) and try to "paint with it" at the very beginning of the program, but it's painted as 64x64 instead of 512x512... I tried be...

CSS <li> background image position issue

at http://www.goodshow.tv I've got a problem with the nav. I have a class that puts an arrow image, which should line up with the right edge of the white border. Problem is, it bases the position on the left side of the text. Is there a more absolute way to position it? ...

iPhone - Setting background on UITableView

Is there any way to set a background view on a UITableViewController? I try with the code I am using on a UIViewController, but the view comes over all the contents of the table view, and if I add the background view in the cellForRowAtIndexPath-method, it is not showing at all. Anyone done this before or have an idea on how it can be d...