Greetings, everyone!
I have a class (say, "Switcher" ) that executes some very-very long operation and notifies its listener, that operation is complete. The operation is long, and I isolate actual switching into separate thread:
class Switcher
{
public:
// this is what other users call:
void StartSwitching()
{
// a...
You know what I'm talking about: for example when you get multiple new emails the notification icon in the status bar is augmented with a little red circle that contains number of unread mails. Twitroid has the same icon. Any idea how it's done? I don't think (or so I hope) there are 10000 similar icons. Is this red circle generated and ...
Hello All,
Looking for help/tutorials/sample code of using python to listen to distributed notifications from applications on a mac. I know the py-objc lib is the bridge between python and mac/cocoa classes, and the Foundation library can be used to add observers, but looking for examples or tutorials on how to use this to monitor iTune...
Hello I need to implement four views splitters like in Maya, 3ds max, Blender or other similar modeling tools. I use NSSplitView on Mac side of my editor and I need to know when user drags one pane to sync another pane.
Is there any way to get new size from one NSSplitView and sync another view to it? I have working code for Windows Form...
i am developing an application for blackberry i want alarm to ring on a specific date please help me out how to do it.
...
I have seen some examples on how to use RegisterDeviceNotification from the Windows API, but I have not seen any .NET examples. I want to write a C# app that is notified when a new drive appears (specifically through USB, firewire, etc). This app needs to be a Windows service, so I can't use WM_DEVICECHANGE messages without some bad-prac...
I want to show message dialog like system shows me (i.e. when SMS has arrived or Alarm).
I have tried using CeSetUserNotificationEx, but i have no idea, why it always return 0 IntPtr and nothing happens.
Could you provide me short and working sample of how to do this with C# and .NET Compact Framework 2.0?
...
In any typical iPhone application, there will be model classes that are responsible for data loading/parsing. Upon completion of the data loading/parsing tasks, the affected controllers needed to be notified of the change in the model and update the view accordingly.
There are several listener/observer approaches for this in iPhone appl...
Background
I'm writing an part of my app that has no UI. It sits in the background watching what you do and timing your work.
There should be no overlapping times, and there should be no breaks in the time data. If there are either of these things, the app has a bug somewhere and I need to be notified.
What I Want
A class called JG...
Windows 7, .NET 3.5
I need to know when netbook (small laptop, but normal Windows 7) changes orientation (there is a button on the netbook that is used to switch landscape/portrait orientation).
This tells me the orientation, but I am looking for the change notification event:
System.Windows.Forms.SystemInformation.ScreenOrientation
...
Will be sending out e-mails from an application on a scheduled basis.
I have an EmailController in my ASP.NET MVC application with action methods, one for each kind of notification/e-mail, that will need to be called at different times during the week.
Question: Is Windows Scheduler (running on a Server 2008 box) any better or worse...
I have a Silverlight application deployed on a HTTPS server. My applications generates reports that are saved as PDF files. Whenever a user tries to download a file from my application from IE, he gets a notification under the toolbar asking him if he really wants to download the file. If you agree, then IE reloads the page, sending the ...
Hi,
I am wonder how to enable push notifications in my application.Actually i have some messages that server sends me to display. Whenever there is a new message i want push notification to be sent to me.
Kindly guide that how i can enable push notifications in my application..
...
Hi,
1) I noticed Jan Axelson has some text in her book about notifications (HID is attached to or removed from the system and system informs the GUI). Does anyone have working VB6 code examples? I'm attempting to translate Axelson's VB.net code to VB6 code. I can't find RegisterDeviceNotification in user32.dll and what is the purpose of...
I'm currently developing an application which uses the iTunes COM (Win32) to hook into the iTunes application.
At the moment, I have managed to unhook the COM when iTunes closes through the use of the OnQuittingEvent which is great, iTunes doesn't display the application interface dialog so everything is good.
My problem arises when I...
What method must I implement in my cocoa application’s delegate so that on launch, it’ll open a url? (http/https, in this case) I’ve already implemented the url schemes, I just need to know how I can get my application to open on a url notification.
Update: I’m sorry, I wasn’t very clear. My application IS a browser that support https/h...
Hi folks.
I'm try to use a remote URL (like a favicon) for a Notification Icon, however the Constructor for a Notification only accepts a resource id (which is an int), as opposed to something sensical like a FileInputStream. How can I either, define at runtime a new resource id for a stream source, or download an icon to my resources ...
I am trying to centralize my app's networking code. Basically, in any of the various places that need information from a server, I create an object serverRequest of my class ServerRequest to get the information. When ServerRequest is done, it needs to send the information back to the calling object. Of course it should work asynchrono...
My company has a website built with PHP. We use the built-in PHP email functionality to send thousands of emails to subscribers on a daily basis.
This is a terrible idea. It chokes out our server, and takes hours to complete the whole batch.
Now I've looked at mass mailing services like MailChimp (which would replace our current system...
Is there a notification or other mechanism of being informed that the user is taking a screenshot with the home/power buttons?
I've seen threads about wanting to disable the taking of screenshots, but that's not what I'm looking to do.
I have a photographer client who's concerned that his works will be copied by means of users taking s...