Thanks, it works.
Now some questions (maybe off-topic).
1. Why when toolbar is in the frame it's painted gradient and why when I use designer it isn't painted(gradient)?
2. Should i use the designer for each windows from my program or just for dialogs? Or it is just about taste.
(I believe I will open a topic where others will say about how they make their programs, from beginning to end.)
Thanks, Andrei