Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Icon onto a pane's title bar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Icon onto a pane's title bar

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


Joined: 30 October 2006
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote ContactGT Quote  Post ReplyReply Direct Link To This Post Topic: Icon onto a pane's title bar
    Posted: 03 November 2006 at 7:39am
Is it possible to include an icon next to the name of a pane? I know how to put icons onto the tabs of panes, but I would like it in the title bar. I have tried these adding a SetIconID line after my CreatePane line, but no icon appears...
 
pwndProjBrowser = m_paneManager.CreatePane(IDGT_PANE_PROJBROWSER, CRect(0, 0,220, 120), xtpPaneDockLeft);
pwndProjBrowser->SetIconID(IDI_Padlock);
 
Only the name of the pane appears.
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.172 seconds.