Board index » cppbuilder » CreateWindowEx
JD
![]() CBuilder Developer |
CreateWindowEx2007-06-30 01:32:56 AM cppbuilder28 I've added a button to a dialog using CreateWindowEx and everything works as intended except that the caption is bold text. How do I get rid of the bold? HWND hLayout = ::CreateWindowEx( ::GetWindowLong(hOK, GWL_EXSTYLE), // copy the IDOK button "BUTTON", "Layout", ::GetWindowLong(hOK, GWL_STYLE) & ~BS_DEFPUSHBUTTON, R.left, R.top, R.right - R.left, R.bottom - R.top, hDlg, (HMENU)IDLAYOUT, HInstance, NULL ); ~ JD |