I am trying to change the font style of a button using GDI+ but I don't know how to do it.
My button -
HWND btn = CreateWindow(L"BUTTON", L"My button", WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON, 50, 50, 100, 300, hWnd, NULL, NULL, NULL);
I have initialized GDI+ -
GdiplusStartupInput gdiplusStartupInput;
ULONG_PTR gdiplusToken;
GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);
And also Shutdown it -
GdiplusShutdown(gdiplusToken);
Any help please
Common controls don't use GDI+. You need use LOGFONT.