events

Overlay in jQuery UI toolkit

Is there any overlay in the JQuery UI toolkit that offers a context arrow to the link/content that it relates to? ...

.Net MDIForm eating usercontrol keydown events

Hi Guys, I wonder if any one has experienced the following issue and can give me some pointers. We have an MID form with Cut, Copy, Paste, and Delete child menu items of a menuItem called Edit. Each of these child menu items has the ShortcutKeys property set with CTRL+X, CTRL+C, CTL+V, and Del, respectively. The short cut key and combi...

monitor keyboard events with python in windows 7

Is there any way to monitor keyboard events in windows 7 with python without the python program having focus? I would like to run the python script as a background process that monitors certain keyboard events and does certain things on various keyboard input combinations. ...

Is it possible to create basic event handler for many pages with user control or master page?

I need to create general actions menu for my pages. All of pages will implement some basical functionality, i.e adding new rows to some table, editing them, calling filters. Many of this pages will need only basical logic to run this functionality. But some of the pages will implement their own logic for options in menu. I want to make ...

How can I know if a .net event is already handled?

I've written some code to handle an event as follows: AddHandler myObject.myEvent, AddressOf myFunction It seemed that everything was working at first, but when I ran the debugger, I discovered that oftentimes, myFunction would run several times each time myObject.myEvent fired. I figured out that I had allowed the code to add the ev...

Event Handling in C++/CLI

I have a function, singleFrameEventHandler, that I wish to be called when a certain event, OnNewFrame, occurs. After doing some research, it seemed to me that functions which handle events have a void return type and take a parameter of the type that contains the event. From what I could find online, that is done like this: Function dec...

Moving jQuery function from document ready to click event

I have a tabbed layout that shows/hides sections when a tab is clicked. I also have a tooltip function that currently loads a tooltip on an image map when the page is first loaded. I'd like to change this so that the tooltip only show when tab with an ID of 2 is clicked (#section2) or when that tab is active (in the case of linking to ...

Firefox and Safari stylesheet loading time, firing JavaScript event when loaded

We have some JavaScript code that resizes <div/> elements (adjusts height/width/padding/margin etc.) based on the dimensions of a parent <div/> element, specifically the height and width of the parent we use in the calculation. The parent div height and width is defined in a external CSS file, and <link> is used to include the stylesheet...

Mootools doesn't fire the "onChange" event for Selects in IE7

Hi, i'm working with mootools 1.2.4 and i have a select with an event "change" that works fine in Firefox but when i try to test it in iexplorer 7 it gives me an error saying that the select doesn't have that property or method: my code is as simple as: $('zone').addEvent("change",function(E){ alert("change"); }); i've ...

Unbind mouseup?

I am trying to unbind the mouseup event from an element. I have tried the following but none are working. $('#myElm').unbind('mouseup'); $('#myElm').unbind('onmouseup'); $('#myElm').unbind('click'); How do you unbind an event assigned using $('#myElm').mouseup(function({...}); ??? Edit: Adding full code cacheBgArea.mouseup(functio...

Pass the value of a SELECT to a Javascript function via the onchange event?

I have a HTML page that contains a search box containing a number of textboxes. The first part of the search box is a SELECT dropdown list that contains a variety of report types. Each report type requires 1 or more of textboxes to be filled in to filter the query results. My goal is hide the textboxes that are not required by the cur...

Multiple Threads subscribing same event

What will happen when 10 threads will subscribe to the same event and the event fires? Which thread will pick it up? ...

Removing events from iPhone calendar with EKEventStore

Hello, I'm trying to remove events that i have created from the iPhone calendar. I tried this, but it always returns NO: [eventStore removeEvent:event span:EKSpanThisEvent error:&err]; I created the event as follows and it works: eventStore = [[EKEventStore alloc] init]; event = [EKEvent eventWithEventStore:eventStore]; event.t...

What does this error mean (while event modification)?

Hi all I am using below code to create an event : EKEvent *oneLabEvent = [EKEvent eventWithEventStore:eventStore]; oneLabEvent.calendar = eventStore.defaultCalendarForNewEvents; oneLabEvent.title = [ddEvent valueForKey:@"ddname"]; oneLabEvent.allDay = NO; oneLabEvent.startDate = [ddEvent valueForKey:@"startDate"]; oneLabEvent.endDate ...

Is there anything readily available in the .NET framework of the form EventArgs<T> ?

Is there something like this already available in the .NET framework? public class EventArgs<T> : EventArgs { private readonly T data; public EventArgs(T data) { this.data = data; } } I know there is a generic event handler, I'm kinda surprised I can't find a generic EventArgs class. Thanks ...

Action script 3 - I need to know if a child object has changed it's size DYNAMICALLY ! help ?

Hi, I'm writing a sort of "dynamic gallery" in flash. The problem is that a child of the gallery can be resized in runtime, and then I have to rearrange the gallery. Now, of course, I can't overload the gallery items, since it's a display object which is unpredictable. and even if I could force overloading on the items, how will I be...

Storyboard - No completed event

Hey. This is probably a simple question, but how do I know when a Storyboard animation has completed? I'm using .Net 3.0 so maybe that's why, but in my other projects (.net 4), there was a simple Completed event I could handle. What's the way to do it in WPF with .net 3.0? Thanks edit in response to comments: I guess the error lies e...

signaling a sleeping thread

I'm new to multithreading in c# and am confused among all thread stuff. here is what I'm trying to have: public class TheClass { Thread _thread; bool _isQuitting; bool _isFinished; object jobData; public void Start() { jobData = new object(); _thread = new Thread(new ThreadStart(Run)); _th...

WS_EX_LAYERED window does not receive mouse events

I'm coding a custom background non rectangular window with buttons such as minimize and close in bitmaps. Here is my code just for now The problem is the custom window does not receive mouse messages while hovering over non zero alpha regions. ...

how to add an event to a UserControl in C#?

I have a UserControl which contains 3 labels. I want to make an event for it, which occurs when the text of one of the labels changed. I am using Visual Studio 2010 ...