Print Page | Close Window

ShowCaptionBar(TRUE) assert

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=21658
Printed Date: 20 April 2024 at 5:07am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ShowCaptionBar(TRUE) assert
Posted By: Ernest
Subject: ShowCaptionBar(TRUE) assert
Date Posted: 22 May 2013 at 4:44am
Hello,

I'm trying to integrate the calendar view into my application, and everything goes fine until I call the ShowCaptionBar method. At this moment an assert validation fails. I'm adapting my framewnd, doc and view following the Calendar sample, but probably I'm missing something. While debugging, the calendar control object is well constructed, and even the captionbarctrl has hwnd, but it fails when trying to show it (I suppose that the assert validation is related to the size of the control or something like this). I would like to know if there is some method that I should call to initialize the caption bar, or if this object depends on the creation of some other...any help would be appreciated...

Another thing I tried to do is to call ShowCaptionBar at the end of the OnInitialUpdate method of the view of the SQLServer data provider sample, and the assert validation also fails. What am I missing?



Replies:
Posted By: ilya
Date Posted: 31 May 2013 at 2:14pm
Please see CalendarDemo sample, it's using ShowCaptionBar 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net