共用方式為


CDHtmlDialog::LoadFromResource

Loads the specified resource into the WebBrowser control in the DHTML dialog.

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 resource to load.

Return Value

TRUE if successful; otherwise FALSE.

Requirements

Header: afxdhtml.h

See Also

Reference

CDHtmlDialog Class

Hierarchy Chart