When subclassing a CEdit (MFC) in my ActiveX I had a problem with the stock properties BackColor and ForeColor, that was partially solved by the article Q148242 (if you are interested, look it up at http://support.microsoft.com/kb/q148242/).
This way, I could enjoy the backcolor and the...
My CViews are created with the style WS_CHILD | WS_VISIBLE |WS_CLIPSIBLINGS |WS_TABSTOP.
When the whole MDI is dragged up, toward the top of the screen, they lose some of their drawing (forms and lines), but NOT the writing.
I have somehow fixed up this problem setting a timer every 60...
Any time I tried to to have a dll (explicitly calle with
AfxLoadLibrary) return me a CString or a pointer to it I got a crash.
I've solved the problem making traditional dlls that return a char*, and then, inside the application, I translate the pointer to char into a CString. But it is...
Some lines of program written in Visual C++ for covering the active cell of a MSFlexGrid with a CEdit run properly in Windows '98, once solved the problem of translating twips into pixels.
But when the same program is tried in Windows NT or XP, the CEdit is misplaced, a few pixels over and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.