?
Solved

Custom control in a Dll dialog.

Posted on 2004-03-24
5
Medium Priority
?
285 Views
Last Modified: 2013-11-20
I have a custom control (MFCGridCtrl) working well in a dialog of Appwizard exe.

If i add the same in a dialog of Extention dll, and calling the dialog from the exe, the dialog is not launching.

Even if you add simply a custom control to a dll dialog, without adding any code, the dialog is not launching from the exe.

How to get the custom control work for a dialog.?

the style and all are correct.

Regards..
Viswanath AT.
0
Comment
Question by:viswanathat
[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
5 Comments
 
LVL 16

Expert Comment

by:nonubik
ID: 10714383
Try to use call AFX_MANAGE_STATE(AfxGetStaticModuleState()); from your dialog dll MFC related methods. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_afx_manage_state.asp for more info.
0
 
LVL 16

Expert Comment

by:nonubik
ID: 11850242
acccept
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12037916
PAQed - no points refunded (of 25)

Computer101
E-E Admin
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

743 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