Solved

toolbar in activex control

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

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
substring method in java 1 141
Sed question 2 139
Detect file exist or not 3 215
I could not set window to top 4 62
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

737 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