IDD_MYDIALOG DIALOG 22, 17, 230, 75 STYLE DS_SETFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU CAPTION "My Dialog" FONT 8, "System" BEGIN /* Add this line ... */ CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,10,10,400,1 END
Programming Tips - Win32: Make a groupbox-like horizontal line (rule) in a dialog
Date: 2009jan14
Update: 2025jul11
Platform: win32
Q. Win32: Make a groupbox-like horizontal line (rule) in a dialog
(Like an HTML's <hr>)
A. Put this in your resource file: