Click here to Skip to main content
15,898,769 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: My dialog's close button not working? Pin
G Haranadh7-Dec-05 18:23
G Haranadh7-Dec-05 18:23 
AnswerRe: My dialog's close button not working? Pin
Nish Nishant7-Dec-05 8:51
sitebuilderNish Nishant7-Dec-05 8:51 
GeneralRe: My dialog's close button not working? Pin
G Haranadh7-Dec-05 18:29
G Haranadh7-Dec-05 18:29 
QuestionApplication's Icon Pin
Shay Harel7-Dec-05 7:36
Shay Harel7-Dec-05 7:36 
AnswerRe: Application's Icon Pin
toxcct7-Dec-05 7:42
toxcct7-Dec-05 7:42 
GeneralRe: Application's Icon Pin
Shay Harel7-Dec-05 8:19
Shay Harel7-Dec-05 8:19 
QuestionHow to handle events fired from ActiveX control Pin
Ian Bowler7-Dec-05 7:03
Ian Bowler7-Dec-05 7:03 
AnswerRe: How to handle events fired from ActiveX control Pin
Roger Stoltz7-Dec-05 12:24
Roger Stoltz7-Dec-05 12:24 
Ian Bowler wrote:
The ActiveX control is not added at design time. It is dynamically created.


You still have to implement the event sink which means that you need to know how the sink interface is defined.
The easiest way is to add the control to the project at design time and use ClassWizard to generate the event sink.

When you 'hook it up' you have to use IConnectionPointContainer and IConnectionPoint interfaces and in the end call IConnectionPoint::Advise and provide an interface pointer to the sink.

--
Roger


It's supposed to be hard, otherwise anybody could do it!
GeneralRe: How to handle events fired from ActiveX control Pin
Ian Bowler8-Dec-05 8:53
Ian Bowler8-Dec-05 8:53 
QuestionCreate a Window witch is always on bottom z order Pin
desir7-Dec-05 7:01
desir7-Dec-05 7:01 
AnswerRe: Create a Window witch is always on bottom z order Pin
Shay Harel7-Dec-05 7:33
Shay Harel7-Dec-05 7:33 
QuestionChange icon in caption of CDialog window. Pin
sportygal147-Dec-05 6:48
sportygal147-Dec-05 6:48 
AnswerRe: Change icon in caption of CDialog window. Pin
toxcct7-Dec-05 7:09
toxcct7-Dec-05 7:09 
AnswerRe: Change icon in caption of CDialog window. Pin
PJ Arends7-Dec-05 7:18
professionalPJ Arends7-Dec-05 7:18 
GeneralRe: Is there any way to verify a HHOOK? Pin
S. Senthil Kumar7-Dec-05 5:51
S. Senthil Kumar7-Dec-05 5:51 
QuestionChange caption on CDialog. Pin
sportygal147-Dec-05 5:45
sportygal147-Dec-05 5:45 
AnswerRe: Change caption on CDialog. Pin
toxcct7-Dec-05 5:56
toxcct7-Dec-05 5:56 
GeneralRe: Change caption on CDialog. Pin
sportygal147-Dec-05 6:23
sportygal147-Dec-05 6:23 
GeneralRe: Change caption on CDialog. Pin
toxcct7-Dec-05 6:28
toxcct7-Dec-05 6:28 
GeneralRe: Change caption on CDialog. Pin
sportygal147-Dec-05 6:42
sportygal147-Dec-05 6:42 
GeneralRe: Change caption on CDialog. Pin
toxcct7-Dec-05 6:45
toxcct7-Dec-05 6:45 
GeneralRe: Change caption on CDialog. Pin
sportygal147-Dec-05 6:54
sportygal147-Dec-05 6:54 
QuestionWindows Message Confusion! Gurus come and help! Pin
jinzhecheng7-Dec-05 5:33
jinzhecheng7-Dec-05 5:33 
AnswerRe: Windows Message Confusion! Gurus come and help! Pin
David Crow7-Dec-05 5:40
David Crow7-Dec-05 5:40 
GeneralRe: Windows Message Confusion! Gurus come and help! Pin
jinzhecheng7-Dec-05 5:51
jinzhecheng7-Dec-05 5:51 

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.