Monday 3 August 2015

Change the TITLE of the AX Main Window

Change the TITLE of the AX Main Window

When you open Microsoft Dynamics AX, the main windows is a form.
So, if you want to change the Title, the code is very easy :


WinAPI::setWindowText( infolog.hWnd(), "Magic AX");

If you want to manage automatically,is enough move this code to the startupPost method of the Info class.

If you want trigger this code for every workspace of Ax, you have to move the code on the workspaceWindowCreated method of the Info class, like this :

WinAPI::setWindowText( _hWnd, "Magic AX");



Thank you!

No comments:

Post a Comment

Import General journal from excel in D365 F&O

 Hi Guys, Import General journal from excel in D365 F&O Code:  using System.IO; using OfficeOpenXml; using OfficeOpenXml.ExcelPackage; u...