This problem is driving me crazy. Maybe the experts at Stack Overflow can help.
I want to open an application in Xvfb and to have it always positioned at x,y=0,0 (Top left corner).
The application does not take any parameters, allowing it to reposition the opened window itself. Is there a way to set the default window position in a X-...
Is there a difference between these two lines?
var url = "http://www.google.com/";
window.location = url;
window.location.replace (url);
...
hello,
i have a windowsfroms application with a normal window.
now when i close the application and restart it, i want that the main window appears at the same location on my screen with the same size of the moment when it was closed.
is there an easy way in winforms to remember the screenlocation and windowsize (and if possible the wi...
Hi,
From the example of RoundTransparentWindow, I made my Application window to show only the Parts drawn and the transparent parts are cleared. This works fine. But once I create a custom TableView and click its TextfieldCell to edit, the Cell becomes see through. Can anybody help me what would be my mistake with this CustomWindow and ...
Hi!
I want to create a window that always stays on the desktop layer - all other windows should be above it, but it should also always be visible. I'm currently calling SetWindowPos with HWND_BOTTOM when the window is Activated or Loaded. This does keep the window below other windows, but when pressing Win+D or, in newer windows version...
I have read the thread window.onload vs <body onload=""/>. In that thread, many claim that window.onload and body onload="" are identical. This is not what I experience.
Consider the two test pages:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="...
i am using code right out of the examples in yahoo maps api, but when i click on a smart window i get the close button (x) in the upper left. the only thing i am changing is the html in the smart window but i dont understand why that would affect the location of the close button. also, i dont see any documentation on how to change thi...
Hi, are there any tutorials, or, is there simple code to be used to control Aeroglass in VB.NET? I would like to know how to play with various effects and, if possible, how to do the Aeroglass effects done in Paint.NET 3.5. (The inside of the topbar is not straight.
...
I have a fixed-height (180px) header and fixed-height footer (50px). I'd like the container height to be: window height MINUS header MINUS footer.
How do I achieve this using jQuery?
Edited to Add: If the container height is updated on window resize, that'd be awesome!
Many thanks!
...
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...
I've got a GTK/GDK docked window that I need to give keyboard focus to, so accelerator keys (shortcuts) work. Does anybody know if GNOME even allows a docked window to have keyboard focus, and if so, how can I enable it?
Thanks,
Mike
...
How would I use jQuery to redirect the page to teh base page + some string?
Specifically, I need to set the window.href = current page without params + 'SomeString';
...
var projectWindow;
function btnNew_Click() {
var form = document.createElement("form");
form.setAttribute("target", "projectWindow");
form.setAttribute("method", "post");
form.setAttribute("action", "MySite.aspx");
document.body.appendChild(form);
var hiddenField = document.create...
Hi all.
Is it possible in Cocoa to move a window by dragging an object which is inside that window?
For example: I have a webview inside a window, big as the window, so setMovableByWindowBackground will obviously not work. Is there a way to click and drag the web view and move the whole window?
Any help would be very appreciated!
—Alb...
I want to send data or packets at perticular IP address using ANSI C standard so that my code will be plateform independent, how is it possible in window OS without using window libraries like winsock etc. Kindly give me some guidelines or hints.
...
I am creating a chat window similar to Skype Chat Window or the IPhone Message App chat windown
What kind of UI controls are best for such purpose?
I am using TableViewController to manage this now. Each TableViewCell displays messages either received or sent. But I have problem of finding the right place to put a UITextField. I put it ...
i have following code to get center of width
function alertSize() {
var myWidth = 0;
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
myWidth = window.innerWidth;
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
//IE 6+ in ...
Hi,
I have a pixel perfect control layout for a form I want to create. I know the exact width, height and location of each control.
But I am finding it difficult to set it perfectly inside a Window element.
The Width and Height property of the Window is including the borders. How can I set the inner width and height of the window? The...
I need to figure out how to draw a custom button next to the minimize, maximize and close buttons within the Titlebar for ALL open windows. I have seen some solutions for how this might be done for a user created form, but none for existing windows.
The end product will be a button next to the minimize button (on every window) that wi...
$('.content .right').width($(window).width() - (480));
$(window).resize(function(e) {
$('.content .right').width($(window).width() - (480));
});
Is there a better way to rewrite this more compactly? I want to call the function onload as well as on resize.
Thanks!
...