Solved

toolbar in activex control

Posted on 1998-12-21
2
239 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Named range not carried over 10 57
sameEnds challenge 3 107
sumHeights2  challenge 7 76
Problem to open Excel file 15 43
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now