Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Custom control in a Dll dialog.

Posted on 2004-03-24
5
Medium Priority
?
292 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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 Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

604 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