Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

toolbar in activex control

Posted on 1998-12-21
2
Medium Priority
?
303 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 450 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

618 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