论坛发帖可以源码的代码着色了!
<pre class="code">//-----------------------------------------------------------------------------//----- acrxEntryPoint.cpp
//-----------------------------------------------------------------------------
#include "StdAfx.h"
#include "resource.h"
//-----------------------------------------------------------------------------
#define szRDS _RXST("")
//-----------------------------------------------------------------------------
//----- ObjectARX EntryPoint
class CArxProject3App : public AcRxArxApp {
public:
CArxProject3App () : AcRxArxApp () {}
virtual AcRx::AppRetCode On_kInitAppMsg (void *pkt) {
// TODO: Load dependencies here
// You *must* call On_kInitAppMsg here
AcRx::AppRetCode retCode =AcRxArxApp::On_kInitAppMsg (pkt) ;
// TODO: Add your initialization code here
return (retCode) ;
}
virtual AcRx::AppRetCode On_kUnloadAppMsg (void *pkt) {
// TODO: Add your code here
// You *must* call On_kUnloadAppMsg here
AcRx::AppRetCode retCode =AcRxArxApp::On_kUnloadAppMsg (pkt) ;
// TODO: Unload dependencies here
return (retCode) ;
}
virtual void RegisterServerComponents () {
}
// - ArxProject3._Test command (do not rename)
static void ArxProject3_Test(void)
{
// Add your code for command ArxProject3._Test here
acutPrintf(_T("\n代码着色测试!?"));
}
} ;
//-----------------------------------------------------------------------------
IMPLEMENT_ARX_ENTRYPOINT(CArxProject3App)
ACED_ARXCOMMAND_ENTRY_AUTO(CArxProject3App, ArxProject3, _Test, Test, ACRX_CMD_TRANSPARENT, NULL)
</pre> <p>这个代码着色 是用WLwriter的 vspaste 插件做成的。</p>
<p>如果各位喜欢的话,不妨试下看看哦。</p>
页:
[1]