get the id

Hello.
Is possible to get the id of an activex control placed in a dialog from the control?
i try in the activex :
this->GetDlgCtrlID()
but dont work
Thanks in advance.
[197 byte] By [giuseppe500] at [2008-1-4]
# 1
when i drag the activex control to the dialog ok , and also the property id is populate with an identifier , that is the property that i would retrieve
i must do it in design time.
is possible?

giuseppe500 at 2007-10-3 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...
# 2
how retrieve the id of a control from the inside of a control?
tanks
giuseppe500 at 2007-10-3 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...
# 3
at runtime i use getdlgcntrlid but at design time not work
giuseppe500 at 2007-10-3 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...
# 4
you really need to elaborate your question and ask in win32 UI/MFC programming newsgroup: http://msdn.microsoft.com/newsgroups/topic.aspx?url=/MSDN-FILES/028/201/015/topic.xml
BiteQiu-MSFT at 2007-10-3 > top of Msdn Tech,Feedback for forums and MSDN websites,Off-Topic Posts (Do Not Post Here)...