title: Group Box look and feel
body: <p>I am using Visual Studio 2008 Professional Edition. I have designed the following dialog in the dialog editor-:
   <img src="https://i.stack.imgur.com/dufb8.jpg" alt="Dialog that I designed"></p>
  
  <p>Please pay close attention to the group box in the dialog called 'Tasks'. It looks fine over here but when I display it as a modeless dialog box from my application the look and feel of that GroupBox suddenly changes to -:
  <img src="https://i.stack.imgur.com/Bdak5.jpg" alt="Dialog box when displayed from application"></p>
  
  <p>Suddenly the original blue caption and rounded edges specified in the dialog editor are gone and are replaced with a black foreground and square edges. <strong>I want to know why this is suddenly happening and I want it to be displayed with the look and feel specified in the dialog editor.</strong></p>
  
  <p>The following code is present in my resource file(Timer.rc) for the dialog-:</p>
  
  <pre><code>IDD_FORMVIEW DIALOGEX 0, 0, 204, 118
  STYLE DS_ABSALIGN | DS_SETFONT | DS_SETFOREGROUND | DS_CENTER | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  EXSTYLE WS_EX_APPWINDOW | WS_EX_NOACTIVATE
  CAPTION "SR-Timer(Work in Progress)"
  FONT 10, "Verdana", 400, 0, 0x0
  BEGIN
      CONTROL         "Shutdown",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON,73,37,48,10
      CONTROL         "Restart",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON,73,54,39,10
      CONTROL         "Stand By",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON,73,70,44,10
      CONTROL         "Hibernate",IDC_RADIO4,"Button",BS_AUTORADIOBUTTON,73,87,47,10
      GROUPBOX        "Tasks",IDC_STATIC,59,28,90,78
  END
  </code></pre>
  
  <p>Thanks in advance.</p>