Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

How to position message box?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Altramagnus - 12 Aug 2005 07:22 GMT
How to position message box programatically using C# .NET?

Thanks.
Marcus Heege - 12 Aug 2005 09:18 GMT
I assume your question is "How to display a MessageBox in C#?"
If yes, the answer is System.Windows.Forms.MessageBox.Show

> How to position message box programatically using C# .NET?
>
> Thanks.
VChenga - 12 Aug 2005 09:47 GMT
Or.... Meybe your problem is... how to place a button on the form???
Marcus! Leave the man alone if you don't know the solution to the problem.

Sorry Altramagnus. I don't know the solution to your problem either. I think
that you have to somehow catch the handle of the MessageBox and than see what
you can do. Sorry again. I would search the web.

> I assume your question is "How to display a MessageBox in C#?"
> If yes, the answer is System.Windows.Forms.MessageBox.Show
>
> > How to position message box programatically using C# .NET?
> >
> > Thanks.
Patrice - 12 Aug 2005 11:20 GMT
IMO you can't without win32 api tricks.

The simplest solution would be likely to display your own message box form
(using the same signature expect for the position)...

Signature

Patrice

> How to position message box programatically using C# .NET?
>
> Thanks.
hB - 13 Aug 2005 14:16 GMT
limited functionality can be achieved by
"public static DialogResult Show(IWin32Window, string);"

else
we have win32 FindWindow() and MoveWindow()/SetWindowPos()

---
hB

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.