Solved

ATL Controls

Posted on 2002-07-15
3
194 Views
Last Modified: 2013-11-25
How to open an dialog when button is fired using ATL?
Waiting for your reply.
0
Comment
Question by:praveenkeerthi
3 Comments
 
LVL 12

Accepted Solution

by:
migel earned 100 total points
ID: 7155180
Hi!
it is simple:-)

Add button message handler to the your ATL window class

and inside it you can write something like this:
{

 CMyDialog dlg;
 dlg.DoModal();
}

where CMyDialog is the class created by WISARD when you choose Add ATL object in the ClassView context menu.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Slow process to read Excel 15 110
Problem to packaging 1 81
Recommendation vb6 to vb.net or others 14 109
Problem to open text file 11 70
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

911 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

25 Experts available now in Live!

Get 1:1 Help Now