Solved

toolbar in activex control

Posted on 1998-12-21
2
296 Views
Last Modified: 2013-11-20
I have create  a framewnd and a toolbar of it in an
activex control. The problem is when the toolbar is floating
I press it's docksite's close button, the window is not closed. When i move it, its's hide, and the floating frame is becoming small. While, in a stand program, this will not
accur. I feel tired, who can help me?
0
Comment
Question by:hilcy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
JoeDol earned 150 total points
ID: 1326564
Your problem is that the ActiveX control doesn't have a message pump of its own, it relies on your hosting app message pump.
The messages sent to any child window created by your ActiveX control are not received by your ActiveX control.
To resolve that you have to install a hook from your ActiveX control in the application message pump.
This is described in a a technical note in the microsoft knowledge base: article ID Q194294.
0
 

Author Comment

by:hilcy
ID: 1326565
Oh, I wouldn't do it that way, and i didn't find the article your referred, perhaps the msdn
on my computer is not contain it.

Thanks for your help
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question