Показать сообщение отдельно
Старый 09.09.2008, 17:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
msdynamicsax: Hide the content pane in Ax 2009
Источник: http://msdynamicsax.wordpress.com/20...ne-in-ax-2009/
==============


Have you ever noticed that you can’t press the x of the content pane in Ax 2009 in order to close it when you are in development mode?

Well…here’s a little job that hides it (and shows it again when needed)

static void hideContentPane(Args _args)
{
    #WinApi   
    HWND contentPane =  WinApi::findWindowEx(WinAPI::findWindowEx(infolog.hWnd(), 0, ‘MDIClient’, ”),0,’ContentFrame’,” );
;   
 
    if (contentPane)
        WinApi::ShowWindow(contentPane, #SW_HIDE);
        //Change to #SW_SHOWNORMAL when you want it back
}





Источник: http://msdynamicsax.wordpress.com/20...ne-in-ax-2009/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.