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!
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