Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Add search bar in MDI document view ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Add search bar in MDI document view ?

 Post Reply Post Reply
Author
Message
unknow View Drop Down
Groupie
Groupie
Avatar

Joined: 14 January 2009
Location: Belgium
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote unknow Quote  Post ReplyReply Direct Link To This Post Topic: Add search bar in MDI document view ?
    Posted: 22 October 2009 at 7:28pm
Hi all; I would like to add a search bar tool in my MDI document view, just as this example taken from IE8 (see RED area).
 
I've seen the Pane sample, but I'm not sure this is the correct way to do, and I don't want to have a caption, only the bar itself.
 
 
Can someone please link me to a sample ?
 
Thanks!
 
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: 23 October 2009 at 8:27am
Hi,
 
Our RibbonSample has sample for CXTPMessageBar. you can copy its code to your application and adopt for search pane.
 
 
or maybe easier create dialog temp and create standard MFC CDialogBar for it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
unknow View Drop Down
Groupie
Groupie
Avatar

Joined: 14 January 2009
Location: Belgium
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote unknow Quote  Post ReplyReply Direct Link To This Post Posted: 24 October 2009 at 6:56am
I did using the MFC CDialogbar + CRebar (for docking + show/hide support) that I added into the CChildFrame::OnCreate
 
But I'm wondering if this code will still be supported in Windows 7; I mean the CDialog bar is a pretty old MFC class; What's your opinion about this ?
 
The CXTPMessageBar looks nice too but the CDialogbar is of course easier since I need to handle events from controls within the dialog bar template.
 
Thanks.
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: 26 October 2009 at 3:30am
Hi,
 
CDialogBar works with Windows 7 without problem. Don't see nothing wrong about this class.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
unknow View Drop Down
Groupie
Groupie
Avatar

Joined: 14 January 2009
Location: Belgium
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote unknow Quote  Post ReplyReply Direct Link To This Post Posted: 28 October 2009 at 2:10pm
Hi. Is there a way to apply codejock theme manager to the standard CDialogBar ?
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.