Hello folks,
I am in the process of writing my first Aspect script which needs to do the following:
1. Screen scrape an item number off the terminal screen.
2. Locate a matching bitmap file.
3. Display found bitmap in a window until closed by user.
Specs require that the image pop into a separate window which is sized to the specific image.
I have accomplished 1 & 2. I have done 3 to the point where I know the image height and width.
If I am reading the Aspect docs correctly, it seems I need to use a diaglogbox to get the image in a separate window as uwincreate occupies a portion of the terminal window.
Dialogboxes are sized based on DDUs rather that pixels while my window size needs to be based on pixels.
Question 1: Am I interpreting the documentation correctly?
Question 2: How can the pixels be converted to DDUs to size the popup window correctly.
Thanks in advance,
Graydon
I am in the process of writing my first Aspect script which needs to do the following:
1. Screen scrape an item number off the terminal screen.
2. Locate a matching bitmap file.
3. Display found bitmap in a window until closed by user.
Specs require that the image pop into a separate window which is sized to the specific image.
I have accomplished 1 & 2. I have done 3 to the point where I know the image height and width.
If I am reading the Aspect docs correctly, it seems I need to use a diaglogbox to get the image in a separate window as uwincreate occupies a portion of the terminal window.
Dialogboxes are sized based on DDUs rather that pixels while my window size needs to be based on pixels.
Question 1: Am I interpreting the documentation correctly?
Question 2: How can the pixels be converted to DDUs to size the popup window correctly.
Thanks in advance,
Graydon