Thursday, April 16, 2015

Change the TITLE of the AX Main Window

Hi


When you open 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, you have to move the code on the workspaceWindowCreated method of the Info class, like this :
WinAPI::setWindowText( _hWnd, "Magic AX");
Thas'it!
Stay Tuned!


1 comment:

Anonymous said...

Wow did not think, that this is all ou must do to change the title... hanks for your work and for writing about this microsoft dynamics erp system. Seriously, You are giving a great deal of good knowledge by sharing this.