NO

Author Topic: Dialog controls  (Read 8828 times)

post from old forum

  • Guest
Dialog controls
« on: September 13, 2004, 09:03:53 PM »
Hello. Is there way to add new controls to dialog editor? Like Rebar?

post from old forum

  • Guest
Dialog controls
« Reply #1 on: September 13, 2004, 09:04:17 PM »
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

post from old forum

  • Guest
Dialog controls
« Reply #2 on: September 13, 2004, 09:04:42 PM »
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.

post from old forum

  • Guest
Dialog controls
« Reply #3 on: September 13, 2004, 09:05:10 PM »
and toolbar. I guess that might be more difficult though as toolbars have to be stuck to top or bottom of windows.

Mako

post from old forum

  • Guest
Dialog controls
« Reply #4 on: September 13, 2004, 09:05:48 PM »
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

post from old forum

  • Guest
Dialog controls
« Reply #5 on: September 13, 2004, 09:06:23 PM »
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

post from old forum

  • Guest
Dialog controls
« Reply #6 on: September 13, 2004, 09:06:55 PM »
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