mardi 8 février 2011

How to hide content Pane in DAX for developers

Here is the code : ) 

static void hideContentPaneWindow(Args _args)
{

       #WinApi
       HWND contentPane =   WinApi::findWindowEx( WinAPI::findWindowEx(infolog.hWnd(), 0,    'MDIClient', ''),0,'ContentFrame','' );
       ;
       if (contentPane)
       WinApi::ShowWindow(contentPane,#SW_HIDE); //To restore use          #SW_RESTORE
}

Happy Daxing!

Aucun commentaire:

Enregistrer un commentaire