Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

Recently I switched from WinAPI to MFC and I'm already thinking about my own GUI design for my applications. I was hoping, that somebody could give me some clues, where should I start to learn. Link for better undestanding my question: TuneUP Utilities[^].

The Minimize and Close buttons are bitmap-buttons with changed region?
How to rework default GUI in such manner? The Fade effects, usermade backgrounds, different onmouse graphic events, etc.

I experimented a little in some test applications with WinAPI, but I never tried to rework the whole GUI.

Thank you for your answers
Posted
Updated 3-May-10 2:55am
v2

1 solution

First, I'm not personally a fan of changing the standard Windows interface components. The reason Windows was invented was to provide a common user interface for all applications, with all the same look/feel. This makes the user subconsciously familiar will all applications that run on Windows, because the smame basic stuff is in every program, and always looks the same.

That being said, you need to override the CWindow class and handle all of the painting yourself in the OnPaint event. It's been over three years since I wrote any MFC code, so I'm not sure I can help you much beyond that. However, I *can* guarantee that you'll become very good at it if you learn by making mistakes. There's a lot of assets you can use if you just do the right google search.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900