Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Toolkit Pro 8.7 and DialogSample doesn’t
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Toolkit Pro 8.7 and DialogSample doesn’t

 Post Reply Post Reply
Author
Message
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Topic: Toolkit Pro 8.7 and DialogSample doesn’t
    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 ?

 

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post 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:

Back to Top
ddyer View Drop Down
Groupie
Groupie
Avatar

Joined: 01 December 2003
Location: United States
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddyer Quote  Post ReplyReply Direct Link To This Post 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?

Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2004 at 1:52am
Well I use VC++ 6.0 and I used Toolkit 8.7 in another project without problems.
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.