问题
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.
TextBox
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
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...
How shall one proceed to achieve the embedding of a form, a toolbar or two controls to the Windows 7 Taskbar?
Do I need to go through the Win32s libraries?
来源:https://stackoverflow.com/questions/40438889/how-to-add-a-form-to-windows-7-taskbar