Hide the Content Pane in AX 2009

For developers the ‘Content Pane’ can contribute to a great deal of frustration.

Specially for does who are used to develope in AX 4 or earlier.

Here is a small job that will hide it for you:

1
2
3
4
5
6
7
8
9
10
11
12
static void Job1(Args _args)
{
    #WinAPI
    ;
 
    WinApi::showWindow(
        WinApi::findWindowEx(
            WinApi::findWindowEx(
                WinApi::findWindow('AxMainFrame', ''),
                    0, 'MDIClient', ''),
                        0, 'ContentFrame', ''), #SW_HIDE);
}

Replace #SW_HIDE with #SW_SHOW to show it again.

One thought on “Hide the Content Pane in AX 2009

Leave a Reply

Your email address will not be published. Required fields are marked *