[Editor Tool] VS2010 Help Integration
Posted: Sun Jan 29, 2012 12:35 am
Here an IDE tool to search local VisualStudio2010 Help (Microsoft Help System 1.x):
Open_VS2010_Help

I use H3Viewer as my VS2010 help browser, so ALT+F1 in the PureBasic IDE
opens h3viewer and displays search results for the word under the cursor.
Works also with constants like #WM_QUIT or #WM_LBUTTONDOWN and with structures like WNDCLASSEX.
The latest Windows SDK 7.1 uses VS2010 help, so this little tool should also work if you have
the latest Windows SDK.
For older SDKs and the VS2008 help system (MSHelp2), try edel's Launch Windows SDK.
For functions that end with '_' (like MessageBox_() and Beep_()) it opens the help
in a special mode by default for displaying the help for the command.
This does not always work correctly because the help mode is Visual C++. Sometimes it
opens a help page for a C++ or .NET class that has the same function as a method.
I put some WinAPI functions into an exception list to open help for this commands
correctly. If you find more WinAPI functions that open a wrong help page, i can add
them to the exception list as well if you tell me the function names.
To always open in search mode, use "-search" (without double quotes) as the argument
for the tool.
Version 2: added -search tool mode and some more WinAPI functions exceptions.
Version 3: 3658 API functions included from user32.lib, shell32.lib, gdi32.lib, kernel32.lib, ComCtl32.lib, ComDlg32.lib and winsock2
Open_VS2010_Help

I use H3Viewer as my VS2010 help browser, so ALT+F1 in the PureBasic IDE
opens h3viewer and displays search results for the word under the cursor.
Works also with constants like #WM_QUIT or #WM_LBUTTONDOWN and with structures like WNDCLASSEX.
The latest Windows SDK 7.1 uses VS2010 help, so this little tool should also work if you have
the latest Windows SDK.
For older SDKs and the VS2008 help system (MSHelp2), try edel's Launch Windows SDK.
For functions that end with '_' (like MessageBox_() and Beep_()) it opens the help
in a special mode by default for displaying the help for the command.
This does not always work correctly because the help mode is Visual C++. Sometimes it
opens a help page for a C++ or .NET class that has the same function as a method.
I put some WinAPI functions into an exception list to open help for this commands
correctly. If you find more WinAPI functions that open a wrong help page, i can add
them to the exception list as well if you tell me the function names.
To always open in search mode, use "-search" (without double quotes) as the argument
for the tool.
Version 2: added -search tool mode and some more WinAPI functions exceptions.
Version 3: 3658 API functions included from user32.lib, shell32.lib, gdi32.lib, kernel32.lib, ComCtl32.lib, ComDlg32.lib and winsock2