Doens.be

  • Linkedin flickr twitter delicious Facebook Youtube

Hide/destroy annoying Content Pane in AX2009

Here is a small job, which hides content pane in Dynamics Ax 2009. This content pane can be useful for users, but as a developer it can be very annoying.

1
2
3
4
5
6
7
8
9
10
11
12
static void hideAnnoyingContentPane(Args _args)
{
    HWND contentPane =  WinApi::findWindowEx(
          WinAPI::findWindowEx(infolog.hWnd(), 0, 'MDIClient', ''),
          0,
          'ContentFrame',
          ''
    );
	;
    if (contentPane)
        WinApi::destroyWindow(contentPane);
}

Tags: , , ,

2 Responses to “Hide/destroy annoying Content Pane in AX2009”

  1. January 28th, 2010 at 19:01

    Art Of Creation – Dynamics AX Blog » Axapta 3 menu in AX 2009 says:

    [...] who don’t know what the breadcrumb on top of the AX screen is for? Do you already execute a job to disable the content pane on [...]

  2. June 22nd, 2010 at 10:50

    Utilidades para el WorkSpace « DAX_ES says:

    [...] la segunda “problemática” el aporte viene en forma de job desde doens.be. Este código también se puede incorporar en la inicialización de AX para que sea el [...]

Leave a Reply