Print Page | Close Window

Easy question

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=2454
Printed Date: 15 November 2024 at 2:11pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Easy question
Posted By: unit158
Subject: Easy question
Date Posted: 25 June 2005 at 8:13pm
I currently have a little project setup that has 2 docking panes. I would like to make a listctrl in one of the panes, what is the correct way / easiest way to go about doing this?

-Mike



Replies:
Posted By: ddlittle
Date Posted: 26 July 2005 at 2:30pm

This is one of those questions that's best answered by building the many, many samples that came with your toolkit.  Basically, though, it boils down to adding a handler for the pane notify messages, like this:

 ON_MESSAGE(XTPWM_DOCKINGPANE_NOTIFY, OnDockingPaneNotify)

Search for that code in the samples and you'll see a lot of examples you can cut/copy/paste from.  Oh, create the list control the same way you would normally create it, and make sure that the variable you assign it to stays in scope for the life of the pane it's attached to.




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