News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Hint Add-IN

Started by John Z, March 29, 2025, 03:33:49 PM

Previous topic - Next topic

John Z

Here is a new Add-in  8)  It is called Hint.  The purpose is to provide information at your finger tips for Win32 API functions.  The add-in consists of hint.dll and a sql database.
Copy hint.dll to the AddIns64 directory and copy the sql db to the \Bin\Help directory.  If you have WIN32.CHM then also copy that to the \Bin\Help directory. Enable the Add-IN "PellesC WIN32 API Function Hint" if it not already enabled.

Once enabled a new menu item will appear on the RIGHT click source context menu near the bottom "Win32 API Function Hint".
For a simple example in a source document type in AbortDoc then hover the mouse over it and right click, select the menu item, you will see details about AbortDoc.

HellOfMice did a lot of testing and provided valuable input suggestions, including the one about adding a WEB button.  His help really made the Add-in better and caught some bugs I missed too.  So even though I wrote it all, he gets credit too. But if any bugs still exist - that's all on me....

In the download is a text file describing all of the different features of the add-in.  This is a bit more complicated than the average add-in but I think it adds a lot of value.  I hope you do too.  The images below show the add-in windows and features it can provide.  May see complicated at first but after a use or two it is really simple to use.

Tested on Win 11 23H2, Win 11 24H2, Win 7 Pro

Cheers,and Happy Computing,
John Z

John Z

#1
Some may not want to mess with the main details window shown above and just want the details.  This was an input from HellOfMice.

This version of the Hint.dll will check in the \Bin\Help directory for a file named Expert.mode.
If this file exist then no main window will be shown, all details will go directly to the Pelle Output tab. The file existence can be changed at any time and no need to restart Pelle C.

The only window to be seen will be if there are multiple functions to choose from.
The prototype is still set to the clipboard.

Output Tab example:
Function:           AbortDoc
Purpose:           function stops the current print job and erases everything drawn since the last call to the topic_startdoc
Prototype:           int AbortDoc( HDC hdc );
Parameters:           //( Handle to device context )
Header:               wingdi.h
Library:           gdi32.lib

Hopefully this makes it more usable for everyone from experts to beginners.


Did I mention there are over 10,000 functions available....well now I did


John Z

Note: this is only the new dll.  Download the DB from the full package in previous post, the zip file.

CandCPlusPlus

Thanks for creating this Hint Add-In. I'll have to try this add-in.