?
Solved

UserMode in ActiveX?

Posted on 1998-11-09
3
Medium Priority
?
297 Views
Last Modified: 2013-11-20
I have this CWnd derived class I made to basically be a wrapper for all of my ActiveX components I create. I basically pass in a CLSID and It handles displaying them and setting up their properties.. But I'm having trouble with this ambient properties thing..In certain situations I want to load up controls in edit mode like the ActiveX Test Container does where they have hatch marks and you can click on the edges to move them around, and I haven't found away to determine how to get it into edit mode when you call the function CWnd::CreateControl...If anyone has any suggestions or sample code it would be much appreciated...Thanks

Richard
0
Comment
Question by:rabbott
[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
3 Comments
 
LVL 11

Accepted Solution

by:
mikeblas earned 300 total points
ID: 1324416
Look at the source code for Test Container; it does all you want and more.

B ekiM
0
 

Author Comment

by:rabbott
ID: 1324417
Ok....I'll try to Find the Test Container Code...Do you have any idea where the source code for that is..
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 1324418
It's on the product CD. Search for "TSTCON" in the online help, or look at the CD. YourdCD:\SAMPLES\VC98\MFC\OLE\TSTCON, on the MSDN CD that came with your VC++ 6.0 disc(s).

B ekiM


0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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 we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

771 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