Fixed: RollupMouseMessage useless since 3dsmax 2.0
--HG-- branch : develop
This commit is contained in:
parent
6a06255c61
commit
c744fc9acd
8 changed files with 8 additions and 72 deletions
|
@ -744,11 +744,6 @@ static INT_PTR CALLBACK CNelExportDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LP
|
|||
}
|
||||
|
||||
break;
|
||||
case WM_LBUTTONDOWN:
|
||||
case WM_LBUTTONUP:
|
||||
case WM_MOUSEMOVE:
|
||||
theCNelExport._Ip->RollupMouseMessage(hWnd,msg,wParam,lParam);
|
||||
break;
|
||||
|
||||
default:
|
||||
ret = FALSE;
|
||||
|
|
|
@ -231,13 +231,7 @@ INT_PTR CALLBACK PatchTileDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM
|
|||
}
|
||||
return FALSE;
|
||||
|
||||
case WM_LBUTTONDOWN:
|
||||
case WM_LBUTTONUP:
|
||||
case WM_MOUSEMOVE:
|
||||
ep->ip->RollupMouseMessage(hDlg, message, wParam, lParam);
|
||||
return FALSE;
|
||||
|
||||
case WM_COMMAND:
|
||||
case WM_COMMAND:
|
||||
/*switch (LOWORD(wParam))
|
||||
{
|
||||
}*/
|
||||
|
@ -298,13 +292,7 @@ INT_PTR CALLBACK PatchEdgeDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM
|
|||
}
|
||||
return FALSE;
|
||||
|
||||
case WM_LBUTTONDOWN:
|
||||
case WM_LBUTTONUP:
|
||||
case WM_MOUSEMOVE:
|
||||
ep->ip->RollupMouseMessage(hDlg, message, wParam, lParam);
|
||||
return FALSE;
|
||||
|
||||
case WM_COMMAND:
|
||||
case WM_COMMAND:
|
||||
switch (LOWORD(wParam))
|
||||
{
|
||||
case IDC_NO_SMOOTH:
|
||||
|
@ -446,13 +434,7 @@ INT_PTR CALLBACK PatchSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM
|
|||
}
|
||||
return FALSE;
|
||||
|
||||
case WM_LBUTTONDOWN:
|
||||
case WM_LBUTTONUP:
|
||||
case WM_MOUSEMOVE:
|
||||
ep->ip->RollupMouseMessage(hDlg, message, wParam, lParam);
|
||||
return FALSE;
|
||||
|
||||
case WM_COMMAND:
|
||||
case WM_COMMAND:
|
||||
if (LOWORD(wParam) >= IDC_SMOOTH_GRP1 &&
|
||||
LOWORD(wParam) <= IDC_SMOOTH_GRP32)
|
||||
{
|
||||
|
|
|
@ -363,13 +363,7 @@ BOOL CALLBACK PatchObjSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM
|
|||
}
|
||||
break;
|
||||
|
||||
case WM_LBUTTONDOWN:
|
||||
case WM_LBUTTONUP:
|
||||
case WM_MOUSEMOVE:
|
||||
ep->ip->RollupMouseMessage(hDlg, message, wParam, lParam);
|
||||
return FALSE;
|
||||
|
||||
case WM_COMMAND:
|
||||
case WM_COMMAND:
|
||||
switch (LOWORD(wParam))
|
||||
{
|
||||
// Tessellation
|
||||
|
|
|
@ -110,12 +110,6 @@ BOOL CALLBACK DefaultSOTProc(HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam)
|
|||
SetWindowLongPtr(hWnd,GWLP_USERDATA,lParam);
|
||||
break;
|
||||
|
||||
case WM_LBUTTONDOWN:
|
||||
case WM_LBUTTONUP:
|
||||
case WM_MOUSEMOVE:
|
||||
if (ip) ip->RollupMouseMessage(hWnd,msg,wParam,lParam);
|
||||
return FALSE;
|
||||
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -132,14 +132,8 @@ INT_PTR CALLBACK PatchSelectDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPAR
|
|||
ep->ip->ClearPickMode();
|
||||
CancelEditPatchModes(ep->ip);
|
||||
return FALSE;
|
||||
|
||||
case WM_LBUTTONDOWN:
|
||||
case WM_LBUTTONUP:
|
||||
case WM_MOUSEMOVE:
|
||||
ep->ip->RollupMouseMessage(hDlg, message, wParam, lParam);
|
||||
return FALSE;
|
||||
|
||||
case WM_COMMAND:
|
||||
|
||||
case WM_COMMAND:
|
||||
{
|
||||
BOOL needRedraw = FALSE;
|
||||
switch (LOWORD(wParam))
|
||||
|
@ -645,13 +639,7 @@ INT_PTR CALLBACK PatchOpsDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM
|
|||
}
|
||||
break;
|
||||
|
||||
case WM_LBUTTONDOWN:
|
||||
case WM_LBUTTONUP:
|
||||
case WM_MOUSEMOVE:
|
||||
ep->ip->RollupMouseMessage(hDlg, message, wParam, lParam);
|
||||
return FALSE;
|
||||
|
||||
case WM_COMMAND:
|
||||
case WM_COMMAND:
|
||||
switch (LOWORD(wParam))
|
||||
{
|
||||
// Subdivision
|
||||
|
|
|
@ -128,12 +128,6 @@ BOOL CALLBACK DefaultSOTProc(
|
|||
SetWindowLongPtr(hWnd,GWLP_USERDATA,lParam);
|
||||
break;
|
||||
|
||||
case WM_LBUTTONDOWN:
|
||||
case WM_LBUTTONUP:
|
||||
case WM_MOUSEMOVE:
|
||||
if (ip) ip->RollupMouseMessage(hWnd,msg,wParam,lParam);
|
||||
return FALSE;
|
||||
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -65,13 +65,7 @@ INT_PTR CALLBACK PatchOpsDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
case WM_LBUTTONDOWN:
|
||||
case WM_LBUTTONUP:
|
||||
case WM_MOUSEMOVE:
|
||||
ep->ip->RollupMouseMessage(hDlg, message, wParam, lParam);
|
||||
return FALSE;
|
||||
|
||||
case WM_COMMAND:
|
||||
case WM_COMMAND:
|
||||
switch (LOWORD(wParam))
|
||||
{
|
||||
case IDC_INCLUDE_MESHES:
|
||||
|
|
|
@ -156,11 +156,6 @@ static INT_PTR CALLBACK Tile_utilityDlgProc(HWND hWnd, UINT msg, WPARAM wParam,
|
|||
// load the sampler dropdown
|
||||
theTile_utility.Destroy(hWnd);
|
||||
break;
|
||||
case WM_LBUTTONDOWN:
|
||||
case WM_LBUTTONUP:
|
||||
case WM_MOUSEMOVE:
|
||||
theTile_utility.ip->RollupMouseMessage(hWnd,msg,wParam,lParam);
|
||||
break;
|
||||
case WM_COMMAND:
|
||||
{
|
||||
int id = LOWORD(wParam);
|
||||
|
|
Loading…
Reference in a new issue