From: Nigel V Thomas on
How can I force a MsgBox (Call MsgBox("Text",Buttons,"Title") to appear over
the center of my form rather than to one side

Anyone

Nigel
From: Ralph on

"Nigel V Thomas" <NigelVThomas(a)discussions.microsoft.com> wrote in message
news:E3CD4F61-318D-4546-8583-AFFCE9238E68(a)microsoft.com...
> How can I force a MsgBox (Call MsgBox("Text",Buttons,"Title") to appear
over
> the center of my form rather than to one side
>

"How To Position a MsgBox Using a Windows Hook Procedure"
http://support.microsoft.com/kb/180936

http://www.codeguru.com/forum/showthread.php?t=20567

http://vb.mvps.org/samples/ (scroll down to 'MovedMsg')

[Personally, whenever I need any kind of 'special handling' for a "Message
Box", I just create my own. Come to think of it, don't believe I've ever
used the MsgBox() in a release version of any application.]

-ralph


From: Nobody on
"Nigel V Thomas" <NigelVThomas(a)discussions.microsoft.com> wrote in message
news:E3CD4F61-318D-4546-8583-AFFCE9238E68(a)microsoft.com...
> How can I force a MsgBox (Call MsgBox("Text",Buttons,"Title") to appear
> over
> the center of my form rather than to one side

This is a VB6 and earlier group(VB Classic). VB.Net and all dotnet groups
have either "dotnet" or "vsnet" in the group name. Please use the following
group instead:

news://msnews.microsoft.com/microsoft.public.dotnet.languages.vb



From: Scott M. on
What makes you think this post is about .NET? The fact that the code uses
the keyword "Call" seems to be a tip-off that it's a VB 6 question, since
"Call" is not used in VB .NET.

-Scott

"Nobody" <nobody(a)nobody.com> wrote in message
news:esZVY%23VRKHA.2092(a)TK2MSFTNGP04.phx.gbl...
> "Nigel V Thomas" <NigelVThomas(a)discussions.microsoft.com> wrote in message
> news:E3CD4F61-318D-4546-8583-AFFCE9238E68(a)microsoft.com...
>> How can I force a MsgBox (Call MsgBox("Text",Buttons,"Title") to appear
>> over
>> the center of my form rather than to one side
>
> This is a VB6 and earlier group(VB Classic). VB.Net and all dotnet groups
> have either "dotnet" or "vsnet" in the group name. Please use the
> following
> group instead:
>
> news://msnews.microsoft.com/microsoft.public.dotnet.languages.vb
>
>
>


From: Nobody on
"Scott M." <s-mar(a)nospam.nospam> wrote in message
news:euQGtNWRKHA.3540(a)TK2MSFTNGP04.phx.gbl...
> What makes you think this post is about .NET? The fact that the code uses
> the keyword "Call" seems to be a tip-off that it's a VB 6 question, since
> "Call" is not used in VB .NET.

I read it as part of the message since he didn't post it separately. Also,
he posted here before but about dotnet, and I saw some of his posts in the
dotnet group. He must have posted here by mistake...


 |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11
Prev: crack for VSFlex8 in VB6.0
Next: Component Handles