Click here to Skip to main content
15,888,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCMFCPropertyGridCtrl from Dll and exe assert Pin
f.fuga6-Oct-09 10:57
f.fuga6-Oct-09 10:57 
AnswerRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
«_Superman_»6-Oct-09 12:14
professional«_Superman_»6-Oct-09 12:14 
GeneralRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
f.fuga6-Oct-09 20:23
f.fuga6-Oct-09 20:23 
GeneralRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
«_Superman_»7-Oct-09 7:07
professional«_Superman_»7-Oct-09 7:07 
GeneralRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
f.fuga7-Oct-09 9:46
f.fuga7-Oct-09 9:46 
GeneralRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
«_Superman_»7-Oct-09 10:43
professional«_Superman_»7-Oct-09 10:43 
GeneralRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
f.fuga7-Oct-09 23:41
f.fuga7-Oct-09 23:41 
AnswerRe: CMFCPropertyGridCtrl from Dll and exe assert Pin
Oza Priyanka4-Apr-18 6:35
Oza Priyanka4-Apr-18 6:35 
Hey,
I encountered the exactly same problem while working with CMFCPropertyGridCtrl in my DLL project.
After many trial, i found a way to use CMFCPropertyGridCtrl in DLL without this error.
All you have to do is Create a derived class of CMFCPropertyGridToolTipCtrl(),Make its protected static variable "m_strClassName" NULL in Constructor.
for example;
//////////////////////////////////////////////////////////////////////////////////
Class CMyToolTipCtrl::CMFCPropertyGridToolTipCtrl();

CMyToolTipCtrl::CMyToolTipCtrl()
{
m_strClassName = "";
}
///////////////////////////////////////////////////////////////////////////////////
Now create ToolTipctrl from your CMFCPropertyGridToolTipCtrl() derived class on Init of the CMFCPropertyGridCtrl derived Class.
for example,
///////////////////////////////////////////////////////////////////////////////////
Class MyPropertyGridCtrl::CMFCPropertyGridCtrl();

void MyPropertyGridCtrl::Init()
{
CMyToolTipCtrl p_tooltip;
p_tooltip.Create(this);
}
//////////////////////////////////////////////////////////////////////////////////////
There is always a way.
Priyanka Oza.


QuestionCStdioFile::ReadString() Method. Pin
Chris Meech6-Oct-09 9:43
Chris Meech6-Oct-09 9:43 
AnswerRe: CStdioFile::ReadString() Method. Pin
PJ Arends6-Oct-09 10:36
professionalPJ Arends6-Oct-09 10:36 
GeneralRe: CStdioFile::ReadString() Method. Pin
Chris Meech7-Oct-09 2:09
Chris Meech7-Oct-09 2:09 
QuestionCreateCompatibleBitmap() retuns 0 , and GetLastError returns 8 , what does error code 8 means? Pin
rambojanggoon6-Oct-09 8:58
rambojanggoon6-Oct-09 8:58 
AnswerRe: CreateCompatibleBitmap() retuns 0 , and GetLastError returns 8 , what does error code 8 means? Pin
CPallini6-Oct-09 9:49
mveCPallini6-Oct-09 9:49 
AnswerRe: CreateCompatibleBitmap() retuns 0 , and GetLastError returns 8 , what does error code 8 means? Pin
«_Superman_»6-Oct-09 12:21
professional«_Superman_»6-Oct-09 12:21 
Questionto change cricheditctrl's window border Pin
prithaa6-Oct-09 8:34
prithaa6-Oct-09 8:34 
AnswerRe: to change cricheditctrl's window border Pin
«_Superman_»6-Oct-09 10:53
professional«_Superman_»6-Oct-09 10:53 
GeneralRe: to change cricheditctrl's window border Pin
PJ Arends6-Oct-09 11:58
professionalPJ Arends6-Oct-09 11:58 
GeneralRe: to change cricheditctrl's window border Pin
prithaa7-Oct-09 0:25
prithaa7-Oct-09 0:25 
QuestionProperty sheet-based app has icon problems Pin
rfparker6-Oct-09 8:03
rfparker6-Oct-09 8:03 
AnswerRe: Property sheet-based app has icon problems Pin
PJ Arends6-Oct-09 10:42
professionalPJ Arends6-Oct-09 10:42 
GeneralRe: Property sheet-based app has icon problems Pin
rfparker6-Oct-09 11:03
rfparker6-Oct-09 11:03 
GeneralRe: Property sheet-based app has icon problems Pin
PJ Arends6-Oct-09 11:23
professionalPJ Arends6-Oct-09 11:23 
GeneralRe: Property sheet-based app has icon problems Pin
rfparker7-Oct-09 11:11
rfparker7-Oct-09 11:11 
AnswerRe: Property sheet-based app has icon problems Pin
Mahesh Kulkarni25-Jun-10 11:08
Mahesh Kulkarni25-Jun-10 11:08 
QuestionTable Pin
dwillms6-Oct-09 7:19
dwillms6-Oct-09 7:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.