Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Simple menu in a commandbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Simple menu in a commandbar

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


Joined: 27 August 2007
Location: Ecuador
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote pslzr Quote  Post ReplyReply Direct Link To This Post Topic: Simple menu in a commandbar
    Posted: 01 November 2007 at 11:07am

I want to put a simple menu in a Dialog Window, with the following characteristics.

* No moving or floating commandbar.
* A commandbar covering all top side of the dialog window.
* Better if I don't have to compute controls possitions or client window area inside the Dialog window.
 
(The doc is not easy for helpping me to guess how to do it)
 
Could anyone please give me samples to achieve this goal?
 
Thank you.
 
Peter.
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: 01 November 2007 at 2:57pm
Hi,
 
Check Samples\CommandBars\DialogSample  sample.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
pslzr View Drop Down
Newbie
Newbie


Joined: 27 August 2007
Location: Ecuador
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote pslzr Quote  Post ReplyReply Direct Link To This Post Posted: 08 November 2007 at 2:38pm
Oleg,
 
Thanks for your help.
 
I have reviewed the CommandBars DialogSample,
in fact I reviewed it previously also, all my doubts still remain.
 
Here my issues,
 
1), I don't want the menus moving, and in DialogSample they are moving.  How do I make it not movable?
2), I would like menus on all the top of the window, and in the sample it is always computing new size for the menu (not clear for me when it is required),
3), this is a will. I would like to know if that is or isn't possible.
 
Many thanks in advance.
 
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.047 seconds.