|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Possible to control MessageBox location?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 between the two physical monitors. "jmelkerson" <jmelker***@discussions.microsoft.com> schrieb: Not really, except with a Win32 dialog hook.> In VB.Net 2005, is it possible to make MessageBoxes pop up somewhere other > than centered on the Desktop? -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Would that be a violation of "managed code"?
Show quoteHide quote "Herfried K. Wagner [MVP]" wrote: > "jmelkerson" <jmelker***@discussions.microsoft.com> schrieb: > > In VB.Net 2005, is it possible to make MessageBoxes pop up somewhere other > > than centered on the Desktop? > > Not really, except with a Win32 dialog hook. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> > > "jmelkerson" <jmelker***@discussions.microsoft.com> schrieb: Yes.> Would that be a violation of "managed code"? -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> jmelkerson wrote:
> In VB.Net 2005, is it possible to make MessageBoxes pop up somewhere other What code are you using to display message boxes? If, as your message> than centered on the Desktop? I develop on/for dual monitor systems and > would like my MessageBoxes to not be split between the two physical monitors. suggests, you are using MessageBox.Show, then have you tried using one of the overloads that takes a window handle of an owning window - does that help? I suspect Msgbox won't have this facility. -- Larry Lard Replies to group please Yes, I am using MessageBox.Show. Also, yes, I have tried a method that
accepts the owner arguement. Not really knowing what I was doing, I specified "Me" as the owner. The MessageBox location did not change as a result.
vb.net, so slow !!!???
How about: How do I attach a file to an email w/MailTo: ? Collections strong reference between objects in different assemblies General Question About Web Apps, VB/ASP? Accessing existing Excel Workbook from complete path Creating Worksheets from Existing Excel Instances in VB.NET? Appending two data tables Application Error: CiceroUIWndFrame How to control Bluetooth? |
|||||||||||||||||||||||