Print Page | Close Window

Dependencies

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=1468
Printed Date: 23 November 2024 at 7:29pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Dependencies
Posted By: GeorgeA
Subject: Dependencies
Date 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



Replies:
Posted By: Boyd
Date 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.



Posted By: GeorgeA
Date 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


Posted By: Boyd
Date 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.



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