Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8151009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:14:05+00:00 2026-06-06T15:14:05+00:00

I am interested to know how can I do the same thing that the

  • 0

I am interested to know how can I do the same thing that the apllication listed below does:
Start Menu Calculator

I want to know how can I create an custom tab in Start Menu Search and then handle it with my WPF application. It should only be enabled until my application is running.( Just like what The calculator does )

I read something about windows API Code Pack and I downloaded it but I don’t know how can I use it. I searched through it but I didn’t find anything.( If you know how I could do this using with Windows API Code Pack, please write an example that explains how to do it in C#)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T15:14:07+00:00Added an answer on June 6, 2026 at 3:14 pm
    • The main exe “Start Menu Calculator.exe” installs a windows hook (using SetWindowsHookEx) into explorer.exe. The hook is implemented as usual in SBLib.dll which is then injected into Windows Explorer’s memory space.

    • This hook searches for window handles belonging to the search box. See a discussion around this here:
      How do I get a “handle” on the Windows Search textbox? and probably sub classes the search box windows (if you kill the “Start Menu Calculator.exe” process abruptly, it crashes Windows Explorer too… which kinda confirms this)

    • It then reacts to key presses, and I suppose it butchers up the result window. In the hierarchies of Windows, I think it’s a Window named “Desktop Search Open View”, you can get to it with SPY++ under “Start Menu”, aside the windows mentioned in the msdn forum above.

    So, no nice API behind this nice application. Massive hacks instead 🙂

    I think however, some level of integration is possible, using documented behavior, with the search box. I have not dug further, but there is the notion of federated search in Windows (Windows 7 Federated Search). I don’t see if this would be capable of reacting instantaneously to what the user types in though…

    As a side note, if you’re also looking for a way to run javascript code from C#, there is a question here on SO that says it all: parse and execute JS by C#

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know the best way I can create a configuration for a Console/Command-line
There are many things that all programmers should know, but I am particularly interested
I am interested to know how the DNS requests to political sites differ in
Question: I'm interested to know the best practice for killing a long standing operation
I am interested to know how an URL-based api key restriction works, such as
I was interested to know about parameters other than space and time during analysing
This is a two-part question: First, I am interested to know what the best
My last question was somewhat narrower than this one. I am interested to know
I know this is largely an opinion, but I'm interested if you have one
I am interested into getting into bash scripting and would like to know how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.