Solved

ATL Controls

Posted on 2002-07-15
3
202 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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…

861 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