473,320 Members | 1,920 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Location for messageBox

Is there any way to specify where I want my MessageBox to show?
It seems to always show up in the middle of the screen.
Even when I use the MessageBox.Show Method (IWin32Window, String, String,
MessageBoxButtons, MessageBoxIcon) method and I pass in for the IWin32Window
parameter my button on the form where I want it displayed. It probably makes
sure it is not behind it as the documentation states:
owner
The IWin32Window the message box will display in front of.

But it will not put it at that location.

Any hints beyond creating my own dialog?
Nov 16 '05 #1
3 7390
"zfeld" <zf******@hotmail.com> wrote:
Is there any way to specify where I want my
MessageBox to show?


Unfortunately not. The MessageBox is only a simple thing.

P.
Nov 16 '05 #2
"zfeld" <zf******@hotmail.com> wrote:
Is there any way to specify where I want my
MessageBox to show?


Unfortunately not. The MessageBox is only a simple thing.

P.
Nov 16 '05 #3

"zfeld" <zf******@hotmail.com> wrote in message
news:O9**************@TK2MSFTNGP09.phx.gbl...
Is there any way to specify where I want my MessageBox to show?


Why not make one yourself? You can put it wherever you like then.
Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Rich Tasker | last post by:
I have a strange situation. A simple call to MessageBox.Show("XXX", "YYY") does not display the message in the messagebox with a visible font. Based on the content of the messagebox, the box...
0
by: zfeld | last post by:
Is there any way to specify where I want my MessageBox to show? It seems to always show up in the middle of the screen. Even when I use the MessageBox.Show Method (IWin32Window, String, String,...
0
by: alex_f_il | last post by:
The class centers MessageBox inside the parent rectangle. Enjoy! using System; using System.Windows.Forms; using System.Text; using System.Drawing; using System.Runtime.InteropServices; ...
2
by: Mika M | last post by:
Hello! My windows form has Splitter control on it, and I save splitter's last X-location when user changes it like ... Private Sub Splitter1_SplitterMoved(ByVal sender As Object, ByVal e As...
4
by: Doug Robertson | last post by:
I hope this is one of those simple questions that for some reason or another, I'm just missing the obvious. Using VB.NET 2003 I want my messagebox to display centered on the parrent form...
5
by: jmelkerson | last post by:
In VB.Net 2005, is it possible to make MessageBoxes pop up somewhere other than centered on the Desktop? I develop on/for dual monitor systems and would like my MessageBoxes to not be split...
2
by: Marc | last post by:
HI, my program needs to save and write to a file on the users machine. I dont want to specift a particular location in case it doesnt exist. whats the best way to search for a user default save...
1
by: =?Utf-8?B?SmVycnk=?= | last post by:
I've created an assembly that, because of 3rd party controls, requires full trust to run. This is no problem when running from the local harddrive, but when the application is run from a network...
10
by: =?Utf-8?B?VGhyb3dtZSBBIEZyaWdnaW5ib25l?= | last post by:
I apologize if this is in the wrong discussion group. I have a C++ form (VS2003) that includes a couple text boxes and a slider bar. Moving the slider bar changes a picture that is displayed and...
4
by: kelvin.koogan | last post by:
I am having difficulty persuading MessageBoxes to appear over my application (using C++/CLI in VS2005). I would expect MessageBox::Show(this, "Some message"); to cause the message box to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.