I don't have a solution for the color while resizing.
I also have no idea how to make the bar transparent at some places, I'm sorry.
About this: "And the other is that I also have to add bitmap background in toolbar like the titlebar." -> Do you mean you want to have a toolbar with a background? If so, you can find articles of that on codeguru.
About the old buttons showing up while clicking: You need to paint everything yourself, so do not call the baseclass' ::OnNcPaint(); U also have to do that without the WS_SYSMENU style
Code://something like: (you can do it in precreatewindow or oninitdialog) long gwl = GetWindowLong(this->m_hWnd,GWL_STYLE); gwl = gwl & ~WS_SYSMENU; SetWindowLong(this->m_hWnd,GWL_STYLE,gwl); //or just do this before painting: ModifyStyle(WS_SYSMENU,0);




Reply With Quote