I would like to print a frame from IE 4.0 when user clicks the print button. How would I do this? Using a ActiveX component. If so - which one? If possible I'd like to do it without any programming. I've some code, but I don't know how to use it from IE.
CWnd* pWnd = GetFocus ();
// send Ctrl-P
keybd_event (VK_CONTROL, 0, 0, 0);
keybd_event ('P', 0, 0, 0);
// set focus to control that previously had focus
Telling me how to use this code would answer my question as well.