Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Dependencies
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Dependencies

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


Joined: 26 November 2004
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote GeorgeA Quote  Post ReplyReply Direct Link To This Post Topic: Dependencies
    Posted: 26 November 2004 at 11:36am

What are the dependencies for Propertylist for distribution of control with VB6 application?

Does it have already built-in own controls like color picker, font, text box etc

Or it uses VB common controls?

George Aston
Back to Top
Boyd View Drop Down
Senior Member
Senior Member


Joined: 08 December 2003
Location: United States
Status: Offline
Points: 285
Post Options Post Options   Thanks (0) Thanks(0)   Quote Boyd Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2004 at 10:13am

I believe the only dependency for PropertyGrid is 'mfc42.dll'.  Everything is a custom implementation that doesn't use any of the VB common controls.

Back to Top
GeorgeA View Drop Down
Newbie
Newbie


Joined: 26 November 2004
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote GeorgeA Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2004 at 11:00am

That's interesting, I found in sample project the following line of code:

Private Declare Function InitCommonControls Lib "Comctl32.dll" () As Long

It is not a common controls library?

George Aston
Back to Top
Boyd View Drop Down
Senior Member
Senior Member


Joined: 08 December 2003
Location: United States
Status: Offline
Points: 285
Post Options Post Options   Thanks (0) Thanks(0)   Quote Boyd Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2004 at 1:27pm
The 'InitCommonControls' function is typically called to allow Visual Basic applications to implement a manifest file and draw using XP themes on Windows XP.  If this function call is not made, your application could potentially crash when trying to implement the themes.  The 'comctl32.dll' library is a typical dependency of Visual Basic, and is not a dependency of the PropertyGrid itself.
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.203 seconds.