Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Derive from CXTPCommandBar?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Derive from CXTPCommandBar?

 Post Reply Post Reply
Author
Message
Uwe Keim View Drop Down
Newbie
Newbie


Joined: 01 November 2004
Location: Germany
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Uwe Keim Quote  Post ReplyReply Direct Link To This Post Topic: Derive from CXTPCommandBar?
    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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Uwe Keim View Drop Down
Newbie
Newbie


Joined: 01 November 2004
Location: Germany
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Uwe Keim Quote  Post ReplyReply Direct Link To This Post 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

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