Print Page | Close Window

Toolkit Pro 8.7 and DialogSample doesn’t

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=1072
Printed Date: 16 September 2024 at 3:57pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Toolkit Pro 8.7 and DialogSample doesn’t
Posted By: Alex H.
Subject: Toolkit Pro 8.7 and DialogSample doesn’t
Date Posted: 18 August 2004 at 9:32am

1) The sample cannot be compiled:

 if ((pMsg->message == WM_MOUSEWHEEL || pMsg->message == WM_KEYDOWN) && XTPHookManager()->IsKeyboardHooked())
 {
  XTPHookManager()->ProcessKeyboardHooks(pMsg-& gt;message, pMsg->wParam, pMsg->lParam);
  return TRUE;
 }
error C2039: 'IsKeyboardHooked' : is not a member of 'CXTPHookManager'
error C2039: 'ProcessKeyboardHooks' : is not a member of 'CXTPHookManager'

2) If I comment out this lines

m_wndStatusBar.Create fails

Any Idea ?

 




Replies:
Posted By: Oleg
Date Posted: 19 August 2004 at 2:34am

1. Comment these lines.

2. Be sure you have CXTPPaintManager::SetTheme(xtpThemeOfficeXP); before

m_wndStatusBar.Create.

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Alex H.
Date Posted: 23 August 2004 at 6:54am

Well, it's the original example. This example should work normally without any changes !!

But SetTheme doesn't help. No Statusbar or Toolbar will be displayed. Zhe Dialog looks like this:



Posted By: ddyer
Date Posted: 23 August 2004 at 8:28am

What version of the compiler are you using?  I had no problems with 8.7 compiling any demos (including that one).  I have vc70.  Are the VC++ include and lib paths all pointing to the 8.7 area?



Posted By: Alex H.
Date Posted: 23 September 2004 at 1:52am
Well I use VC++ 6.0 and I used Toolkit 8.7 in another project without problems.



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