Messagebox.Show Position.
Messagebox.Show Position.
Messagebox.Show Position.
Messagebox.Show Position.
Messagebox.Show Position.
Messagebox.Show Position. Messagebox.Show Position. Messagebox.Show Position. Messagebox.Show Position. Messagebox.Show Position. Messagebox.Show Position. Messagebox.Show Position. Messagebox.Show Position.
Messagebox.Show Position. Messagebox.Show Position.
Messagebox.Show Position.
Go Back  Xtreme Visual Basic Talk > > > Messagebox.Show Position.


Reply
 
Thread Tools Display Modes
  #1  
Old 05-06-2015, 07:00 PM
Nefeco Nefeco is offline
Newcomer
 
Join Date: Sep 2010
Posts: 14
Default Messagebox.Show Position.


Hello. Messagebox.Show() defaults to a message box bang in the middle of the screen - sometimes covering a thing that I don't want to have covered just then.

Is there an easy way to move/determine where the message box appears?

Grateful for any suggestions - I really don't want to have to write my own just to move it down an inch!

Thanks

--N
Reply With Quote
  #2  
Old 05-06-2015, 08:02 PM
hDC_0Messagebox.Show Position. hDC_0 is offline
Contributor

* Expert *
 
Join Date: Feb 2004
Posts: 559
Default Custom positioned dialogs and messageboxes

Quote:
Grateful for any suggestions - I really don't want to have to write my own just to move it down an inch!
Do you know the forum has a Code Library?
(so you don't have to "write your own...")

And so you don't even have to do a search...here is the relevant thread (from 2004).

Attached below is a demo of a custom positioned message box that can be have a scrolling textbox with lots of lines inside.
(you're lucky I was feeling bored today..)
Attached Files
File Type: zip Multiline_CustomPositioned_MessageBox.zip (45.1 KB, 6 views)

Last edited by hDC_0; 05-06-2015 at 08:37 PM.
Reply With Quote
  #3  
Old 05-20-2015, 01:18 PM
Nefeco Nefeco is offline
Newcomer
 
Join Date: Sep 2010
Posts: 14
Default

Thanks very much (and I hope you're bored next time I have a question!)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Messagebox.Show Position.
Messagebox.Show Position.
Messagebox.Show Position. Messagebox.Show Position.
Messagebox.Show Position.
Messagebox.Show Position.
Messagebox.Show Position. Messagebox.Show Position. Messagebox.Show Position. Messagebox.Show Position. Messagebox.Show Position. Messagebox.Show Position. Messagebox.Show Position.
Messagebox.Show Position.
Messagebox.Show Position.
 
Messagebox.Show Position.
Messagebox.Show Position.
 
-->