Translate Window Style to strings
Posted
by Mihai Filimon
on September 29th, 1998
CTranslateWindowStyle tws; // declare a tws member for translation styles tws.SetStyle(pWnd); // prepare a styles of window pWnd for translate CString sStyles = tws.Translate(); // In sStyle will be retrieve the string as window style. tws.SetExStyle(pWnd); CString sExStyles = tws.Translate(); // in sExStyles, will have the extended window style. tws.SetClassStyle(pWnd); CString sClassStyles = tws.Translate(); // in sClassStyles, will have the class window style.Translate(), public function of CTranslateWindowStyle class, will translate the latest styles set (by calling one of the following functions: SetStyle, SetExStyle, SetClassStyle.) as normal, extended, class window style.
If you have a new window control, you can add your own style. Just see into the header file of CTranslateWindowStyle class.
Date Posted: 09/29/98

Comments
The project files are not complete!
Posted by Legacy on 11/19/1998 12:00amOriginally posted by: Ming
Hi,
I like your this cool work. But when I want to build the project,
I found that there were not FloorObject.cpp, FloorPageObject.cpp
and FloorWnd.cpp in your Zip file.
Would you please add them again?
Reply