Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OT Pin
Christian Graus24-Aug-06 0:05
protectorChristian Graus24-Aug-06 0:05 
GeneralRe: OT Pin
Rage24-Aug-06 1:38
professionalRage24-Aug-06 1:38 
GeneralRe: OT Pin
Christian Graus24-Aug-06 2:14
protectorChristian Graus24-Aug-06 2:14 
AnswerRe: Problem with SetClipboardData on Win98 Pin
prasad_som23-Aug-06 22:35
prasad_som23-Aug-06 22:35 
AnswerRe: Problem with SetClipboardData on Win98 Pin
Michael Dunn24-Aug-06 0:18
sitebuilderMichael Dunn24-Aug-06 0:18 
AnswerRe: Problem with SetClipboardData on Win98 Pin
David Crow24-Aug-06 3:08
David Crow24-Aug-06 3:08 
AnswerRe: Problem with SetClipboardData on Win98 Pin
Hamid_RT3-Sep-06 9:13
Hamid_RT3-Sep-06 9:13 
QuestionPromblem with Dynamic Control Event Handling. Pin
uday kiran janaswamy23-Aug-06 21:27
uday kiran janaswamy23-Aug-06 21:27 
Hi all,

I am creating a Edit Box Dynamically in CDialog Box. And when i Right Click on the Edit Box what i have created i want to show a Menu.

//===========================================================================
//Source for Creating the Edit Box when mouse is clicked.

CEdit *ptr = new CEdit;
ptr->Create(WS_VISIBLE|WS_CHILD|WS_BORDER|WS_TABSTOP|ES_AUTOHSCROLL,CRect(point.x,point.y,point.x +100, point.y +20),this,NULL);

Note : the Last Parameter is the ID for the Edit Control in Create(...) Api.
//===========================================================================

Now i am not able to handle an event to this dynamically created Edit Box. I want to Handle the RButtonDown Event for every Dyanmically Created Edit Box. i Mean when ever i Right Click on the EditBox what i have Created i want to Populate a Menu using TrackPopUpMenu(...) Api.

please help me out.





Uday kiran
AnswerRe: Promblem with Dynamic Control Event Handling. Pin
Cedric Moonen23-Aug-06 21:58
Cedric Moonen23-Aug-06 21:58 
GeneralRe: Promblem with Dynamic Control Event Handling. Pin
uday kiran janaswamy23-Aug-06 22:50
uday kiran janaswamy23-Aug-06 22:50 
GeneralRe: Promblem with Dynamic Control Event Handling. Pin
Justin Tay24-Aug-06 0:19
Justin Tay24-Aug-06 0:19 
QuestionWorking with dlls [modified] Pin
Kiran Pinjala23-Aug-06 21:19
Kiran Pinjala23-Aug-06 21:19 
AnswerRe: Working with dlls Pin
toxcct23-Aug-06 21:24
toxcct23-Aug-06 21:24 
QuestionProblem in "Openning Driver File" Pin
Pratheep Kenny23-Aug-06 20:46
Pratheep Kenny23-Aug-06 20:46 
AnswerRe: Problem in "Openning Driver File" Pin
kakan23-Aug-06 22:15
professionalkakan23-Aug-06 22:15 
AnswerRe: Problem in "Openning Driver File" Pin
Hamid_RT24-Aug-06 8:27
Hamid_RT24-Aug-06 8:27 
QuestionProblem with list controll [modified] Pin
georgekjolly23-Aug-06 20:26
georgekjolly23-Aug-06 20:26 
AnswerRe: Problem with list controll Pin
Rage23-Aug-06 21:15
professionalRage23-Aug-06 21:15 
GeneralRe: Problem with list controll Pin
georgekjolly23-Aug-06 21:27
georgekjolly23-Aug-06 21:27 
GeneralRe: Problem with list controll Pin
Rage23-Aug-06 23:31
professionalRage23-Aug-06 23:31 
GeneralRe: Problem with list controll Pin
Rage23-Aug-06 23:34
professionalRage23-Aug-06 23:34 
GeneralRe: Problem with list controll Pin
Hamid_RT24-Aug-06 1:11
Hamid_RT24-Aug-06 1:11 
AnswerRe: Problem with list controll Pin
Justin Tay23-Aug-06 21:20
Justin Tay23-Aug-06 21:20 
QuestionAfxMessageBox() Pin
Anu_Bala23-Aug-06 20:16
Anu_Bala23-Aug-06 20:16 
AnswerRe: AfxMessageBox() Pin
prasad_som23-Aug-06 20:27
prasad_som23-Aug-06 20:27 

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.