Click here to Skip to main content
16,019,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Display Dialog as Menu Pin
kiranin22-Aug-06 4:23
kiranin22-Aug-06 4:23 
GeneralRe: Display Dialog as Menu Pin
toxcct22-Aug-06 5:19
toxcct22-Aug-06 5:19 
AnswerRe: Display Dialog as Menu Pin
_AnsHUMAN_ 22-Aug-06 18:25
_AnsHUMAN_ 22-Aug-06 18:25 
QuestionRe: Display Dialog as Menu Pin
Hamid Taebi22-Aug-06 20:37
professionalHamid Taebi22-Aug-06 20:37 
AnswerRe: Display Dialog as Menu Pin
kiranin22-Aug-06 20:58
kiranin22-Aug-06 20:58 
GeneralRe: Display Dialog as Menu Pin
Hamid Taebi22-Aug-06 23:10
professionalHamid Taebi22-Aug-06 23:10 
QuestionVS2005: Clean/Rebuild project tries to remove output path Pin
mexicanchili22-Aug-06 2:34
mexicanchili22-Aug-06 2:34 
QuestionPromblem with Dynamic Control Event Handling. Pin
uday kiran janaswamy22-Aug-06 2:26
uday kiran janaswamy22-Aug-06 2:26 
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);

//===========================================================================

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
Parthi_Appu22-Aug-06 2:38
Parthi_Appu22-Aug-06 2:38 
GeneralRe: Promblem with Dynamic Control Event Handling. Pin
uday kiran janaswamy22-Aug-06 2:55
uday kiran janaswamy22-Aug-06 2:55 
GeneralRe: Promblem with Dynamic Control Event Handling. Pin
Parthi_Appu23-Aug-06 21:52
Parthi_Appu23-Aug-06 21:52 
AnswerRe: Promblem with Dynamic Control Event Handling. Pin
prasad_som22-Aug-06 18:54
prasad_som22-Aug-06 18:54 
QuestionHTML Control Pin
CoolASL22-Aug-06 1:41
CoolASL22-Aug-06 1:41 
AnswerRe: HTML Control Pin
Maximilien22-Aug-06 1:42
Maximilien22-Aug-06 1:42 
GeneralRe: HTML Control Pin
CoolASL22-Aug-06 1:46
CoolASL22-Aug-06 1:46 
GeneralRe: HTML Control Pin
Maximilien22-Aug-06 2:46
Maximilien22-Aug-06 2:46 
QuestionRe: HTML Control Pin
David Crow22-Aug-06 2:38
David Crow22-Aug-06 2:38 
AnswerRe: HTML Control Pin
CoolASL22-Aug-06 2:43
CoolASL22-Aug-06 2:43 
GeneralRe: HTML Control Pin
David Crow22-Aug-06 2:53
David Crow22-Aug-06 2:53 
AnswerRe: HTML Control Pin
Ed K22-Aug-06 2:54
Ed K22-Aug-06 2:54 
GeneralRe: HTML Control Pin
CoolASL22-Aug-06 21:01
CoolASL22-Aug-06 21:01 
AnswerRe: HTML Control Pin
Hamid Taebi22-Aug-06 20:28
professionalHamid Taebi22-Aug-06 20:28 
QuestionTo set the font style to BOLD Pin
Sameer_Thakur22-Aug-06 1:36
Sameer_Thakur22-Aug-06 1:36 
AnswerRe: To set the font style to BOLD Pin
Christian Graus22-Aug-06 1:59
protectorChristian Graus22-Aug-06 1:59 
AnswerRe: To set the font style to BOLD Pin
David Crow22-Aug-06 2:40
David Crow22-Aug-06 2:40 

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.