IApplicationDesignModeSettings2::SetAdjacentDisplayEdges method (shobjidl_core.h)
Sets whether the application window will be adjacent to the edge of the emulated display.
Syntax
HRESULT SetAdjacentDisplayEdges(
[in] ADJACENT_DISPLAY_EDGES adjacentDisplayEdges
);
Parameters
[in] adjacentDisplayEdges
Type: ADJACENT_DISPLAY_EDGES
The edge which should be adjacent.
ADE_NONE (0x0)
The widow will not be adjacent to either edge.
ADE_LEFT (0x1)
the left edge of the window will be adjacent.
ADE_RIGHT (0x2)
The right edge of the window will be adjacent.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps only] |
Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
Library | Twinapi.lib |
DLL | Twinapi.dll |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για