Hi,
I am using Dev-C++ 4.9.9.2 with g++ compiler.
I recently made a DLL in c++ that shows a window using Windows API. I discovered that the text shown inside are large and bold, which aren't looking very good. I want to change this, so I used the following code (similar):

#include <windows.h>
//... sonething else ...
HFONT hf = CreateFont(nHeight,
    nWidth,
    nEscapement,
    nOrientation,
    fnWeight,
    fdwItalic,
    fdwUnderline,
    fdwStrikeOut,
    fdwCharSet,
    fdwOutputPrecision,
    fdwClipPrecision,
    fdwQuality,
    fdwPitchAndFamily,
    lpszFace
SendDlgItemMessage(myHwnd,