Home All Groups Group Topic Archive Search About

Intercept the Min/Max button Press

Author
20 Oct 2005 10:02 PM
Dave
Does anyone know how to intercept the min/max button press and prevent it
from doing the resize and than perform your own custom maximize ?

Dave

Author
20 Oct 2005 10:05 PM
Karl E. Peterson
Dave wrote:
> Does anyone know how to intercept the min/max button press and
> prevent it from doing the resize and than perform your own custom
> maximize ?

Dude.  Don't multipost.  You already have _two_ answers elsewhere.
--
Working Without a .NET?
http://classicvb.org/petition
Author
20 Oct 2005 10:14 PM
Dave
Sorry,

I couldn't decide which group to post the question in.  Is there a way to
post it to both but have them linked together ?

Dave

Show quoteHide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:%231e8VJc1FHA.2932@TK2MSFTNGP10.phx.gbl...
> Dave wrote:
> > Does anyone know how to intercept the min/max button press and
> > prevent it from doing the resize and than perform your own custom
> > maximize ?
>
> Dude.  Don't multipost.  You already have _two_ answers elsewhere.
> --
> Working Without a .NET?
> http://classicvb.org/petition
>
>
Author
20 Oct 2005 10:26 PM
Karl E. Peterson
Dave wrote:
> Sorry,
>
> I couldn't decide which group to post the question in.

I do understand that dilemma, as I've faced it myself in the past.

> Is there a
> way to post it to both but have them linked together ?

Yes, it's called cross-posting.  Depends on your newsclient, how it's done.  In OE,
you just click that "Newsgroups" header, up top, and add which ever groups are
*relevent*.
--
Working Without a .NET?
http://classicvb.org/petition
Author
20 Oct 2005 10:31 PM
Ken Halter
"Dave" <KingOfTheBeach@community.nospam> wrote in message
news:uV0IpOc1FHA.3256@TK2MSFTNGP09.phx.gbl...
> Sorry,
>
> I couldn't decide which group to post the question in.  Is there a way to
> post it to both but have them linked together ?
>
> Dave

Yes... and it works GREAT <g> It's called Crossposting. Since you're using
Outlook Express, you've probably subscribed to a few groups on this server.
When starting the post, pick the one you think's best. Before hitting Send
though, click the "Newsgroups:" button (it doesn't look like a button but it
is... a little icon with the word "Newsgroups:" next to it)... clicking that
button brings up a list of groups you've subscribed to. Select a few more
(don't go nuts) and hit the Add button... When you click Ok, you'll end up
with several groups in the Newsgroups box, all separated by commas (just
like sending email to more than one person).

The good news for you is, your question will end up in all groups shown on
the line, so it won't matter which of the groups you browse to look for an
answer. The good news for people answering questions is.... all answers, no
matter which group in the list they originated from, will be "tied"
together. That means people from several groups will be responding to the
same thread. You get better answers and the people answering can bypass a
question that already has good answers.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Author
20 Oct 2005 10:31 PM
Ken Halter
"Dave" <KingOfTheBeach@community.nospam> wrote in message
news:uV0IpOc1FHA.3256@TK2MSFTNGP09.phx.gbl...
> Sorry,
>
> I couldn't decide which group to post the question in.  Is there a way to
> post it to both but have them linked together ?
>
> Dave

Yes... and it works GREAT <g> It's called Crossposting. Since you're using
Outlook Express, you've probably subscribed to a few groups on this server.
When starting the post, pick the one you think's best. Before hitting Send
though, click the "Newsgroups:" button (it doesn't look like a button but it
is... a little icon with the word "Newsgroups:" next to it)... clicking that
button brings up a list of groups you've subscribed to. Select a few more
(don't go nuts) and hit the Add button... When you click Ok, you'll end up
with several groups in the Newsgroups box, all separated by commas (just
like sending email to more than one person).

The good news for you is, your question will end up in all groups shown on
the line, so it won't matter which of the groups you browse to look for an
answer. The good news for people answering questions is.... all answers, no
matter which group in the list they originated from, will be "tied"
together. That means people from several groups will be responding to the
same thread. You get better answers and the people answering can bypass a
question that already has good answers.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Author
20 Oct 2005 10:09 PM
Ken Halter
"Dave" <KingOfTheBeach@community.nospam> wrote in message
news:OKrKuHc1FHA.2064@TK2MSFTNGP09.phx.gbl...
> Does anyone know how to intercept the min/max button press and prevent it
> from doing the resize and than perform your own custom maximize ?
>
> Dave

You'd need code in the Resize event. Check the forms WindowState property.
vbMinimized or vbMaximized is what you'd look for. Then, set WindowState =
vbNormal and size it the way you want.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..