Simply change the application style theme
Hello there,
what is needed to change the controls of a WinAPI application to XP style like Button 1/2 here:
http://www.codeproject.com/buttonctr...tton/xpbtn.gif
It would be easy using Visual C++, but I am using DevC++ for win32 applications as Visual C++ creates files 11 times larger than Dev for the same program functions (minimum of 3 times larger).
Also VC++ creates 10+ files for simple apps and it's file structures of these MFC/win32 apps are way different of mine.
So I normally use 3 files for all my projects, a .cpp source file for the main code, message loop and callback, a resource header file for declarations of objects and controls (strings, buttons, ..) and a resource script .rc file for properties of the program (window style, menu, controls, ..).
Functions of the menubar items or controls are being processed in the callback with case WM_COMMAND in my programs other than in VC++ created apps.
Well, I couldn't find any help on msdn/google after 2 hours of searching. I only got examples using classes and weird code, but I want to know where my program does what and when.. so classes are useless for me.
So, how can I change the style of my controls to XP or ComCtl32 without classes and crap?
Maybe I am totally talking ****. Tell me if so :)
Thanks for any help.
Hawk