Solved

UserMode in ActiveX?

Posted on 1998-11-09
3
291 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
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
mikeblas earned 100 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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: 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 …
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…
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used.

765 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