Print Page | Close Window

Derive from CXTPCommandBar?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=1366
Printed Date: 03 November 2024 at 8:27am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Derive from CXTPCommandBar?
Posted By: Uwe Keim
Subject: Derive from CXTPCommandBar?
Date Posted: 04 November 2004 at 2:15am

Is it possible (recommended) to derive a class from CXTPCommandBar (namely from CXTPPopupBar) to implement some special message routing handling?

If yes, would I do like CXTPPopupBar does? I found no samples how to do this.

Thanks
Uwe




Replies:
Posted By: Oleg
Date Posted: 05 November 2004 at 1:40am

 

you need one derived popup, or you want all popups will be derived automatically?

if first:

class CPopupBar : public CXTPPoupBar
{

DECLARE_XTP_COMMANDBAR(CPopupBar )
}

IMPLEMENT_XTP_COMMANDBAR(CPopupBar, CXTPPoupBar )

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Uwe Keim
Date Posted: 05 November 2004 at 2:01am

Thanks, Oleg. Yes, first version. I tried it yesterday and it really worked very well!

Being a "converted" user of your library (from Xxxxxxx ), I must say that your library architecture and design is really excellent, especially compared to the former product!

Thank you
Uwe




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