当前位置: 首页>>代码示例>>C++>>正文


C++ IObjParam::DeleteRollupPage方法代码示例

本文整理汇总了C++中IObjParam::DeleteRollupPage方法的典型用法代码示例。如果您正苦于以下问题:C++ IObjParam::DeleteRollupPage方法的具体用法?C++ IObjParam::DeleteRollupPage怎么用?C++ IObjParam::DeleteRollupPage使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IObjParam的用法示例。


在下文中一共展示了IObjParam::DeleteRollupPage方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: EndEditParams

void MorphObject::EndEditParams(
      IObjParam *ip, ULONG flags,Animatable *next)
   {
   //ip->DeleteMode(pickMode);
   //delete pickMode;
   //pickMode = NULL;
   ip->ClearPickMode();
   editOb   = NULL;
   creating = FALSE;

   addTargMethod = AddTargMethod();

   if (flags&END_EDIT_REMOVEUI) {
      ip->UnRegisterDlgWnd(hParams1);
      ip->DeleteRollupPage(hParams1);
      hParams1 = NULL;
      ip->UnRegisterDlgWnd(hParams2);
      ip->DeleteRollupPage(hParams2);
      hParams2 = NULL;
   } else {
      DLSetWindowLongPtr(hParams1, NULL);
      DLSetWindowLongPtr(hParams2, NULL);
      }  
   ip = NULL;
   }
开发者ID:artemeliy,项目名称:inf4715,代码行数:25,代码来源:morphobj.cpp

示例2: EndEditParams

void BombObject::EndEditParams(IObjParam *ip,ULONG flags,Animatable *next)
	{
	if (flags&END_EDIT_REMOVEUI) {		
		ip->DeleteRollupPage(hParam);
		ip->DeleteRollupPage(hSot);
		hParam = NULL;
		hSot   = NULL;
	} else {		
      DLSetWindowLongPtr(hParam, 0);      
		}
	
	if (GetFalloffOn(ip->GetTime())) {
		NotifyDependents(FOREVER,0,REFMSG_CHANGE);
		ip->RedrawViews(ip->GetTime());
		}
	this->ip = NULL;
	}
开发者ID:innovatelogic,项目名称:ilogic-vm,代码行数:17,代码来源:bomb.cpp

示例3: EndEditParams

void PinObject::EndEditParams(IObjParam *ip,ULONG flags,Animatable *next)
{	SimpleWSMObject::EndEditParams(ip,flags,next);
	this->ip = NULL;
	if (flags&END_EDIT_REMOVEUI )
	{	DestroyCPParamMap(pmapParam);
		ip->DeleteRollupPage(hSot);
		pmapParam = NULL;		
	}	
}
开发者ID:DimondTheCat,项目名称:xray,代码行数:9,代码来源:pin.cpp

示例4: EndEditParams

void ForceObject::EndEditParams(IObjParam *ip,ULONG flags,Animatable *next)
{
    SimpleWSMObject::EndEditParams(ip,flags,next);
    this->ip = NULL;
    if (flags & END_EDIT_REMOVEUI )
    {
        DestroyCPParamMap(pmapParam);
        ip->DeleteRollupPage(hSot);
        pmapParam = NULL;
    }
    else
    {
        pmapParam->SetUserDlgProc(nullptr);
        pmapParam->SetParamBlock(nullptr);
    }
}
开发者ID:innovatelogic,项目名称:ilogic-vm,代码行数:16,代码来源:force.cpp

示例5: EndEditParams

void WindObject::EndEditParams(
		IObjParam *ip, ULONG flags,Animatable *next)
{		
	SimpleWSMObject::EndEditParams(ip,flags,next);
	this->ip = NULL;

	windDesc.EndEditParams(ip, this, flags, next);

	if (flags&END_EDIT_REMOVEUI ) 
	{		
		if (hSot)
//		DestroyCPParamMap(pmapParam);
		{	ip->DeleteRollupPage(hSot);
			hSot = NULL;
		}
//		pmapParam = NULL;		
	}	
}
开发者ID:artemeliy,项目名称:inf4715,代码行数:18,代码来源:wind.cpp

示例6: EndEditParams

void SWrapObject::EndEditParams(
		IObjParam *ip, ULONG flags,Animatable *next)
	{		
//	SimpleWSMObject::EndEditParams(ip,flags,next);
	this->ip = NULL;

	if (flags&END_EDIT_REMOVEUI ) {		
		// russom - 12/04/01
		// Added NULL ptr detection - used for NO_CREATE_TASK
		if( pmapParam ) {
			DestroyCPParamMap(pmapParam);
			pmapParam = NULL;
		}
		if( hSot ) {
			ip->DeleteRollupPage(hSot);
		}
	}	
	ip->ClearPickMode();
	ip= NULL;
	creating = FALSE;
	}
开发者ID:2asoft,项目名称:xray,代码行数:21,代码来源:surfwrap.cpp

示例7: EndEditParams

void EditFaceDataMod::EndEditParams (IObjParam *ip,ULONG flags,Animatable *next) {
	if (flags&END_EDIT_REMOVEUI ) {
		if (hParams) {
			ip->DeleteRollupPage(hParams);
			hParams = NULL;
		}
	}

	if (selectMode) {
		ip->DeleteMode(selectMode);
		delete selectMode;
	}
	selectMode = NULL;

	this->ip = NULL;
	editMod  = NULL;

	TimeValue t = ip->GetTime();
	NotifyDependents(Interval(t,t), PART_ALL, REFMSG_END_EDIT);
	NotifyDependents(Interval(t,t), PART_ALL, REFMSG_MOD_DISPLAY_OFF);
	ClearAFlag(A_MOD_BEING_EDITED);
}
开发者ID:2asoft,项目名称:xray,代码行数:22,代码来源:EditFaceData.cpp

示例8: EndEditParams

void OrientConstRotation::EndEditParams( IObjParam *ip, ULONG flags,Animatable *next )
{
	if(editCont!=NULL)
	{
		editCont = NULL;
		IParamMap2* pmap = pblock->GetMap();
		if (pmap != NULL)
		{
			if (next && next->ClassID() == ClassID() && ((OrientConstRotation*)next)->pblock&&((OrientConstRotation*)next)->GetLocked()==false)
			{
				pmap->SetParamBlock(((OrientConstRotation*)next)->pblock);
				ip->ClearPickMode();
			}
			else
				orientCD.EndEditParams(ip, this, flags | END_EDIT_REMOVEUI, next);
		}
		else
		{
			int index = aprops.FindProperty(PROPID_INTERPUI);
			if (index>=0) {
				InterpCtrlUI *ui = (InterpCtrlUI*)aprops[index];
				if (ui->hParams) {
					ip->UnRegisterDlgWnd(ui->hParams);
					ip->DeleteRollupPage(ui->hParams);			
					}
				index = aprops.FindProperty(PROPID_INTERPUI);
				if (index>=0) {
					delete aprops[index];
					aprops.Delete(index,1);
					}
				}	
		}
			ip->UnRegisterTimeChangeCallback(&orientConstTimeChangeCallback);
			ip->ClearPickMode(); // need this, otherwise will crash on undo, while pickmode is active.
			this->ip = NULL;
			hWnd = NULL;
	}
}
开发者ID:innovatelogic,项目名称:ilogic-vm,代码行数:38,代码来源:orientation_cnstrnt.cpp


注:本文中的IObjParam::DeleteRollupPage方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。