window

how to authorize linkedin api access in window application...

i am creating a window application in c#.. i want to search the profiles in linked in... so how can i use the authorization........? thanks, ...

callback in wcf window service

I've created a test winform application with a test button which access a wcf window service. i want to callback to client at certain condition from window service. I've configure my window service as you depicted in your example but even then when i debug the code it doesn't step in to call back funcyion and application went to dealoc...

How to stop browser window from jumping on a #ID hash link - simplest javascript required

Hi guys, Got a client who is strictly no javascript, but in this particular circumstance, I don't think I can avoid it. I've got a "next / previous" featured area situation going on using CSS (overflow: hidden and position: absolute) - where the click next or previous (a href="#section...") then brings the relevant div ID into view -but...

use wxPython to draw a grided rectangular container or box

Hi, all, I want to draw a rectangular or a container with 20 slots inside. it is like a cd container or archive, with empty slot to insert the cd or book. I choose wxPython. for this 20 horizontal empty slots, i see there is wx.BoxSizer(wx.Horizonal) or other sizers to make the layout. my question is, Is it possible to have "visible bo...

Make child window always on top of parent window

Hello, I'm writing in wpf. In my viewModel I have a command that opens new window. However sometimes this child window is placed under the parent window. (if for instance I work in my application, then open browser and want to return to my application). Window is opened as follows: MyViewModel vm = new MyViewModel(oper); Mywindow wind...

Trying to figure out a formula for morphing a window

My goal is to use one method that moves two windows on the screen from the original location and size of the first window to the original location and size of the second. At first, I tried this: public void morphInto(final Window fromWindow, final Window toWindow) { stop(); final Rectangle FROM = fromWindow.getBounds(), DEST...

Resizing glut window

I'm doing 2D drawing in a glut window, and I'm having trouble making the window resize properly. My glutDisplayFunc and glutReshapeFunc are below. As it is, the drawing disappears when the window is resized. If I delete the glClear() from displayFunc(), new pixels don't "initialize" and there are clipping problems. How do I fix this?...

How to make Gtk+ window background transparent?

I'd like to make the background of a Gtk+ window transparent so that only the widgets in the window are visible. I found a few tutorials: http://mikehearn.wordpress.com/2006/03/26/gtk-windows-with-alpha-channels/ http://macslow.thepimp.net/?p=26 But they both appear to listen to the "expose" event, and then delegate to Cairo to do the...

How to open a popup window from a webpage on iphone

Hi, I'm trying to open a popup window (to display another webpage) from my webpage on click of a hyperlink. I'm not able to achieve this on iPhone. I was wondering if there is any way to do this? Any pointer will be helpful. Thanks in advance. ...

Resize main window of WPF application programmatically

My application is running on a touch-screen and it has a transparent main window, so only way to resize is using grip, but on the touch-screen it is quite hard to do. I wonder if there is a way to increase the size programmatically. I have tried using custom commands but the window increases only by a small amount. Here is the code for...

How can I detect when new windows are opened and/or get a list of open windows?

I am aware of WindowListener and its ilk, but these only seem to provide events for windows to which you have a reference already and can add the listener to. I'm wondering how to either receive a callback when new windows are created by other processes, or poll for a list of all windows currently open on the system. I'm using J2SE on ...

page redirect with querystring in state machine workflow

Hi, i am new learner of windows workflow foundation 3.5. I want to just redirect from one page to another page with using querystring values. So how can it possible with using windows workflow foundation + asp.net technolgoy. Please help.... thanks ...

Foreground Vs Active window

In Windows, what is the difference between foreground and active window? To be specific, under what circumstances can a foreground window not be an active window? If the 2 terms are referring to the same concept why there're 2 terms. The msdn documentation here mentions "clicking a window, or by using the ALT+TAB or ALT+ESC key comb...

Prevent user from opening JSF page in more than one tab/window in a browser

Is it possible to prevent user from opening JSF page in more than one browser tab or window? ...

Javascript variable scope in event

I have this web application where users are able to fill out and submit reports. The reports and scripts are part of a whole system, that is, they are used on a couple of different clients written in both vb and c#. This is the web-version of those clients. The scripting language is javascript and is executed using different script engi...

Is there a command line utility equivalent to wmctrl on Windows

I'm trying to write a remote window manager so that I can control my open windows via bluetooth using anyremote. There's wmctrl for Linux that manages windows from the command line. Is there similar tool in Microsoft Windows? I.e. A command line based window manager for Microsoft Windows. If there are existing command line hacks that I ...

MSVC++ more than one console window

In MSVC++ you can summon a console window to your app by running: // Attach a console AllocConsole() ; AttachConsole( GetCurrentProcessId() ) ; freopen( "CON", "w", stdout ) ; Now printf and cout automatically go to that window. Is it possible in MSVC++ to have more than one console window? ...

How do I make Selenium RC to not move the browser window?

hi, Is there a way to specify where Selenium RC spawn the browser window? When I run my test script, Selenium RC opens 2 windows in the browser, the Selenium RC window and the AUT, and the Selenium RC window takes up most of my screen space. Ideally, I want to control where their location and size separately, but if not, it would be nic...

C# WPF DragMove without Window_LocationChanged()

I implemented something in Windows Forms similar to DragMove but with boundaries set to 10 units of the margins of the primary screen. When switching over to WPF I found this thread to be useful in achieving the same result. However, since this is a post-move event, what happens is that if my window is dragged beyond the boundaries I s...

C# WPF how to enforce single instances of windows

I'd like to know what's the best way (read most elegant) to have a single instance of a given Window per application in WPF. I'm a newcomer to .NET and WPF and what I came up with looks pretty lame. private static readonly Object MUTEX = new Object(); private static AboutWindow INSTANCE; public static AboutWindow GetOrCreate() { l...