Double click on Visio title bar

K

kippi

Hello everyone,

I am controlling VISIO by the COM interface (VC++, MFC). When the
Visio title bar is double clicked, the Visio window is maximized and
my title bar caption is replaced by Visio standard text. I want to
stop the double click in this case. Has anybody an idea how to do
that?

Thanks,
Kippi
 
P

Paul Herber

Hello everyone,

I am controlling VISIO by the COM interface (VC++, MFC). When the
Visio title bar is double clicked, the Visio window is maximized and
my title bar caption is replaced by Visio standard text. I want to
stop the double click in this case. Has anybody an idea how to do
that?

Hi Kippi, it's probably not a good idea to stop the event, but it
might be easier to handle the event and rewrite the caption.

It can be done as I do this in my utilities to keep the current active
document's full file name in the window and application title bar, but
I work in Delphi where such tasks are quite easy. I've been writing
software professionally for over 30 years but I've never been crazy
enough to start fighting C++ and MFC.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top