window

generate a window for ascii game

Hello all Im trying to write an ascii game for an assignment. The program must be written entirely in c, no c++. How can i get the program to open a window capable of rendering ascii art? I want to create a window of a certain size, that is capable of printing in multiple colors. A simple console window is insufficient. Also, on a rela...

Simple Qt Embedded Window Question

How are you meant to initialise the program using Qt embedded? At the moment I'm using QMainWindow but this means including a lot extra when configuring Qt and makes the applications a lot bigger when compiling them statically.What are you meant to use in place of QMainWindow? I don't need anything like maximise buttons - using a small s...

How to create a hidden window in C++

How to create a hidden window ? The purpose of this window is to receive some messages. ...

PyGTK, how can I lock a window so it cannot be resized?

I am looking for a way to lock the window. I found window.set_resizable(False), but that resizes the window to its requested size and then locks it. I would like to be able to resize my window, and then lock it into the size I have resized it to. ...

iPhone window add subview crashing problem

I have the code [window addSubview:[self.mvController view]]; where mvController is a view controller and whenever I run the program (device and simulator) it crashes. ...

In javascript, is accessing 'window.Math' slower or faster than accessing the 'Math' object without the 'window.'?

I'm kind of curious about what the best practice is when referencing the 'global' namespace in javascript, which is merely a shortcut to the window object (or vice versia depending on how you look at it). I want to know if: var answer = Math.floor(value); is better or worse than: var answer = window.Math.floor(value); Is one bette...

Opening pop up in Joomla

I am trying to have people be able to open HTML widgets by clicking on a button in my Joomla page. All the widgets are different sizes. The code is entered as HTML in Jumi. Currently I have the action set to: "On click open in new window without browser navigation." The problem is this this always opens in a full screen size with the w...

AJAX/DHTML/LIGHT BOXES

here is my js code <script type='text/javascript'> // Browser safe opacity handling function function setOpacity( value ) { document.getElementById("popup").style.opacity = value / 10; document.getElementById("popup").style.filter = 'alpha(opacity=' + value * 10 + ')'; } function fadeInMyPopup() { for( var i = 0 ; i ...

How do I get "Goodbye Window" to show up in Java?

I have a Java network application and this is what I want to do: After user logs out, his interface window closes. Now, I want for another window to show up that will say something like: "Thank you for using our application". This final window should be borderless and without any available option, more like a plain picture (jpeg? why no...

Single sign on with OpenSSL, LDAP and Windows Authentication

Hi, I am developing a PHP Application on Linux server. my application user are stored in LDAP Directory with their domain logins. Now, what i need to do is to give them SSO, attached with there domain credential so when a user logs in to the domain they will not be asked to provide their loginname and password. To do this, I have impl...

SendInput after EnableWindow in Windows 7

I have a child window that is maximized within a parent. It needs to be disabled so that it doesn't receive inputs until I press a key. When I press key 'A' for instance, I want the child window to be enabled, receive inputs sent with SendInput() and disable again. So I do this: EnableWindow( hwnd, TRUE ); SetForegroundWindow( hwnd); ...

JavaScript Modal is Too Big for Screen

I have created a modal window using the Prototype JavaScript framework and the following object: var Modal = Class.create({ animate: function () { this.step = (this.step + 1) % 31; if (this.throbber) { this.throbber.setStyle({ backgroundPosition: 'center ' + this.step * -33 + 'px' ...

Collect all windows handlers

How do I collect all windows handlers in C#. I need all the windows (not just the parents) Thanks, ...

Qt: How to send an event to the operating/window system?

I want to create an event in one Qt application that can be picked up by a seperate Qt application running at the same time. The normal sendevent function requires you to name the object which will receive it but I can't use that, I want it to be like a keyboard press event which filters through any open programs in the OS. Does anyone k...

Creating an offscreen frame in Java (or: how to avoid a blank menu on a Mac, when all application windows are closed)?

I am making a Mac application, and I want my menu bar to look right. Any Mac user knows the menu bar should be in the top screen menu. Setting apple.laf.useScreenMenuBar to true in the property list file gets rid of the in-frame menu bars and moves the menu bar of the current focused window to the screen menu. However, when all window...

Tiling window managers for MS Windows? Any recommendations?

Do any of you use tiling window managers in Windows? There are a ton of them for linux systems but mostly everything I see on the wiki are 1 person projects or old shareware. Does anyone have any experience with these managers or others? ...

How to tell if a web page is being exited/unloaded via flash versus via normal HTML

Hi, I have a flash app, that redirects to another page. I'd love to trap any other window unload event (clicking links / submitting forms) and warn the user they'll lose their progress in the Flash app. However, I can't find any way to tell that the click/change of URL/window unload was triggered by Flash vs being triggered by a normal ...

Window.Location???

Is there a way to manually set a WPF Window's location like in Windows-Forms? ...

How to create a resizable window with rounded-corners in win32

I'm trying to create a Win32 window that has rounded corners and is resizable both horizontally and vertically. My first approach was to create BITMAP of a rounded rectangle and draw it to the screen in conjunction with setting the windows style to WS_EX_LAYERED and setting the transparency key to the outside color of the rounded rectang...

emacs programmatically change window size

hi. I would like to implement automatic collapse of compilation buffer to small size (but not close at a delete windows), such that upon successful compilation to window is shrunk to minimum size. get-buffer-create returns a buffer. how can I shrink-window on window associated with that buffer? also, is there a way to store previous w...