CToolBar and Controls
-
How do I place controls like a CComboBox on a flat CToolBar derived toolbar?
-
How do I place controls like a CComboBox on a flat CToolBar derived toolbar?
make a dialog bar instead its easier :) --- "every year we invent better idiot proof systems and every year they invent better idiots"
-
make a dialog bar instead its easier :) --- "every year we invent better idiot proof systems and every year they invent better idiots"
Yeah, but then I can't have it be the same height as my other toolbar, and I can't have flat toolbar buttons.
-
Yeah, but then I can't have it be the same height as my other toolbar, and I can't have flat toolbar buttons.
ok ... i see your point ... i won't say it can't be done (every time i say such a thing i find out it can be and i'm beginning to believe that anything can be done given enough time and effort) ... that said however i think to achieve what you want will take some considerable effort as toolbars are not designed to have other controls in them (afaik) ... why not make a dialog bar and do custom drawing of the buttons you want to be flat? it might be easier than the other option now i await to be told it is easy ... just use CWhateverToolbar etc etc ;) --- "every year we invent better idiot proof systems and every year they invent better idiots"
-
ok ... i see your point ... i won't say it can't be done (every time i say such a thing i find out it can be and i'm beginning to believe that anything can be done given enough time and effort) ... that said however i think to achieve what you want will take some considerable effort as toolbars are not designed to have other controls in them (afaik) ... why not make a dialog bar and do custom drawing of the buttons you want to be flat? it might be easier than the other option now i await to be told it is easy ... just use CWhateverToolbar etc etc ;) --- "every year we invent better idiot proof systems and every year they invent better idiots"
I know how to place CComboBoxs on the old toolbars, but it doesn't work on the falt ones.