Skip to main content

Dialog System problems getting the WIN-HANDLE

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

If the following MOVE-OBJECT-HANDLE causes strange behaviour, e.g. for a ListBox:

SCREENSET-INITIALIZED

...

    MOVE-OBJECT-HANDLE WIN-01 SM-HANDLE(1)

Resolution:

The object WIN-01 is not available at SCREENSET-INITIALIZED.

So its handle cannot be moved.

Move this code fragment to the WINDOWS-INITIALIZED dialog of WIN-01 and the handle of WIN-01 can be received.

Old KB# 4248