Home > Software engineering >  What VC6 custom painting CEdit with what is the difference between VS2010??????? Crazy!!!!!
What VC6 custom painting CEdit with what is the difference between VS2010??????? Crazy!!!!!

Time:10-10

Downloaded from the BBS a VC6 CEdit custom painting class, is to add background, running effect is shown in figure 1, will be a copy of the same class on the newly-built VS2010 project, the same way, the result is completely different!! - is not loaded on any background images, but the mouse to click for black background,
Where don't know whether the painting CEdit difference, find a lot of the same code and instructions, feel everyone close to conclusion, but in how VS2010 is wrong!!!!!
Please guide!!


CodePudding user response:

VS2010 is bringing XP style
Resources in the 24 1 deleted like VC6,

CodePudding user response:

VC6 and VS2010 definitely have the difference, may need to program drawn to look at, some statements may need to modify,

CodePudding user response:

reference 1st floor shuo101 response:
VS2010 is bringing XP style
Resources in the 24 1 deleted like VC6,

First of all, thank you!
What is deleted??

CodePudding user response:

refer to the second floor wxhxj0268 response:
VC6 and VS2010 definitely have the difference, may need to program drawing place to look at, some statements may need to modify,


Thank you very much!

Just don't know how to change? Which statements, the great god guide, thank you!

CodePudding user response:

The default encoding is different, the stdafx. H file at the bottom of a large section of the removed try again ~

CodePudding user response:

The code has a problem, is not good for different system compatible

CodePudding user response:

Stdafx. H file it is ok to comment out the following code in the
This is the style program

 
# ifdef _UNICODE
# if defined _M_IX86
# pragma comment (would, "/manifestdependency: " type="win32 'name=' Microsoft.Windows.Com mon - Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595 b64144ccf1df' language='*' " ")
# elif defined _M_IA64
# pragma comment (would, "/manifestdependency: " type="win32 'name=' Microsoft.Windows.Com mon - Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595 b64144ccf1df' language='*' " ")
# elif defined _M_X64
# pragma comment (would, "/manifestdependency: " type="win32 'name=' Microsoft.Windows.Com mon - Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595 b64144ccf1df' language='*' " ")
# the else
# pragma comment (would, "/manifestdependency: " type="win32 'name=' Microsoft.Windows.Com mon - Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595 b64144ccf1df' language='*' " ")
# endif
# endif
  • Related