Print Page | Close Window

Where The WM_XTP_CREATECOMMANDBAR is sent

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2033
Printed Date: 07 November 2025 at 5:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Where The WM_XTP_CREATECOMMANDBAR is sent
Posted By: jiangyonghong
Subject: Where The WM_XTP_CREATECOMMANDBAR is sent
Date Posted: 26 March 2005 at 8:48am

Hello!

   I don't known where the WM_XTP_CREATECOMMANDBAR and   WM_XTP_CREATECONTRL are sent ! who known that , can tell me!

Thanks!

  




Replies:
Posted By: unicef
Date Posted: 28 March 2005 at 1:26pm
For WM_XTP_CREATCOMMANDBAR:

1. XTPCommandBars.cpp
CXTPToolBar* CXTPCommandBars::AddCustomBar(LPCTSTR lpcstrCaption, UINT nID, BOOL bTearOffBar)

2. XTPControls.cpp
CXTPControl* CXTPControls::AddMenuItem(CMenu* pMenu, int nIndex)
CXTPControl* CXTPControls::Add((XTPControlType controlType, int nId, CString strParameter, int nBefore, BOOL bTemporary)

3. XTPToolBar.cpp
BOOL CXTPToolBar::CXTPControlExpandButton::OnSetPopup(BOOL bPopup)

For WM_XTP_CREATECONTROL (instead of WM_XTP_CREATECONTRL)
1. XTPControls.cpp
CXTPControl* CXTPControls::AddMenuItem(CMenu* pMenu, int nIndex)

2. XTPToolBar.cpp
BOOL CXTPCommandBar::SetButtons(UINT* pButtons, int nCount)





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