Re: CMonthCalendarCtrl problem

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Igor,

I see the details about InitCommonControlsEx( ) function in MSDN.

In that i've to pass the stucture (INITCOMMONCONTROLSEX) pointer,
and in that structure we've to specify the which controls we want to
include.. but there is no ID for CMonthCalandar control;

IDs availabe are as follows...
ICC_ANIMATE_CLASS
Load animate control class.
ICC_BAR_CLASSES
Load toolbar, status bar, trackbar, and ToolTip control classes.
ICC_COOL_CLASSES
Load rebar control class.
ICC_DATE_CLASSES
Load date and time picker control class.
ICC_HOTKEY_CLASS
Load hot key control class.
ICC_INTERNET_CLASSES
Load IP address class.
ICC_LINK_CLASS
Load a hyperlink control class.
ICC_LISTVIEW_CLASSES
Load list-view and header control classes.
ICC_NATIVEFNTCTL_CLASS
Load a native font control class.
ICC_PAGESCROLLER_CLASS
Load pager control class.
ICC_PROGRESS_CLASS
Load progress bar control class.
ICC_STANDARD_CLASSES
Load one of the intrinsic User32 control classes. The user controls
include button, edit, static, listbox, combobox, and scrollbar.
ICC_TAB_CLASSES
Load tab and ToolTip control classes.
ICC_TREEVIEW_CLASSES
Load tree-view and ToolTip control classes.
ICC_UPDOWN_CLASS
Load up-down control class.
ICC_USEREX_CLASSES
Load ComboBoxEx class.
ICC_WIN95_CLASSES
Load animate control, header, hot key, list-view, progress bar, status
bar, tab, ToolTip, toolbar, trackbar, tree-view, and up-down control
classes.


No respectire ICC for Month calander control... :o(

Igor Tandetnik wrote:
<kireetgajera@xxxxxxxxx> wrote in message
news:1153564818.615430.30000@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
all dialogs are showing (DoModal) perfectly.. But one dialog is not
showing(DoModal), the only thing is that, dialog contains
CMonthCalendarCtrl control (static).

Have you called InitCommonControlsEx ?
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925

.


Quantcast