Print Page | Close Window

Property Grid Toolbar

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=11432
Printed Date: 21 May 2024 at 5:50pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Property Grid Toolbar
Posted By: matth
Subject: Property Grid Toolbar
Date Posted: 14 July 2008 at 11:08am
Hi there,
Quick question for you... I have a standard dialog which has a property grid control on it.  After i create the property grid i get a reference to the property grid toolbar.  I then call its LoadToolbar method passing the ID of my own toolbar.
 
Everything works and is displayed as expected BUT (now here's the question!), how do i capture the button press messages from my toolbar?.
 
 
Regards



Replies:
Posted By: matth
Date Posted: 17 July 2008 at 10:39am
Found it!, quite an easy one actually.
 
Fo those who are interested...Just get a reference to the toolbar's toolbar control and call the setowner method passing the window that handles the toolbar's messages!.
 
Regards



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