Solved

toolbar in activex control

Posted on 1998-12-21
2
278 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.

832 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