473,395 Members | 1,504 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,395 software developers and data experts.

[Help] Relocating the MSGBOX

Is it possible to programmatically position the
msgbox? I've got dual monitors, and, although
I can place my app in the center of one monitor,
any msgboxes show up split between the two
monitors. Is my only option to add userforms
to replace the msgboxes?

Thanks, in advance, for your help and suggestions.


Nov 20 '05 #1
3 1175
* "Patrick Pirtle" <pap at skilling dot com> scripsit:
Is it possible to programmatically position the
msgbox? I've got dual monitors, and, although
I can place my app in the center of one monitor,
any msgboxes show up split between the two
monitors. Is my only option to add userforms
to replace the msgboxes?


Maybe with a dialog hook, but that's a lot of effort for a little
effect.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
Thanks for your reply, Herfried. Sounds like my
easiest option is to simply create replacements for
the message boxes.

Herfried K. Wagner [MVP] wrote:
* "Patrick Pirtle" <pap at skilling dot com> scripsit:
Is it possible to programmatically position the
msgbox? I've got dual monitors, and, although
I can place my app in the center of one monitor,
any msgboxes show up split between the two
monitors. Is my only option to add userforms
to replace the msgboxes?


Maybe with a dialog hook, but that's a lot of effort for a little
effect.

Nov 20 '05 #3
* "Patrick Pirtle" <pap at skilling dot com> scripsit:
Thanks for your reply, Herfried. Sounds like my
easiest option is to simply create replacements for
the message boxes.


I think that's not as difficult as it looks.

Here is the reply I posted to your other tread (or is it a bug in my
newsreader?):

If you want to build a replacement, have a look at the 'SystemIcons'
class.

For playing the message sounds, have a look here:

<http://groups.google.com/groups?selm=um%23NZB70DHA.832%40TK2MSFTNGP09.phx.g bl>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

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

Similar topics

0
by: John Benson | last post by:
It's beginning to dawn on me that the whole OOP/functional/aspect-oriented/etc. scene is about software engineering, not just about egos and pet languages. My software engineering education kind...
4
by: PaulR | last post by:
Hi, We have a Server running SLES 8 and 3GB memory, with 1 DB2 instance and 2 active Databases. General info... DB2level = "DB2 v8.1.0.72", "s040914", "MI00086", and FixPak "7" uname -a =...
15
by: sara | last post by:
Hi I'm pretty new to Access here (using Access 2000), and appreciate the help and instruction. I gave myself 2.5 hours to research online and help and try to get this one, and I am not getting...
11
by: Wilsoch | last post by:
Long story short: My Access developer is letting me down. He doesn't really know VB and he can't figure out how to do what I need. Situation: Access database that will be used locally on...
11
by: Florian A. | last post by:
Hi everyone! I'm trying to write a global hook in C# and C++/CLI. I'm almost done if there wasn't this little delegate problem. I get the function pointer to a delegate and pass it to my...
1
by: Patrick Pirtle | last post by:
Is it possible to programmatically position the msgbox? I've got dual monitors, and, although I can place my app in the center of one monitor, any msgboxes show up split between the two...
13
by: Joner | last post by:
Hello, I'm having trouble with a little programme of mine where I connect to an access database. It seems to connect fine, and disconnect fine, but then after it won't reconnect, I get the error...
9
by: pic078 via AccessMonster.com | last post by:
I need serious help - I have a frontend/backend Access database (2 MDE Files) that remains stuck in task manager after exiting the application - you can't reopen database after exiting as a result...
0
by: berry | last post by:
I met a strange scene in my code. I succeed to call out the number i want from the database. But when I sum it up, the amount is incorrect. Even i had pop up messagebox before it do the calculation....
0
by: Ravigwipro | last post by:
Hi, I m able to get the printers object to know what are the printers had been installed and all. here my requirement is i have to write a data from VB to MS Word. for the page setup i have to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.