Click here to Skip to main content
15,895,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Avoid includei in header files Pin
toxcct7-Sep-08 21:34
toxcct7-Sep-08 21:34 
Questioncaptureing right click mouse event........ Pin
ani_ikram7-Sep-08 19:58
ani_ikram7-Sep-08 19:58 
AnswerRe: captureing right click mouse event........ Pin
Rane7-Sep-08 20:11
Rane7-Sep-08 20:11 
AnswerRe: captureing right click mouse event........ Pin
SandipG 7-Sep-08 20:12
SandipG 7-Sep-08 20:12 
GeneralRe: captureing right click mouse event........ Pin
ani_ikram7-Sep-08 20:34
ani_ikram7-Sep-08 20:34 
GeneralRe: captureing right click mouse event........ Pin
SandipG 7-Sep-08 21:15
SandipG 7-Sep-08 21:15 
GeneralRe: captureing right click mouse event........ Pin
ani_ikram7-Sep-08 21:18
ani_ikram7-Sep-08 21:18 
GeneralRe: captureing right click mouse event........ Pin
SandipG 7-Sep-08 21:25
SandipG 7-Sep-08 21:25 
I will advise you to read some book on MFC. Windows Programming with MFC by Jeff Prosise is good for beginners.

Now your problem.

1. Select Insert Menu -> New Class.
2. Type In your class name (CMyEdit)and select Base class as CEdit
3. Then add the handlers and their declarations from my previous posts to the class.
4. Add the member variable of type CMyEdit for Edit box.

I hope this makes sense.
But I suggest you to read from book as this is something very basic.

Regards,
Sandip.

GeneralRe: captureing right click mouse event........ Pin
ani_ikram9-Sep-08 17:23
ani_ikram9-Sep-08 17:23 
GeneralRe: captureing right click mouse event........ Pin
SandipG 9-Sep-08 19:02
SandipG 9-Sep-08 19:02 
QuestionRegSetValueEx crashing Pin
monsieur_jj7-Sep-08 19:28
monsieur_jj7-Sep-08 19:28 
AnswerRe: RegSetValueEx crashing Pin
Rane7-Sep-08 20:04
Rane7-Sep-08 20:04 
GeneralRe: RegSetValueEx crashing Pin
monsieur_jj7-Sep-08 20:22
monsieur_jj7-Sep-08 20:22 
GeneralRe: RegSetValueEx crashing Pin
Rane8-Sep-08 0:07
Rane8-Sep-08 0:07 
QuestionRe: RegSetValueEx crashing Pin
CPallini7-Sep-08 23:45
mveCPallini7-Sep-08 23:45 
QuestionRe: RegSetValueEx crashing Pin
David Crow8-Sep-08 4:02
David Crow8-Sep-08 4:02 
QuestionGetting the IP adress of the computer Pin
Deepu Antony7-Sep-08 19:02
Deepu Antony7-Sep-08 19:02 
AnswerRe: Getting the IP adress of the computer Pin
_AnsHUMAN_ 7-Sep-08 19:12
_AnsHUMAN_ 7-Sep-08 19:12 
GeneralRe: Getting the IP adress of the computer Pin
Deepu Antony7-Sep-08 21:35
Deepu Antony7-Sep-08 21:35 
AnswerRe: Getting the IP adress of the computer Pin
Rane7-Sep-08 19:13
Rane7-Sep-08 19:13 
GeneralRe: Getting the IP adress of the computer Pin
Deepu Antony7-Sep-08 21:33
Deepu Antony7-Sep-08 21:33 
GeneralRe: Getting the IP adress of the computer Pin
SandipG 7-Sep-08 21:40
SandipG 7-Sep-08 21:40 
QuestionRun as Service Pin
cpvc++7-Sep-08 18:55
cpvc++7-Sep-08 18:55 
AnswerRe: Run as Service Pin
Rane7-Sep-08 19:00
Rane7-Sep-08 19:00 
AnswerRe: Run as Service Pin
Mark Salsbery8-Sep-08 6:25
Mark Salsbery8-Sep-08 6:25 

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.