|
Hi,yesyterday i posted this but now i narrowed my problem in to one.
CConfigurator oConfig("Configurator",this,0);
CGraphviewConfig oGrphconfig;
CGrpTrnConf oGrpConf;
oConfig.AddPage(&oGrphconfig);//error
oConfig.AddPage(&oGrpConf);
oConfig.DoModal();
This is my AddPage function.
The two CGraphviewConfig and CGrpTrnConf are dialog based and i changed CDilog in to CPropertyPage.
In this i checked for adding single page with CGrpTrnConf and its performing good.It asserts error only for another Class CGraphviewCOnfig.
I compared these two classes both having same kind of declaration and construction.Then why it occurs..I everything changed CDialog into CPropertyPage ..But why?
This is my construction of CGraphviewConfig
IMPLEMENT_DYNCREATE(CGraphviewConfig, CPropertyPage)
CGraphviewConfig::CGraphviewConfig()
: CPropertyPage(CGraphviewConfig::IDD)
{
//{{AFX_DATA_INIT(CGraphviewConfig)
m_sPageNo = _T("");
m_sGrPgTitle = _T("");
m_sPanelTitle1 = _T("");
m_sPanelTitle2 = _T("");
//}}AFX_DATA_INIT
}
CGraphviewConfig::~CGraphviewConfig()
{
}
Pls help me?
|
|
|
|
|
On which line does the assertion occures?
nave
|
|
|
|
|
|
when the assertion dialog apperaces, click the retry button. Then u will get the line from which the assertion occured.
post that line and context
nave
|
|
|
|
|
when press retry it goes to disassembly and it shows the line
5F427DF0 int 3
|
|
|
|
|
Sometimes it shows the UnHandledException in disassembly
5F4852E8 mov ecx,dword ptr [eax+20h]
|
|
|
|
|
Hi
1. Which are the default CODEC installed with Windows2000, XP, etc
2. How to install CODEC from our appliction (c++) by reading the input movie file
3. Which site/FTP gives us permission to download & install CODEC
Pls share Code if any...
Anil
|
|
|
|
|
Hi,
Often it happens that if I have created a class, a dialog box class or property page etc, and if the computer hangs up or shuts down for some reason or the other, the class name goes missing in the ClassWizard's list of classes.
So, if I want to add any new function or handle some message, I have to type it in for that particular class.
Is there anyway to correct this. Any way to add the class to the ClassWizard info.
I tried to look into the .clw file and make changes there, but maybe I am doing it wrong, because it dose'nt work.
Thanks,
Tara
Fortitudine Vincimus!
|
|
|
|
|
better u delete the corrupted clw file. The classwizard can generate a new clw file if u took class wizard again.
nave
|
|
|
|
|
Thank you. I did not know that one can delete the clw file.
Fortitudine Vincimus!
|
|
|
|
|
TheinstruTara wrote: Thank you. I did not know that one can delete the clw file.
you can also delete NCB,OPT and SUO file too.. without much problem
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
I know about NCB, I guess it is to do with resource information, but what do OPT and SUO files contain?
Fortitudine Vincimus!
|
|
|
|
|
http://www.codeproject.com/useritems/HTMLHelp.asp[^]
Dear all,
I fellow the step in this Guide to include the HTML help into my project....
However, it get a error....
HtmlHelp(this->m_hWnd, "good.chm", HH_DISPLAY_TOPIC, NULL);
error C2660: 'CWnd::HtmlHelpA' : function does not take 4 arguments
How to solve it????
Thanks a lot.
|
|
|
|
|
You should have asked this in the article instead, but I will try to help anyways.
BTW did you add htmlhelp.h to your source file and linked your program with htmlhelp.lib (both are included in the source download)?
John
|
|
|
|
|
Sorry for asking this stupid question here, because I must do this urgently!!
I just use the source to build and debug!!!??
But it get this problem.
|
|
|
|
|
Use ::HtmlHelp(this->m_hWnd, "good.chm", HH_DISPLAY_TOPIC, NULL);
The CWnd::HtmlHelp() function only takes two parameters.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
I saw that but the article that the link points to has a HtmlHelp function that takes 4 arguments.
John
|
|
|
|
|
John M. Drescher wrote: I saw that but the article that the link points to has a HtmlHelp function that takes 4 arguments.
Err yes. The global HtmlHelp() function takes 4 parameters... Or maybe I'm misunderstanding you...
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
Sorry, You are correct...
John
|
|
|
|
|
You use from CWnd and Cwnd doesnt need to parameter or if you want to use parameter in Cwnd see in MSDN:
CWnd::HtmlHelp
virtual void HtmlHelp(
DWORD_PTR dwData,
UINT nCmd = 0x000F
);
whitesky
|
|
|
|
|
it's not all key in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" has display icon property.so I can't get icon's infomation.could anyone help me!
thanks sincerely!!
pls forgive me poor english syntax.
|
|
|
|
|
i'm having a problem linking my library to the library using Visual C++ 6.0/MFC an someone help me?
i went to Project-> Settings, selected "Link" pane, entered the path of where the Library is under "Object/library modules:" (Settings For : All Configurations)... but i still cannot link them together why is tat so? pls help me
|
|
|
|
|
we3Guy wrote: i'm having a problem linking my library to the library using Visual C++ 6.0/MFC an someone help me?
you can directly link your libaray using pragma directive:-
i.e. #pragma comment(lib,"YOUR LIBARARY") in stdafx.h file!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hi fellows. I have a CWnd-derived class that has two CStatic members, that are created dynamically.
My question is simple: How do I do in order to receive messages of such members?
Any suggestion will be appreciated.
Regards,
FG.
A polar bear is a bear whose coordinates has been changed in terms of sine and cosine.
|
|
|
|
|
If you're trying to handle notifications from them, you do it the same way you do other controls. Place an entry in the message map. The wizard won't do it for you, but you can do it manually.
Software Zen: delete this;
|
|
|
|