Using Win32 functions in Visual FoxPro Image Gallery
MSHTML Reference
ShowHTMLDialog
Code examples:
Yet another modal dialog: now HTML-based
ShowHTMLDialog
..msdn    Add comment     W32 Constants      Translate this page
Creates a modal dialog box that displays HTML.
Code examples:
Yet another modal dialog: now HTML-based
Declaration:
HRESULT ShowHTMLDialog(      
    HWND hwndParent,
    IMoniker *pMk,
    VARIANT *pvarArgIn,
    LPWSTR pchOptions,
    VARIANT *pvarArgOut
);
FoxPro declaration:
DECLARE INTEGER ShowHTMLDialog IN mshtml;
    INTEGER hwndParent,;
    INTEGER pMk,;
    STRING pvarArgIn,;
    STRING pchOptions,;
    STRING @pvarArgOut
Parameters:
hwndParent
A handle to the parent of the dialog box.

pMk
The address of an IMoniker interface from which the HTML for the dialog box is loaded.

pvarArgIn
The address of a VARIANT structure that contains the input data for the dialog box. This parameter can be NULL.

pchOptions
[in] The address of a VARIANT structure that contains the window ornaments for the dialog box. This parameter can be NULL.

pvarArgOut
The address of a VARIANT structure that contains the output data for the dialog box. This parameter can be NULL.
Return value:
Returns S_OK (0) if successful, or an error value otherwise.
Usage:
nResult=ShowHTMLDialog(_screen.HWnd, nMoniker,;
    cArguments, cOptions, @cOut)
My comment:
This is yet another modal dialog functionally similar to the dialogs created by calling the MessageBox or the TaskDialog.



A very attractive feature of this dialog is its HTML-defined content. In other words, the whole client part of the dialog is described in HTML terms. This is like a miniature IE window.

See also: CreateURLMonikerEx, MessageBox, MessageBoxIndirect, TaskDialog, TaskDialogIndirect
Word Index links for the ShowHTMLDialog :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-12-09 15:54:36
Modified: 2009-12-09 16:20:39
Visited in last 7 days: 65
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.166.245.10)
13 sec.Function: 'ImageList_GetImageCount'
27 sec.Function: 'GetCurrentThread'
41 sec.Function: 'CommDlgExtendedError'
54 sec.Function: 'GetShellWindow'
1.13 min.Function: 'PathGetShortPath'
1.4 min.Function: 'CeRemoveDirectory'
1.65 min.Function: 'GetCurrentThread'
1.9 min.Function: 'GdipBitmapGetPixel'
2.12 min.Function: 'NetFileEnum'
2.37 min.Function: 'DrawDibOpen'
Google
Advertise here!