Setting the title text in info.workspaceWindowCreated() using WINAPI::setWindowText
works ono our machine
but doesn't work on customer's machine
We deployed all 3 databases (xxx, xxx_Baseline, xxx_model),
user role: administrator
identical lizences
Kernel version 6.2.1000.1437
Application version: 6.2.1000.14347
The connection to the client is via Citrix
I wrote a job that changes the title text on the developer workspace:
static void test_ws_title(Args _args)
{
int hWnd;
;
hWnd = infolog.hWnd();
WinAPI::setWindowText(hWnd, 'test');
}
it works on our machine,
but it doesn't work on the customer's machine.
Any ideas?
*This post is locked for comments
Mea culpa.
Everything works fine - it was my fault.
On our machine the text of the title bar is localted on the left side;
on the customer's machine, it is located on the middle.
... This part was overlapped by the Control-Bar of the RDP-connection.
i.e. the text is ok, I just didn't see it :-(
Sorry for the inconvenience.
Ronald
Your code works for me too.
One idea could be that another modifcation to the customers installation changes the text too. Code like that may be implemented from infoLog.onEventgoindIdle.
Does the method return true? Otherwise you could try to figure out what error the SetWindowTextW call returns.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156