91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

使用ObjectArx接口在CAD2010上實現的屏幕菜單。 此例子從CAdUiPaletteSet類派生,僅用于學習參考。

資源截圖

代碼片段和文件信息

//?(C)?Copyright?2002-2007?by?Autodesk?Inc.?
//
//?Permission?to?use?copy?modify?and?distribute?this?software?in
//?object?code?form?for?any?purpose?and?without?fee?is?hereby?granted?
//?provided?that?the?above?copyright?notice?appears?in?all?copies?and?
//?that?both?that?copyright?notice?and?the?limited?warranty?and
//?restricted?rights?notice?below?appear?in?all?supporting?
//?documentation.
//
//?AUTODESK?PROVIDES?THIS?PROGRAM?“AS?IS“?AND?WITH?ALL?FAULTS.?
//?AUTODESK?SPECIFICALLY?DISCLAIMS?ANY?IMPLIED?WARRANTY?OF
//?MERCHANTABILITY?OR?FITNESS?FOR?A?PARTICULAR?USE.??AUTODESK?INC.?
//?DOES?NOT?WARRANT?THAT?THE?OPERATION?OF?THE?PROGRAM?WILL?BE
//?UNINTERRUPTED?OR?ERROR?FREE.
//
//?Use?duplication?or?disclosure?by?the?U.S.?Government?is?subject?to?
//?restrictions?set?forth?in?FAR?52.227-19?(Commercial?Computer
//?Software?-?Restricted?Rights)?and?DFAR?252.227-7013(c)(1)(ii)
//?(Rights?in?Technical?Data?and?Computer?Software)?as?applicable.
//

//-----------------------------------------------------------------------------
//-----?acrxEntryPoint.cpp
//-----------------------------------------------------------------------------
#include?“StdAfx.h“
#include?“resource.h“
#include?“MyPaletteSet.h“
//-----------------------------------------------------------------------------
#define?szRDS?_RXST(““)
CMyPaletteSet*?g_pPaletteSet;
//-----------------------------------------------------------------------------
//-----?objectARX?EntryPoint
class?CPalettsetProApp?:?public?AcRxArxApp?{

public:
CPalettsetProApp?()?:?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
if(g_pPaletteSet)
{
delete?g_pPaletteSet;
g_pPaletteSet?=?NULL;
}

return?(retCode)?;
}

virtual?void?RegisterServerComponents?()?{
}


//?-?PalettsetPro.CmdPalette?command?(do?not?rename)
static?void?PalettsetProCmdPalette(void)
{
//?Add?your?code?for?command?PalettsetPro.CmdPalette?here
CMDiframeWnd?*pAcadframe?=?acedGetAcadframe();
if(g_pPaletteSet==NULL)
{
g_pPaletteSet?=?new?CMyPaletteSet;
CAcModuleResourceOverride?myResources;
g_pPaletteSet->Create(pAcadframe?_T(“Command?Bar“));
g_pPaletteSet->EnableDocking?(CBRS_ALIGN_LEFT);
g_pPaletteSet->RestoreControlBar();?//此語句影響后期修改對話框的初始大小
}
else
{
//設置浮動ControlBar
// pAcadframe->FloatControlBar(g_MyDCB?CPoint?(100?100)?CBRS_ALIGN_TOP);

pAcadframe->ShowControlBar(g_pPaletteSet?TRUE?TRUE);
}
}
}?;

//--------------------

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-02-22?17:29??PalettsetPro\
?????文件????????2845??2013-02-22?17:24??PalettsetPro\CmdChildDlg.cpp
?????文件?????????584??2013-02-22?17:06??PalettsetPro\CmdChildDlg.h
?????文件????????1895??2013-02-22?16:27??PalettsetPro\DocData.cpp
?????文件????????1692??2013-02-22?16:27??PalettsetPro\DocData.h
?????文件????????4275??2013-02-22?16:41??PalettsetPro\MyCmdPalette.cpp
?????文件????????2191??2013-02-22?16:42??PalettsetPro\MyCmdPalette.h
?????文件????????3232??2013-02-22?16:55??PalettsetPro\MyPaletteSet.cpp
?????文件????????1957??2013-02-22?16:54??PalettsetPro\MyPaletteSet.h
?????文件????????2469??2013-02-22?16:27??PalettsetPro\PalettsetPro.cpp
?????文件????????2909??2013-02-22?17:07??PalettsetPro\PalettsetPro.rc
?????文件????????1243??2013-02-22?16:27??PalettsetPro\PalettsetPro.sln
?????文件???????14336??2013-02-22?17:28??PalettsetPro\PalettsetPro.suo
?????文件???????10205??2013-02-22?16:39??PalettsetPro\PalettsetPro.vcproj
?????文件????????1371??2013-02-22?16:27??PalettsetPro\StdAfx.cpp
?????文件????????4551??2013-02-22?16:27??PalettsetPro\StdAfx.h
?????文件????????3238??2013-02-22?17:01??PalettsetPro\acrxEntryPoint.cpp
?????文件?????????544??2013-02-22?16:31??PalettsetPro\resource.h

評論

共有 條評論