web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX 2012 R2: WINAPI::setWindowText doesn't work (on customer machine)

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • PA-22040759-0 Profile Picture
    6,194 on at

    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.

  • Suggested answer
    Community Member Profile Picture
    on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans