Показать сообщение отдельно
Старый 24.12.2009, 17:43   #9  
DSPIC is offline
DSPIC
Боец
 
1,077 / 1234 (44) ++++++++
Регистрация: 11.04.2008
How to hide Content Pane in 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);
}