|
![]() |
#1 |
Участник
|
DeniZone: Show current configuration in title bar of windows
Источник: http://denizone.blogspot.com/2009/01...title-bar.html
============== This code snippet shows the current configuration of the AX client you have opened. Really helpful if you have several different AX clients opened at the same time. X++: void workspaceWindowCreated(int _hWnd) { SqlSystem sqlSystem = new SqlSystem(); LoginProperty loginProperty = sqlSystem.createLoginProperty(); ; // Put workspace window specific initialization here. // Show application details in title bar if (loginProperty) { WinAPI::setWindowText(_hWnd, strFmt("%1 - %2@%3 (%4)", WinAPI::getWindowText(_hWnd), loginProperty.getDatabase(), loginProperty.getServer(), this.currentAOLayer())); } } Источник: http://denizone.blogspot.com/2009/01...title-bar.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
Теги |
blog, configuration utility, title, x++ |
|
|