Skip to content

Commit

Permalink
Cargo doc auto deployment 2024-03-30 17:28:54.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigocfd committed Mar 30, 2024
1 parent 86130f1 commit 805b39d
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 16 deletions.
26 changes: 24 additions & 2 deletions src/winsafe/gui/native_controls/list_view.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,17 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<a href="#495" id="495">495</a>
<a href="#496" id="496">496</a>
<a href="#497" id="497">497</a>
<a href="#498" id="498">498</a>
<a href="#499" id="499">499</a>
<a href="#500" id="500">500</a>
<a href="#501" id="501">501</a>
<a href="#502" id="502">502</a>
<a href="#503" id="503">503</a>
<a href="#504" id="504">504</a>
<a href="#505" id="505">505</a>
<a href="#506" id="506">506</a>
<a href="#507" id="507">507</a>
<a href="#508" id="508">508</a>
</pre></div><pre class="rust"><code><span class="kw">use </span>std::any::Any;
<span class="kw">use </span>std::marker::{PhantomData, PhantomPinned};
<span class="kw">use </span>std::pin::Pin;
Expand Down Expand Up @@ -619,6 +630,10 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
/// resource with
/// [`HWND::GetDlgItem`](crate::prelude::user_Hwnd::GetDlgItem).
///
/// Since the image list is always managed by the control itself,
/// [`LVS::SHAREIMAGELISTS`](crate::co::LVS::SHAREIMAGELISTS) style will
/// always be added.
///
/// # Panics
///
/// Panics if the parent dialog was already created – that is, you cannot
Expand Down Expand Up @@ -681,6 +696,9 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
OptsResz::Dlg(<span class="kw">_</span>) =&gt; <span class="self">self</span>.<span class="number">0</span>.base.create_dlg()<span class="question-mark">?</span>,
}

<span class="kw">let </span>style: co::LVS = <span class="self">self</span>.hwnd().style().into();
<span class="self">self</span>.hwnd().set_style(style | co::LVS::SHAREIMAGELISTS);

<span class="self">self</span>.<span class="number">0</span>.base.parent()
.add_to_layout_arranger(<span class="self">self</span>.hwnd(), opts_resz.resize_behavior())
}
Expand Down Expand Up @@ -923,7 +941,11 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<span class="doccomment">/// List view styles to be
/// [created](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-createwindowexw).
///
/// Defaults to `LVS::REPORT | LVS::NOSORTHEADER | LVS::SHOWSELALWAYS | LVS::SHAREIMAGELISTS`.
/// Since the image list is always managed by the control itself,
/// [`LVS::SHAREIMAGELISTS`](crate::co::LVS::SHAREIMAGELISTS) style will
/// always be added.
///
/// Defaults to `LVS::REPORT | LVS::NOSORTHEADER | LVS::SHOWSELALWAYS`.
</span><span class="kw">pub </span>list_view_style: co::LVS,
<span class="doccomment">/// Extended list view styles to be
/// [created](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-createwindowexw).
Expand Down Expand Up @@ -971,7 +993,7 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<span class="self">Self </span>{
position: (<span class="number">0</span>, <span class="number">0</span>),
size: (<span class="number">50</span>, <span class="number">50</span>),
list_view_style: co::LVS::REPORT | co::LVS::NOSORTHEADER | co::LVS::SHOWSELALWAYS | co::LVS::SHAREIMAGELISTS,
list_view_style: co::LVS::REPORT | co::LVS::NOSORTHEADER | co::LVS::SHOWSELALWAYS,
list_view_ex_style: co::LVS_EX::NoValue,
window_style: co::WS::CHILD | co::WS::VISIBLE | co::WS::TABSTOP | co::WS::GROUP,
window_ex_style: co::WS_EX::LEFT | co::WS_EX::CLIENTEDGE,
Expand Down
Loading

0 comments on commit 805b39d

Please sign in to comment.