Hello. Is there way to add new controls to dialog editor? Like Rebar?
Try 'Dialog' -> 'New custom control', and enter the appropriate class name - I thinks it's ReBarWindow32 for the Rebar control.
You also have to figure out the correct hex value for 'Style' and 'Extended style'...
This should work...
Pelle
Yes this works. To make it easier might you add some other controls to dialog editor? I thinking rebar and status bar would be good to use like other controls in dialog editor.
and toolbar. I guess that might be more difficult though as toolbars have to be stuck to top or bottom of windows.
Mako
It's somewhere on the todo list. Rebar controls shouldn't be too difficult. But, as you say, toolbars (and probably statusbars) are usually stuck at the top/bottom. This makes the drag handles, and other things, go out-of-sync. This can be handled, but requires more work. So far, other things have been more 'urgent'.
Pelle
Does anyone have a sample that has a rebar with a menu and a toolbar in it. I have tried this many times and am having trouble.
Thanks in advance for the help.
P.S. I would love it to be a window if posible not in a dialog.
- Ryan
http://rjpcomputing.com
hello Ryan
you can find very good examples on
JohnF's website here
http://www.john.findlay1.btinternet.co.uk/
MS ReBar sample is here
http://www.john.findlay1.btinternet.co.uk/comctrl/comctrl.htm
so long
tiwag