|
|
|
Tell us what you think of the site.
|
Autodesk Media & Entertainment User Community
|
Autodesk® 3ds Max®
|
|
Autodesk® Maya®
|
|
Autodesk® Softimage®
|
|
Autodesk® MotionBuilder®
|
|
Autodesk® Mudbox™
|
|
Autodesk® ImageModeler™
|
|
Autodesk® Sketchbook® Pro
|
|
Autodesk® Smoke on Mac®
|
|
Hi All:
I am a new girl game programmer come from China. ^.^
Here I use VS 2005, I want to realize a plug-in.
For this plug-in:
- Has a complex UI design.
- Click one button of a dialog, Pop up another complex dialog. ( I know I should setting the UI also in my FBTool class )
- Get the window handle of Motion Builder, I don’t know how to get it in OR, maybe I should use MFC ,etc. HWND hWnd = AfxGetApp()->m_pMainWnd->GetSafeHwnd().
I can’t find the visual design Tool for OR, Can I use MFC in OR plug-in project, use CDialog and drag the buttons or other controls to the dialog, do not need to write the control pos info by hand.
The problem is I do not find the way to do it . : (
Thank you very much. Any advice is welcome....
|
|
|
|
Hi chindy,
> about window handle to Motion Builder…
I do it in this manner
...
EnumWindows( EnumProc, 0 );
...
BOOL CALLBACK EnumProc( HWND hwnd, LPARAM lParam )
{
char szTitle[MAX_PATH];
GetWindowText( hwnd, szTitle, MAX_PATH );
if (strstr( szTitle, “MotionBuilder “ ) != NULL)
{
// hold hwnd as the handle of the MotionBuilder
return false;
}
return true;
}
...
> complex UI design…
I working on the ui builder tool for MotionBuilder and I will submit it very soon )
>- Click one button of a dialog, Pop up another complex dialog.
The another complex dialog will be another tool or the same tool?
|
|
|
|
Thank you Neill.Solow :)
> the window handle of Motion Builder
I think you give a good way. but if there are two instance of MotionBuilder , which handle the callback function get??
> Pop up another complex dialog
In the same tool, I know I can use FBPopup to do that, but also have to setting the UI in main FBTool, :(
|
|
|
|
So you means,
I can use MFC CDialog to replace the FBLayout.
|
|
|
chindy 23 February 2009 01:14 AM
So you means,
I can use MFC CDialog to replace the FBLayout.
I quess, you cannot use mfc.
|
|
|
|
I have uploaded beta of the UI builder. If you interested, you can find it here http://neill3d.com/ui-builder-for-motionbuilder
|
|
|
|
Oh, That’s great !!
Is there MotionBuilder7.5 uiBuilder version?
|
|
|
|
I have uploaded uibuilder for MoBu 7.5 ext.2
|
|
|
|
|
|