Showing posts with label C#. Show all posts
Showing posts with label C#. Show all posts

Thursday, June 21, 2007

Using 3dsMax native window as owned parent of Dotnet form

Plan is instead of win32 using dotnet form with 3dsMax SDK. But how can make the dotnet window as owned child of 3dsmax native window (required to behave properly in minimize/maximize or activate/deactivate window cases)? NativeWinodow class under System.Windows.Form namespace can solve the problem. Code snippet I have used...

Interface* Ip = GetCOREInterface();
HWND childHWND = varForm.CreateForm(Ip->GetMAXHWnd());

void WrapForm::CreateForm(HWND ParentHandle)
{
Test::TestForm^ netForm = gcnew Test::TestForm();
netForm->Show(System::Windows::Forms::NativeWindow::FromHandle(
(System::IntPtr)ParentHandle));
}

Saturday, January 06, 2007

Image Blending Arithmetic


A new paper posted in my santapaper blog. It is about Image Blending Arithmetic through C#

Friday, January 05, 2007

MaxScript Editing Studio

Very excited about it. I am developing one max script editing environment for 3dsmax 9.0 with the help of Dot net and Scintilla. Unlike other editor it is completely integrated within max. For this project I'm using C#. But there are lot of unsafe block and platform invoke I used to talk with Scintilla from dotnet. Also one lexar I wrote for Scintilla to support max language features.

Some screenshots of work in progress...