Click here to Skip to main content
15,891,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Buttons are disabled on dialog templates,. Pin
Maverick25-Jul-05 4:33
Maverick25-Jul-05 4:33 
GeneralRe: Buttons are disabled on dialog templates,. Pin
krmed25-Jul-05 4:58
krmed25-Jul-05 4:58 
Generaltrouble in grouping tree control attributes Pin
firebolt7724-Jul-05 18:24
firebolt7724-Jul-05 18:24 
GeneralGetting the path Pin
Veera Raghavendra24-Jul-05 17:57
Veera Raghavendra24-Jul-05 17:57 
GeneralRe: Getting the path Pin
Christian Graus24-Jul-05 18:31
protectorChristian Graus24-Jul-05 18:31 
QuestionWhat is the difference between CArray and CTypedPtrArray? Pin
KeyL24-Jul-05 17:47
KeyL24-Jul-05 17:47 
AnswerRe: What is the difference between CArray and CTypedPtrArray? Pin
Christian Graus24-Jul-05 18:30
protectorChristian Graus24-Jul-05 18:30 
QuestionHow to add MFC support to an ATL project in Visual C++ Pin
24-Jul-05 17:29
suss24-Jul-05 17:29 
description:
I made a dll(ATL-base) that recognize the text "Hello" when I click the mouse right button on the Internet Explorer.
I already add a my menu to context menu. If I select it something happen.

my goal:
Now I want to modify my .dll to recognize the mouse left button.
I need the mothod OnClick event.
So I'm reading the Internet Explorer 5(MS).
In "Sinking Events for DHTML Objects in visual C++" on this book,
I want to modify the OnDblClick event to OnClick.

the problem:
class CMfcObjMdlDlg;

class CHTMLDocEvents : public CCmdTarget
{
DECLARE_DYNCREATE(CHTMLDocEvents)
.
.
.
I need to use CCmdTarget....
It is MFC way. I have to change my dll(ATL-base) to MFC I think.
So I found a reference about that(http://support.microsoft.com/default.aspx?scid=kb;en-us;173974#XSLTH3125121122120121120120[^].

I already applied this method in my .dll.
But failed.. haha(-_-)a
I don't understand some description what it saying..
:::section5:::...entry point is set to wWinMainCRTStartup in the Output category of the Link field in the...
What is wWinMainCRTStartup?
How do I have to modify and to apply?
:::section4::: what is meaning of _tWinMain function with the following...
I coudln't understand _tWinMain function.
:::section6:::function of a COM interface, window procedure, and exported function
I have to apply the AFX_MANAGE_STATE(AfxGetAppModuleState());.
I found exported function by dumpbin.exe.
What is another thing such as COM interface, window procedure?
please reply to my question~
AnswerRe: How to add MFC support to an ATL project in Visual C++ Pin
Member 212103824-Jul-05 18:21
Member 212103824-Jul-05 18:21 
QuestionWhy CArray is not type-safe? Pin
KeyL24-Jul-05 17:21
KeyL24-Jul-05 17:21 
AnswerRe: Why CArray is not type-safe? Pin
Christian Graus24-Jul-05 18:32
protectorChristian Graus24-Jul-05 18:32 
GeneralRe: Why CArray is not type-safe? Pin
KeyL24-Jul-05 18:40
KeyL24-Jul-05 18:40 
GeneralRe: Why CArray is not type-safe? Pin
Christian Graus24-Jul-05 18:43
protectorChristian Graus24-Jul-05 18:43 
GeneralRe: Why CArray is not type-safe? Pin
KeyL24-Jul-05 19:44
KeyL24-Jul-05 19:44 
GeneralRe: Why CArray is not type-safe? Pin
Christian Graus24-Jul-05 20:34
protectorChristian Graus24-Jul-05 20:34 
Questionhow to insert Pin
Umair Ahmad khan24-Jul-05 15:08
Umair Ahmad khan24-Jul-05 15:08 
AnswerRe: how to insert Pin
David Crow24-Jul-05 15:58
David Crow24-Jul-05 15:58 
QuestionHow do I use the string tables in forms components? Pin
luddet24-Jul-05 14:56
luddet24-Jul-05 14:56 
AnswerRe: How do I use the string tables in forms components? Pin
luddet26-Jul-05 1:57
luddet26-Jul-05 1:57 
GeneralRe: How do I use the string tables in forms components? Pin
luddet2-Aug-05 4:18
luddet2-Aug-05 4:18 
GeneralCreate Directory Pin
Archer28224-Jul-05 13:04
Archer28224-Jul-05 13:04 
GeneralRe: Create Directory Pin
Jack Puppy24-Jul-05 13:18
Jack Puppy24-Jul-05 13:18 
GeneralRe: Create Directory Pin
Archer28224-Jul-05 15:19
Archer28224-Jul-05 15:19 
GeneralRe: Create Directory Pin
Jack Puppy24-Jul-05 16:04
Jack Puppy24-Jul-05 16:04 
GeneralRe: Create Directory Pin
picasso224-Jul-05 19:11
picasso224-Jul-05 19:11 

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.