title: Drawing on caption bar in MFC
body: <p>I want to put some controls on the caption bar of a dialog box. One possible solutions of this is ,I simply remove caption bar from the dialog and draw my own caption Bar.</p>
  
  <p>But if I draw my own caption bar ,the look of caption bar would not change according to the theme of window . And I also would have to take pain of drawing close ,minimize and maximize btns.</p>
  
  <p>so I want to ask is it possible to draw the controls on caption bar which can be custom buttons or any other window, without drawing the whole caption bar.</p>
  
  <p>Thanks in advance..  </p>