Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Easy question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Easy question

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


Joined: 15 June 2005
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote unit158 Quote  Post ReplyReply Direct Link To This Post Topic: Easy question
    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
Back to Top
ddlittle View Drop Down
Senior Member
Senior Member


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post 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.

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.156 seconds.