Compartir a través de


CHtmlView::LoadFromResource

Call this member function to load the specified resource into the WebBrowser control.

BOOL LoadFromResource( 
   LPCTSTR lpszResource  
); 
BOOL LoadFromResource( 
   UINT nRes  
);

Parameters

  • lpszResource
    A pointer to a string containing the name of the resource to load.

  • nRes
    The ID of the buffer containing the name of the resource to load.

Return Value

Nonzero if successful; otherwise zero.

Remarks

Applies to Internet Explorer and WebBrowser.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlView Class

Hierarchy Chart