WebImage: Build the WebImage Control

Click to open or copy the WebImage project files.

Click to open or copy the Include project files (required).

This sample illustrates embedding a locally installed OLE Control (Wimg.ocx) into a page. This control displays a 24-bit bitmap on the page.

Building SDK Samples

This sample demonstrates the following keywords:

_purecall; addref; aftercreatewindow; assert; base; beforecreatewindow; bitblt; bstrfromansi; calcimagesize; cdibfile; cdibsection; check_pointer; checklicensekey; cinternetcontrol; cocreateinstance; controlobject; cpropertypage; create; createcompatibledc; createcomponentcategory; createdibsection; createhalftonepalette; cwebimagecontrol; cwebimagegeneralpage; define_guid; define_propertypageobject; deletedc; deleteobject; dialogproc; do_guids_match; fail; failed; fireprogress; firstcontrol; get_image; getdc; getdlgitemtext; getfileheader; getinfoheader; getlicensekey; getobject; getresourcehandle; getsize; handle; hbrush; headersize; hiword; imagesize; internalqueryinterface; invalidatecontrol; load; loadcursor; loword; lparam; lstrcmp; lstrcpy; lstrlen; make_ansiptr_fromwide; makedirty; makelcid; memset; messagebox; modaldialog; nextcontrol; ocxdefwindowproc; olestrfromansi; paintto; privateunknown; propertychanged; propertypage; proppageexception; put_image; queryinterface; read; readfrom; realizepalette; registercategories; registerclass; registerclassdata; registerclassimplcategories; registerclsidincategory; registerdata; release; return_on_failure; return_on_nullalloc; scramble; selectobject; selectpalette; setbmppath; setcontrolsize; setdlgitemtext; setmapmode; setup; setupdownload; stretchdibits; succeeded; switch; sysallocstring; sysfreestring; unregisterclassimplcategories; unregisterclsidincategory; updateimage; variantclear; variantinit; warning; wcslen; wcsncpy; widthbytes; wndclassnameofcontrol; write