RE: What controls MessageBox positon?

Author: Dave Crozier

Posted: 2011-10-21 at 09:53:42

Matt,

You can't control it natively under VFP unfortunately .... unless you use the coding I posted onto Ed's Profox board.

This gets a handle on the window and moves it to wherever you want.

Just looked and it doesn't seem to be there ... or did I not post it ... Mmmmmm!

Anyway, emailed it direct to you so check email

Dave

-----Original Message-----

From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf Of Matt Slay

Sent: 21 October 2011 14:35

To: profoxtech@leafe.com

Subject: What controls MessageBox positon?

I have a dual monitor setup, and I have my VFP IDE window streeeeeetched

across both monitors. I have a few tools that I use from my IDE, and one of

them throws up a native FoxPro MessageBox(), but it appears in the center of

my *right* monitor, rather than centered across the entire window span, as

do all other MessageBox() 'es I've seen.

I cannot replicate this behavior from the Command Window, as each time I try

it, it appears centered across the overall window, as expected.

So I'm curious how the calling code (from the tool I'm using, which I have

not studied yet), could be causing the MessageBox() to appear farther off

the right like it is? I am not aware of any settings or flags that allow one

to specify where the dialog appears.

What's happening here?

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/BD031ECABF2B60499200AAB3DBB4A999736718CF@EX-A-FPL.FPL.LOCAL

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Dave Crozier