|
Just try to get the latest
i have the feb 2003 and i have the file on my drive
i noticed that you get angry easily
its not good
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
hummm ???
how can it be ?
do you have an idea on why it is not neither on my Oct2003, nor on my Feb2003 MSDN package ?
TOXCCT >>> GEII power
|
|
|
|
|
Did you downloaded it? or installed it from a CD?
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
CD...
TOXCCT >>> GEII power
|
|
|
|
|
|
hey, wait a minute, it's a link for updating the Feb2003 Platform SDK !!
i said i had the October2003 one... which is more recent.
well, i suppose you don't know why my includes are not there so...
TOXCCT >>> GEII power
|
|
|
|
|
Man from that link i got the files you need what is it? you dont want help??
i sent you a mail one of the headers you need
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
eheheh, are you getting angry ?!
thank you for you help (and thank you Mr MKHAEL Johnny)
TOXCCT >>> GEII power
|
|
|
|
|
I never get angry just wanted to help and you seemed not concerned
Anyway happy coding
and remember "When all else fails, read the instructions"
[^]
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
Help me out!!!
this is troubling me....
------------------------------------------------------------
// confuDlg.h : header file
//
#pragma once
#include "Second.h"
// CconfuDlg dialog
class CconfuDlg : public CDialog
{
// Construction
CSecond second; //instance of CSecond
public:
CconfuDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_CONFU_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedButton1();
};
------------------------------------------------------------
#pragma once
//#include "confuDlg.h"
// CSecond dialog
class CSecond : public CDHtmlDialog
{
DECLARE_DYNCREATE(CSecond)
public:
CSecond(CWnd* pParent = NULL); // standard constructor
virtual ~CSecond();
// Overrides
HRESULT OnButtonOK(IHTMLElement *pElement);
HRESULT OnButtonCancel(IHTMLElement *pElement);
// Dialog Data
enum { IDD = IDD_DIALOG2, IDH = IDR_HTML_SECOND };
protected:
CconfuDlg *papa; //pointer of the parent required
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
DECLARE_DHTML_EVENT_MAP()
};
------------------------------------------------------------
I require a pointer of the "CconfuDlg" in "CSecond"...but when i try to build the project, "CconfuDlg" is unknown in CSecond.
If i try to include "confuDlg.h" in "Second.h" ..i get a problem of redifinition
I require a pointer of CconfuDlg in CSecond..how to i work through
plzzz help me out
rakesh
|
|
|
|
|
In Second.h, add the following line before defining your CSecond class:
class CconfuDlg;
And then in confuDlg.h, include the file Second.h.
|
|
|
|
|
in your ConfuDlg.h, try to encapsulate all the code below the #pragma once with the following :
<font style="color:blue;">#if</font> !<font style="color:blue;">defined</font>(__CONFUDLG_H_INCLUDED__)
<font style="color:blue;">#define</font> __CONFUDLG_H_INCLUDED__
<font style="color:green;">
<font style="color:blue;">#endif</font> <font style="color:green;">// __CONFUDLG_H_INCLUDED__</font>
then, try again to include this file in your Second.h
also declare a Class CconfuDlg; before your CSecond class definition
TOXCCT >>> GEII power
|
|
|
|
|
That's what #pragma once does
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
i know, but....
TOXCCT >>> GEII power
|
|
|
|
|
hello,
thanx for u r reply....it worked out fine u r way.
it was nice to get the reply so soon ..imm after me posting the message.
i have another doubt ...is there a way of changing the order of the compilation of the files them self.
rakesh
|
|
|
|
|
Hum maybe a little explanation of my previous post .
When you use a class in another class (like you: CSecond in CconfuDlg so, NOT A POINTER), the compiler needs to know CconfuDlg, in order to 'construct' CSecond (because he needs to know the size of CconfuDlg, thus of CSecond to allocate memory for the object).
BUT if you use a POINTER to a class in another class (CconfuDlg* in CSecond), the compiler knows the size of the pointer (a pointer has always the same size), so he doesn't require to know the class CconfuDlg when constructing CSecond. But, you need to tell hil that this class exists and will be defined after (by adding the line class CconfuDlg; ).
In the second case, if the class is never declared after (and if you use some of its properties), the linker will throw errors telling that the methods you are callig are not defined.
Hope this is clear enough
|
|
|
|
|
hello,
thanx for u r reply....it worked out fine u r way.
it was nice to get the reply so soon ..imm after me posting the message.
i have another doubt ...is there a way of changing the order of the compilation of the files them self.
rakesh
|
|
|
|
|
rakeshgajula wrote:
is there a way of changing the order of the compilation of the files them self.
No I don't think so (I'm not sure...). But why do you want to do such a thing ? I mean, this is not important the order your files will be compiled, the linker will do the job of 'reorganizing' everything fine
|
|
|
|
|
In MFC CDialog is inherited publically from CWnd and in CWnd there is a Create function that takes 7 parameters ( the last one of which has a default value ).
Now surely you should be able to use this function within your derived CDialog class, but Visual C++ will not compile the code saying "error C2661: 'Create' : no overloaded function takes 7 parameters"
This is not important, I'm just curious.
|
|
|
|
|
If the CWnd::Create function is overridden in CDialog , you can in CDialog and derived classes use only the overridden versions. To force the non-overridden CWnd::Create call, use
CDerivedDialog dlg;<br />
dlg.CWnd::Create(...);
Robert-Antonio
"A flower walked around a meadow. She saw a beatiful human and plucked off his head."
|
|
|
|
|
It's urgent!!!
I am developing a dialog based application which controls powerpoint slideshow. My problem regarding the application is stated below:
Suppose a slide has five item within it. So my application will generate five buttons. Now if ActionButton3 is pressed then item3 will be executed and so on. I have tried to solve this by "Shapes" and "Shape" but I can't do so.
Faisal
|
|
|
|
|
Hi,
I want to intercept the Paste operation in the windows explorer so that i can do my own stuff, like pasting unsupported content.
How do i do that?
Thanx n Regards.
I'll write a suicide note on a hundred dollar bill - Dire Straits
|
|
|
|
|
How do you mean "catch" paste?
If you want to paste unsupported content between you app and explore you need to write youself a namespace extension. Seach CP for namespace to get you started. It's not a task for the faint hearted - and make sure before you even start you understand COM.
If you want to paste unsupported content between your app instance one and your app instance two - you can just register a custom clipboard format.
|
|
|
|
|
for your kind information i have implemented a namespace extention and its working fine... Yeah its not for faint hearted, but its quite easy for me now...
Thanx for your reply though.
I'll write a suicide note on a hundred dollar bill - Dire Straits
|
|
|
|
|
Thanks a lot!
|
|
|
|