0

I try add CMFCToolBarDateTimeCtrl to CMFCToolBar. I found ToolbarDateTimePicker sample. In my application I implemented CMFCToolBarDateTimeCtrl the same like in the sample. The problem is that date picker looks otherwise than in sample's app.

Print Screens: http://fotoo.pl//out.php?i=961861_datepick.jpg

Does anybody know why the appearance of my app is different than sample? Thank in advance!

Ahemski
  • 93
  • 8

1 Answers1

0

The solution of problem is adding:

#pragma comment(linker,"\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")

to stdafx.cpp.

@rrirower, @user1793036 - thank you for your tips.

Ahemski
  • 93
  • 8