Welcome to MSDN Blogs Sign in | Join | Help

April 2006 - Posts

If you write an application that hosts the WebBrowser Control , and you want the control to do something, you can send commands to mshtml via the IOleCommandTarget interface. However, if you are an ActiveX control and you want to send CGID_MSHTML commands, Read More...
IOleCommandTarget is very useful. It provides a generic way of sending commands between objects. IE makes extensive use of IOleCommandTarget , both publically and internally. And, like IUnknown , people frequently get it wrong. Each command is composed Read More...
Question: What is wrong with this code? case WM_DRAWITEM: { LPDRAWITEMSTRUCT pdis = (LPDRAWITEMSTRUCT) lParam; COMBOBOXEXITEM cbexItem = {0}; cbexItem.mask = CBEIF_IMAGE | CBEIF_SELECTEDIMAGE; cbexItem.iItem = pdis->itemID; CallWindowProc(pfnOldWndProc, Read More...
0 Comments
Filed under:
 
Page view tracker