Источник:
http://axcoder.blogspot.com/2008/07/...n-ax-2009.html
==============
Here is a small job, which hides content pane in Dynamics Ax 2009. Content pane can be useful for end users, but when you develop something in can be irritating to see it oon top of all windows every time you click on menu item. So here is a small solution. I plan to add this feature to the future Tabax for Ax 2009
X++:
static void TEST_HideContentFrame(Args _args)
{
#WinApi
HWND contentPane = WinApi::findWindowEx(
WinAPI::findWindowEx(infolog.hWnd(), 0, 'MDIClient', ''),
0,
'ContentFrame',
''
);
;
if (contentPane)
WinApi::ShowWindow(contentPane, #SW_HIDE);
}
Источник:
http://axcoder.blogspot.com/2008/07/...n-ax-2009.html