xsi_viewcontext.h
Go to the documentation of this file.
00001 //*****************************************************************************
00011 //*****************************************************************************
00012 
00013 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00014 #pragma once
00015 #endif
00016 
00017 #ifndef __XSIVIEWCONTEXT_H__
00018 #define __XSIVIEWCONTEXT_H__
00019 
00020 #include <xsi_base.h>
00021 #include <xsi_value.h>
00022 
00023 namespace XSI {
00024 
00025 //*****************************************************************************
00153 //*****************************************************************************
00154 
00155 class SICPPSDKDECL ViewContext : public CBase
00156 {
00157 public:
00158 
00160     ViewContext();
00161 
00163     ~ViewContext();
00164 
00168     ViewContext(const CRef& in_ref);
00169 
00173     ViewContext(const ViewContext& in_obj);
00174 
00179     bool IsA( siClassID in_ClassID) const;
00180 
00184     siClassID GetClassID() const;
00185 
00190     ViewContext& operator=(const ViewContext& in_obj);
00191 
00197     ViewContext& operator=(const CRef& in_ref);
00198 
00199 
00203     CValue      GetUserData();
00204 
00215     CStatus     PutUserData(const CValue& in_val);
00216 
00221     void*       GetParentWindowHandle();
00222 
00227     CStatus     GetNotificationData(siEventID& out_eEventID, void** out_pData);
00228 
00233     CStatus     SetFlags(LONG in_lFlags);
00234 
00235 
00243     CStatus     SetXWindowTopLevel ( void* in_pHandle );
00244 
00249     void*       GetTopLevelWidget ();
00250 
00251 
00252     private:
00253     ViewContext * operator&() const;
00254     ViewContext * operator&();
00255 };
00256 
00257 };
00258 #endif // __XSICONTEXT_H__