activate

Signal fires twice from gtkmm popup list

It's been a while since I used GTK+, and the last time I did was in C, not using gtkmm and C++ as I am now. Anyway, I have what I think should be an easy problem to solve: I have a popup menu consisting of a list of radio buttons, and when I click one of them I want some action to occur. The code goes like this: Gtk::RadioMenuIte...

Activate IE Add-Ons from an BHO

Hello! I've written two objects, a deskband toolbar and a bho for IE. The goal is that the bho shows up the toolbar after installation. Microsoft's approach is to use pBrowser->ShowBrowserBar(&vtBandGUID, &vtShow, 0); This method is nice to show and hide toolbars which got already activated via the addon manager but does not work for d...

CDockablePane as a tabbed document does not send WM_SETFOCUS or WM_MDIACTIVATE

I have a class derived from CDockablePane. I need to do something when the view is focused, so I handle WM_SETFOCUS and it all works nicely most of the time. But when the pane is docked in Tabbed Document mode (TDI), and the user activates it, the WM_SETFOCUS is not called. I used Spy and noticed the WM_MDIACTIVATE message is sent to t...

Xcode 3.1.3 - Organizer The device is not activated. Please activate it using iTunes

Hello, I recently upgraded my XCode SDK to version 3.1.3 and my iphone OS to 3.0. It is important to note that everything was working fine when i had os version 2.2.1 in my iPhone. My iPhone Touch device is not jailbroken and I have a valid provisioning profile in the organizer which is linked to my iPhone Touch however it has a yellow ...

can't activate activesupport (>= 2.3.2, runtime), already activated activesupport-2.1.2. what does it mean?

Hi, while trying to start some old revision of an opensource rails project confronted with a cloudy error message: "can't activate activesupport (>= 2.3.2, runtime), already activated activesupport-2.1.2" What does it mean? Either versions of rails and activesupport are installed on my box. I'm confused... ...

Activate and Deactivate the Rails code hyperlink using JQuery

How to activate and Deactivate the Rails code hyperlink using JQuery for the following code <%= f.add_associated_link "Add another email address",:class => 'add' %> please suggest me to solve this major problem ...

In windows server 2008, application's login form is not getting activated

My application is developed in C# windows. On executing the application in Windows XP, login form is getting activated properly and focus is set to UserName_TextBox. But in windows server 2008, login form is not getting activated. only after clicking on the login form, its getting activated. I have tried code like... this.Activate(); t...

jQuery accordion open from href link

My page gets a value from a url passed to it. accordId gets a value of 4. I need to make the accordion open to a certain panel based on the fact that the value for accordId is 4. So I want panel 4 to open based on the accordId of 4 that was passed from the url. ...

Jquery accordion activate

I'm not getting how to do this, or if I can do this. I have an accordion, multiple sections with each section containing multiple anchor tags each with a unique string id. I'd like to be able to have the accordion open to where a particular element with a given id is. Like say id "item117". Can I use something like $('#accordion').acti...

Keep Window Looking Active

I'm working on a taskbar for secondary monitors. I have it working fairly well. I've also got the aero blur look working as well. But my question is probably not related to the aero stuff. What i want to do is to have my taskbar window to always appear focused/activated. It does not need to actually be focused or activated, I just w...

stop toggle behaviour of jquery accordion 'active' callback

Hi, when I do : $(#my-accordion).accordion('activate', N); ... to open a specific section of the accordion, the behaviour is not as expected. It does not 'activate' that section programmatically (force it to open). It simply toggles the Nth section of the accordion. Why on earth would they call this function 'activate' instead of 'tog...

My SharePoint feature receiver activates a list definition feature, but my code cannot see the list template until the "second pass".

Hi I am into my sixth hour battling with what hopefully should have a simple solution, so I thought I would post here. I have an feature with a feature receiver whose sole purpose is to activate a deployed list definition feature and then create an instance of that new list definition. The list definition feature, called "Custom Acces...

Excel - Worksheet_Activate Code for New Sheets

Hi, I have three questions about VBA and controlling/manipulating new windows. I have several sheets set up. Master | Worksheet1 | Worksheet2 | Notes | Work Orders | Contact Info 1) I have WorkSheet_Activate functions set up on Notes, Work Orders, Contact Info that open up all three sheets in seperate windows and arrange them vert...

How to active each view from Modules in CAL using MVVM pattern

I have a Shell application which loads different modules to it one at a time through a tab control attached Shell. I need only one instance of each module should be available in shell. So anyone can u help me how to activate and deactivate the views of each modules when user switches between tabs. Thanks in Advance. ...

How can I use Window.ShowActivated = false with Maximized window?

I have an application that has a splash screen shown before I create my main window. I want to avoid the main window stealing the focus when it gets created if the user has focused another application while the splash screen was shown. My application's startup looks like this: private void Application_Startup(object sender, StartupEven...

Activate window/application

I have implemented a Splash Screen according to WiredPrairie unmanaged c++ splasher class. But not when my application loads, my window isn't activated. The user has to click on the login box even thought it is the only window open in my application. I have tried the following but none of these work. Topmost = true; ...

Is there a reliable way to activate / set focus to a window using C#?

I'm trying to find a reliable way to activate / set focus to a window of an external application using C#. Currently I'm attempting to achieve this using the following Windows API calls: SetActiveWindow(handle); SwitchToThisWindow(handle, true); Previously I also had ShowWindow(handle, SW_SHOWMAXIMIZED); executing before the other 2, ...

How Do I Programmatically Check if a WordPress Plugin Is Already Activated?

I know I can use activate_plugin() from inside a given, active plugin in WordPress, to activate another plugin. But what I want to know is how do I programmatically check if that plugin is already active? For instance, this snippet of code can be temporarily added to an existing plugin's initial file to activate a partner plugin: add_a...

How to activate Type 1 (.pfb, .pfm, .afm) font with Objective-C (Cocoa) on Mac?

How can I activate Type 1 font that is consisting of files like .pfb, .pfm etc. on Mac in Objective-C? I mean, only for my program, and not for the whole Mac (FontBook) - I just need to activate it, write a text and then deactivate. I tried ATSFontActivateFromFileReference, pointing it to any of these files - no luck. Googling didn't he...

How to activate a jQuery Animation when an object slides under the mouse (not onmouseover/onmouseenter)?

I have a sliding image "wall" that slides in the opposite direction of mouse movement with easing. I have a selector for all "a" link elements with a mouseover binding to animate the opacity of the image it contains (highlight effect). If I move the mouse quicker than the wall moves, the wall will catch up but the animation will not ta...