This plugin framework allows to create extensions for HxD's data inspector, as plugin DLLs, which can be written in Delphi, C, C++ Disassembly Plugin for HxD's Data inspector - GitHub
While a full tutorial is beyond this write-up, the basic steps are: hxd plugins