Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - how to use ShowCaptionBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to use ShowCaptionBar

 Post Reply Post Reply
Author
Message
qiushi View Drop Down
Newbie
Newbie


Joined: 06 April 2011
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote qiushi Quote  Post ReplyReply Direct Link To This Post Topic: how to use ShowCaptionBar
    Posted: 06 April 2011 at 5:05am

Back to Top
Ernest View Drop Down
Newbie
Newbie
Avatar

Joined: 22 May 2013
Location: Barcelona
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ernest Quote  Post ReplyReply Direct Link To This Post Posted: 23 May 2013 at 12:34pm
Hello qiushi,

Probably the answer will be too late for you after two years, but after fighting a lot with the code I beleive that I found the solution.

You have to include a reference to the styles resources scripts into your .rc2. Edit it manually and add, for example, this line:

#include "Styles\Office2007\Office2007.rc"

I would be great if this simple explanation will be include in the help of the ShowCaptionBar method. Calendar demo is probably the best demo code ever seen but it's difficult to find the solution to this problem when you try to construct a calendar app from scratch. In fact the problem is not in any file you can edit using visual studio...
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.