# AnyScreen - MESSAGE Not Supported in Client Display

**URL:** <https://clarionhub.com/t/anyscreen-message-not-supported-in-client-display/3152>\
**Category:** questions\
**Tags:** anyscreen\
**Created:** [March 2, 2020, 4:57pm UTC](https://clarionhub.com/t/anyscreen-message-not-supported-in-client-display/3152 "2020-03-02T16:57:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![totalhip](https://clarionhub.com/user_avatar/clarionhub.com/totalhip/32/1477_2.png) [@totalhip](https://clarionhub.com/u/totalhip)\
**Post date:** [March 2, 2020, 4:57pm UTC](https://clarionhub.com/t/anyscreen-message-not-supported-in-client-display/3152/1 "2020-03-02T16:57:17Z")

</div>

Looks like a MESSAGE window does not display within a WinApi or HTML5 client.

For instance, if Cancel clicked on a form and WindowClass.CancelAction is set to query and verify, the message window will not display under HTML5 as expected.

Work around would be to set CancelAction based on AnyScreen:Active().

---

<div class="post-metadata">

**Author:** ![Mike\_Duglas](https://clarionhub.com/user_avatar/clarionhub.com/mike_duglas/32/1061_2.png) [@Mike\_Duglas](https://clarionhub.com/u/Mike_Duglas)\
**Post date:** [March 2, 2020, 6:13pm UTC](https://clarionhub.com/t/anyscreen-message-not-supported-in-client-display/3152/2 "2020-03-02T18:13:00Z")

</div>

It works if “`_AnyScreenPresent_` =\> 1” is set in project properties, it calls RisNet:Message instead of standard MESSAGE. If `_AnyScreenPresent_` is set to 0 or not defined, MESSAGE works as well, but message box is displayed not in browser, but on desktop below all opened windows.

---

<div class="post-metadata">

**Author:** ![totalhip](https://clarionhub.com/user_avatar/clarionhub.com/totalhip/32/1477_2.png) [@totalhip](https://clarionhub.com/u/totalhip)\
**Post date:** [March 2, 2020, 6:28pm UTC](https://clarionhub.com/t/anyscreen-message-not-supported-in-client-display/3152/3 "2020-03-02T18:28:02Z")

</div>

Mike,  
Thank you for pointing that out. Obviously had forgotten the define in the project file for the test.  
With a browser open on one monitor, AnyScreen displayed a window there but the MESSAGE window was opening on the other monitor.  
Douglas

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [March 3, 2020, 1:25am UTC](https://clarionhub.com/t/anyscreen-message-not-supported-in-client-display/3152/4 "2020-03-03T01:25:43Z")

</div>

I wonder if something like this would be useful in AnyScreen.inc

```
  OMIT(' *****',_AnyScreenPresent_)
     You need to set the _AnyScreenPresent_ define   
  *****

```

---

<div class="post-metadata">

**Author:** ![totalhip](https://clarionhub.com/user_avatar/clarionhub.com/totalhip/32/1477_2.png) [@totalhip](https://clarionhub.com/u/totalhip)\
**Post date:** [March 3, 2020, 2:23pm UTC](https://clarionhub.com/t/anyscreen-message-not-supported-in-client-display/3152/5 "2020-03-03T14:23:37Z")

</div>

Certainly would not hurt. While the AnyScreen template adds the setting for a solution, a project file otherwise created does not. Easy to forget and head scratching because coded windows will still appear as expected.
