Solved

Custom control in a Dll dialog.

Posted on 2004-03-24
5
261 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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.

773 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