MUI Developer's Guide
MUI Interfaces | MUI Methods | MUI Types and Misc API
Interface ID: IID_IMuiUrl
Pointer type: PIMuiUrl
Inheritance: IMoaUnknown
Header file: mui.h
-
- This interface displays a standard system dialog for requesting
URLs from the user. It is available by calling
IMoaCallback::CreateInstance()
with the class identifier CLSID_CMuiURL
and the interface
identifier IID_IMuiURL
.
See the MUI Developer's Guide for a list of the applications that currently support IMuiURL
.
Use this interface in conjunction with the Moa File Support II API to open the URL specified by the user.
Methods
-
- ModalGetUrlPath()
MovableGetUrlPath()
Syntax
ModalGetUrlPath(PIMuiUrl This,
- PIMoaPathName far *
ppMoaPath)
MovableGetUrlPath(PIMuiUrl This,
- PIMoaPathName far *
ppMoaPath)
Parameters
-
This
- Pointer to the
IMuiUrl
interface
- ppMoaPath
- Pointer to IMoaPathName to return user's selection.
Returns
-
MoaError
Description
-
- Call these methods to display a URL dialog box from your Xtra.
Call
ModalGetURLPath()
to display a modal dialog
box, call MovableGetURLPath()
to display a movable
dialog.
Allocate and pass an instance of the IMoaPathName interface to specify the default URL; otherwise, an instance will
be allocated for you and returned (caller owns). The instance
returned contains the selection from the user.
Once the user has selected a file and dismissed the dialog, this
method returns. Use standard system calls to open the URL selected
by the user.
Copyright © 1995-2007 Adobe Macromedia Software LLC, Inc.