Is is possible to detect when a Pocket Pc device is docked in it's cradle in Windows Mobile 2003 using C#.
I want it to call a web-service when the device is put back on charge.
...
I have a collection of event handlers of extended textboxes that handle the click event. On a click of any textbox in a column the event handler will unlock every textbox in that column by calling its form name and then sets a variable with an identifing variable in the active handler. Is there a way to set this identify variable inoth...
I have a class library that i made in C#.NET. The class has a public event, public event EventHandler DataReadyEvent; that is triggered periodically.
I have a VBA application that creates an instance of this Class Library using CreateObject(...). I can access the methods and properties of the class library easially through COM but I can...
Hi there, i'm an IT Student and the language i'm learning is C#, it's quite similar to Java so I gave Android programming a shot. But I have a question:
Is there and event that's fired when the screen is (un)locked?
And if possible, can someone show me a code snippet showing an action done when the screen is (un)locked?
...
I was wondering the difference between these two dispatchEvent method...
//1.
eventObj:YouTubeSearchEvent = new YouTubeSearchEvent(YouTubeSearchEvent.CHANGE_VIDEO_READY);
eventObj.videoId = theOneVideoId;
dispatchEvent(event);
//2
dispatchEvent(new YouTubeSearchEvent(YouTubeSearchEvent.CH...
Hi, I would like to execute a function when new dom elements are added via ajax, somewhere in the body, by a 3er party JS.
The function i want to execute is jqueryui's tooltip(), which changes title attribute into nice tooltips.
The problem happens when a 3rd party JS adds new elements to many differents div's, and the new element's 't...
I have some code that adds mouseover events and mouseout events to all 'a' tags on a page. I'd like it so that the mouseout starts a 5 second timer after which time it calls a function. However, if a new mouseover event fires, it should cancel any existing timers. The code I'm using follows. The setTimeout() is working fine, but it se...
Hi guys...
I am working on a AS3 only project in Flex....I tried to listen ENTER event when use clicks enter/return in my textinput box....but it seems not working well...I did try using TextEvent.TEXT_INPUT and it worked fine but not Component.ENTER...any help??? Thanks a lot!!
import fl.events.ComponentEvent;
searchInput=new Te...
Hi ...
I want to know the name of the event that occurs when Mose moves and clicks continuously ...
Like the event which draw Lines in Paint ...
...
Is there a way to detect when a user unlocks the phone? I know about ACTION_SCREEN_ON and ACTION_SCREEN_OFF, but these seem to be fired when the screen switches on/off on pressing the power button, but not actually when the phone gets unlocked on pressing the Menu button...
Edit: I am trying to detect the unlock/lock while an activity i...
Hi guys,
I need somebody with high skills in threading and event raising.
I have an abstract class A and two concrete classes C1, C2 (e.g plugins).
Since I need them to communicate between each other, like "plugin-application" "plugin-plugin" communication, I have a method ExecuteCommand in the abstract class which should accomplish...
I'm using microsoft enterprise libray for event logiing. There is different trace listners and formatters are added to web.config file.But i don't know how application decides specific tracelistnerto log events. Any link or help file which can provide information of basic working with event logging.
...
Hi
I use Asterisk.NET to implement a software that shows receive phone number in pop up form.
and I use DialEvent to be aware from a coming Tel.my application always is run in a form that I Hide it.
this event work good for me and I can understand when some call receive to me,then I show pop up form.
NOW my problem is:
sometimes I do not...
Hello,
I am developing an application that is split into multiple .NET assemblies (one main executable and a set of class libraries). Currently, I am using a WPF GUI, but I need to maintain the flexibility to possibly switch to another GUI framework at a later time.
Here is my problem: one of the class libraries performs some work on a...
I want the visitor to be able to expand/collapse some sections, and am using:
<input onclick="return toggleDiv('xx')"
type="button"
class="button"
value="click here to expand/collapse"/>
and in the I have the function:
function toggleDiv(a){
var e=document.getElementById(a);
if(!e)return true;
if(e.styl...
I have two UI elements next to each other that I want to behave as if they are one MouseLeave area.
How can I check if the mouse is over a UI element being entered during a MouseLeave event?
Currently, checking the mouse position using the following solution shows the mouse over the element being left during the MouseLeave event: http...
In VS2008, if I double click on the event handler VS creates a default event handler with a default name, e.g. combobox1_SelectedIndexChanged.
Say, for example, i now rename combobox1 to cbStatus. It still has the same event handler, so i now change that to cbStatus_SelectedIndexChanged.
Is there a way, where VS can change the initial...
Correct me if I am wrong, but seems to me jQuery event handling is completely separate from the javascript event handling. I know that the order of executing jQuery and javascript event handlers themselves is undefined, but can the assumption be made that all javascript handlers will execute before jQuery ones?
In the example given in a...
I have this problem that event called "MouseEnter" does not fire when mouse button is held down. How could i fix it?
...
I have a page in flex and on this webpage I have an iframe. I want to add code in javascript, that will detect when the page in the iframe changes (for example, if someone clicks on a link within the iframe) and I want to know what the URL of the new page in the iframe is.
Is there any way to do this?
...