Two Menubars ?

This is a discussion on Two Menubars ? within the Windows Programming forums, part of the Platform Specific Boards category; hey, i've discovered the beauty of having a rich edit edit box but i would like to have a menubar ...

  1. #1
    Shibby willc0de4food's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    378

    Two Menubars ?

    hey, i've discovered the beauty of having a rich edit edit box but i would like to have a menubar beneath the main one (the file | options | about menu) where i can have a button and the person clicks it and voila, whatever is now bold. but getting things bold or green is not my problem. i just need to know how to get a 2nd menu, lol thanks!
    Registered Linux User #380033. Be counted: http://counter.li.org

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    >>where i can have a button and the person clicks it and voila,

    Look at the bar control classes

    toolbar
    rebar
    coolbar
    dialogbar
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    Shibby willc0de4food's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    378
    mm.. i believe thats what i needed. after searching the terms a bit i found an article on msdn.. but just to be sure, is this useable: http://msdn.microsoft.com/library/de...ndamentals.asp
    ?
    Registered Linux User #380033. Be counted: http://counter.li.org

  4. #4
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    If you're using mfc with visual c++ v6.0 then, yes, it should be.

    If using winapi, then check out window controls (useful anyway).

    There's a rebar control example (winapi) on this page.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  5. #5
    Shibby willc0de4food's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    378
    thanks i'm not using VC++ w/mfc, i prefer dev-c++ by far, lol

    thanks !
    Registered Linux User #380033. Be counted: http://counter.li.org

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21