Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Skin style dialog sample needed

Status
Not open for further replies.

Anguel

Programmer
Joined
Jun 26, 2002
Messages
1
Location
AU
Hello,

I have an MFC dialog based application, but I need to change the entire look of the application. I have to create a skin dialog.
Can you please send me a sample of skin dialog or a link to some sample.
My address is adaskalov@yahoo.com

Thank you.
Anguel Daskalov / Australia
 
Hey, I just found an awesome menu skin. It is truly awesome, here is a link to it:
I just put this in my app, it makes it look real nice, here is additional stuff you can change in the code, when you d-load it you will know what I am talking about.

To change the background color of the menu, change this line, found in BCMenu.cpp, from:

COLORREF m_newclrBack=GetSysColor(COLOR_3DFACE);

to:
COLORREF m_newclrBack=RGB(237,237,237);

To change the side color of the menu, change:

COLORREF m_clrBack=GetSysColor(COLOR_WINDOW);

to:
COLORREF m_clrBack=RGB(232,232,232);

And finaly, to change the menu selection color, change:

COLORREF crSelect = GetSysColor(MENU_SELECT);

to:
COLORREF crSelect = RGB(31,114,205);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top