Solved

UserMode in ActiveX?

Posted on 1998-11-09
3
281 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
Comment Utility
Look at the source code for Test Container; it does all you want and more.

B ekiM
0
 

Author Comment

by:rabbott
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
This video discusses moving either the default database or any database to a new volume.

744 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

16 Experts available now in Live!

Get 1:1 Help Now