How to add a form to Windows 7 taskbar?

允我心安 提交于 2019-12-23 04:53:23

问题


The Goal

To add an input text box and a button to the Windows 7 task bar.

Summary

The application is a Windows Forms and it only has two controls.

  1. TextBox
  2. Button

Whenever needed, this search field shall be used to open a directory on a network drive or the like.

Given one inputs the subject of the search into the text box located in the task bar.

When the search button is hit.

Then a Windows Explorer window opens to the directory where the documents for this subject are located.

That being said, the application works flawlessly right now as it is in the form of a Windows Form. The Explorer window opens to the right location and everything. All is already coded. All that remains to do is to put this form into the task bar similar to the Cortana search field in Windows 10.

Questions

  1. Since I never pinned anything to the Windows 7 Taskbar before, is it only feasible? I saw some post on the subject and people are talking about icons...

  2. How shall one proceed to achieve the embedding of a form, a toolbar or two controls to the Windows 7 Taskbar?

  3. Do I need to go through the Win32s libraries?

来源:https://stackoverflow.com/questions/40438889/how-to-add-a-form-to-windows-7-taskbar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!