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

Property Grid Toolbar

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


Joined: 27 June 2007
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote matth Quote  Post ReplyReply Direct Link To This Post Topic: Property Grid Toolbar
    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
Back to Top
matth View Drop Down
Newbie
Newbie


Joined: 27 June 2007
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote matth Quote  Post ReplyReply Direct Link To This Post 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
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.219 seconds.