Because we don't want to make the engine MFC dependent. Thus it has to be a DLL.

It will not be very similar to panel/button functions. The Windows GUI elements are quite different to the GUI for games and multimedia apps.