Print Page | Close Window

CustomizeToolbar Problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=291
Printed Date: 23 December 2024 at 2:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CustomizeToolbar Problem
Posted By: Ruine
Subject: CustomizeToolbar Problem
Date Posted: 09 December 2003 at 11:05pm

I tryed to change the CustomizeToolbar sample (in Xtreme Toolkit 4.1), but I have a trouble. I corrected the sample source cord(CustomizeToolbar.cpp) as follows.

 Before : SetRegistryKey(_T("Codejock Software Demos"));

 After : xtAfxData.strINIFileName = _T("CustomizeToolbar.ini");

If it ends immediately after starting, I receive an Exception. It appears to occur when

 HKEY CXTRegistryManager::GetAppRegistryKey()

 {

  ASSERT(m_pWinApp->m_pszRegistryKey != NULL);

 }

is executed in CXTMDIFrameWnd::SaveBarState() . I want to choose to create an INI file, and to save bar state. Can anybody tell me how I can resolve this problem ?

Thanks.

Ruine




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