Index
2011-10-21 09:34 – Matt Slay : What controls MessageBox positon?
2011-10-21 09:53 – Dave Crozier : RE: What controls MessageBox positon?
2011-10-21 10:00 – Matt Slay : RE: What controls MessageBox positon?
Back to top
What controls MessageBox positon?

Author: Matt Slay

Posted: 2011-10-21 09:34:53   Link

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

---

_______________________________________________

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/00c801cc8ff6$385541a0$a8ffc4e0$@com

** 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 Matt Slay
Back to top
RE: What controls MessageBox positon?

Author: Dave Crozier

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

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
Back to top
RE: What controls MessageBox positon?

Author: Matt Slay

Posted: 2011-10-21 10:00:53   Link

So, since I am seeing the dialog appear out of its normal position, VFP has

gotten confused by something, like the way I've stretched out my IDE window

to 3200 pixels wide?

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

From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] On

Behalf Of Dave Crozier

Sent: Friday, October 21, 2011 8:54 AM

To: profoxtech@leafe.com

Subject: RE: What controls MessageBox positon?

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/00e801cc8ff9$d9d538c0$8d7faa40$@com

** 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 Matt Slay