Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CustomizeToolbar Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CustomizeToolbar Problem

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


Joined: 09 December 2003
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ruine Quote  Post ReplyReply Direct Link To This Post Topic: CustomizeToolbar Problem
    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

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.188 seconds.