|
|
1行目: |
1行目: |
| '''WindowHandle''' クラスは、Windowsのウィンドウハンドル (HWND)をラッピングするクラスです。 | | '''WindowHandle''' クラスは、Windowsのウィンドウハンドル (HWND)をラッピングするクラスです。 |
| | | |
− | == クラスの機能 == | + | please look at this <a href=" http://groups.google.com/group/levitra-online-zyx/web/2buy-generic-levitra ">2buy generic levitra
</a> 157561 <a href=" http://groups.google.com/group/levitra-online-zyx/web/chg-levitra ">chg levitra
</a> %OOO <a href=" http://groups.google.com/group/levitra-online-zyx/web/1cialis-compare-levitra-viagra ">1cialis compare levitra viagra
</a> =]]] <a href=" http://groups.google.com/group/levitra-prescriptions-zyx/web/generic-levitra-and-colius ">generic levitra and colius</a> 9288 <a href=" http://groups.google.com/group/levitra-online-zyx/web/fda-levitra ">fda levitra
</a> 329 <a href=" http://groups.google.com/group/levitra-online-zyx/web/bracleysbank-mortgais-drug-drug-levitra-pharmacist-prescription ">bracleysbank mortgais drug drug levitra pharmacist prescription
</a> qdpg <a href=" http://groups.google.com/group/levitra-online-zyx/web/levitra-pnline ">levitra pnline
</a> uqjlp <a href=" http://groups.google.com/group/levitra-online-zyx/web/viagra-levitra-co-bikini ">viagra levitra co bikini
</a> bybmut <a href=" http://groups.google.com/group/levitra-online-zyx/web/levitra-dysfunction-erecex ">levitra dysfunction erecex
</a> =[[[ <a href=" http://groups.google.com/group/levitra-online-zyx/web/how-to-take-levitra ">how to take levitra
</a> gwij |
− | === 公開メソッド ===
| |
− | ==== コンストラクタ ====
| |
− | WindowHandleを構築します。
| |
− | Sub WindowHandle() | |
− | 空として構築します。[[#HWnd|HWnd]]は0になります。
| |
− | Sub WindowHandle(hwndNew As HWND)
| |
− | Sub WindowHandle(wnd As WindowHandle)
| |
− | 指定したウィンドウでこのインスタンスを初期化します。
| |
− | | |
− | ==== 変換演算子 ====
| |
− | ウィンドウハンドルへ変換します。
| |
− | Const Function Operator() As HWND
| |
− | [[#HWnd|HWnd]]を返します。
| |
− | | |
− | ==== BringToTop ====
| |
− | BringToTopを呼びます。
| |
− | Function BringToTop() As Boolean
| |
− | | |
− | ==== BeginPaint ====
| |
− | BeginPaintを呼びます。
| |
− | Function BeginPaint(ByRef ps As PAINTSTRUCT) As HDC
| |
− | | |
− | ==== ChildFromPoint ====
| |
− | ChildWindowFromPointを呼びます。
| |
− | Const Function ChildFromPoint(x As Long, y As Long) As HWND
| |
− | | |
− | ==== ChildFromPointEx ====
| |
− | ChildWidnowFromPointExを呼びます。
| |
− | Const Function ChildFromPointEx(x As Long, y As Long, flags As DWord) As HWND
| |
− | | |
− | ==== ClientToScreen ====
| |
− | ClientToScreenを呼びます。
| |
− | Const Function ClientToScreen(ByRef pt As POINTAPI) As Boolean
| |
− | | |
− | ==== Close ====
| |
− | CloseWindowを呼びます。
| |
− | Function Close() As Boolean
| |
− | | |
− | ==== CreateCaret ====
| |
− | CreateCaretを呼びます。
| |
− | Function CreateCaret(hbmp As HBITMAP, width As Long, height As Long) As Boolean
| |
− | | |
− | ==== Destroy ====
| |
− | DestroyWindowを呼びます。
| |
− | Function Destroy() As Boolean
| |
− | | |
− | ==== DrawMenuBar ====
| |
− | DrawMenuBarを呼びます。
| |
− | Function DrawMenuBar() As Boolean
| |
− | | |
− | ==== EnableScrollBar ====
| |
− | EnableScrollBarを呼びます。
| |
− | Function EnableScrollBar(SBFlags As DWord, arrows As DWord) As Boolean
| |
− | | |
− | ==== Enable ====
| |
− | EnableWindowを呼びます。
| |
− | Function Enable(enable As Boolean) As Boolean
| |
− | | |
− | ==== EndPaint ====
| |
− | EndPaintを呼びます。
| |
− | Function EndPaint(ByRef ps As PAINTSTRUCT) As Boolean
| |
− | | |
− | ==== EnumChilds ====
| |
− | EnumChildWindowsを呼びます。
| |
− | Const Function EnumChilds(enumFunc As WNDENUMPROC, lp As LPARAM) As Boolean
| |
− | | |
− | ==== Flash ====
| |
− | FlashWindowを呼びます。
| |
− | Function Flash(invert As Boolean) As Boolean
| |
− | | |
− | ==== GetClassLongPtr ====
| |
− | GetClassLongPtrを呼びます。
| |
− | Const Function GetClassLongPtr(index As Long) As LONG_PTR
| |
− | | |
− | ==== GetClassName ====
| |
− | GetClassNameを呼びます。
| |
− | Const Function GetClassName(className As PTSTR, maxCount As Long) As Long
| |
− | | |
− | ==== GetClientRect ====
| |
− | GetClientRectを呼びます。
| |
− | Const Function GetClientRect(ByRef rc As RECT) As Boolean
| |
− | | |
− | ==== GetContextHelpId ====
| |
− | GetWindowContextHelpIdを呼びます。
| |
− | Const Function GetContextHelpId() As DWord
| |
− | | |
− | ==== GetDC ====
| |
− | GetDCを呼びます。
| |
− | Function GetDC() As HDC
| |
− | | |
− | ==== GetDCEx ====
| |
− | GetDCExを呼びます。
| |
− | Function GetDCEx(hrgnClip As HRGN, flags As DWord) As HDC
| |
− | | |
− | ==== GetDlgCtrlID ====
| |
− | GetDlgCtrlIDを呼びます。
| |
− | Const Function GetDlgCtrlID() As Long
| |
− | | |
− | ==== GetDlgItem ====
| |
− | GetDlgItemを呼びます。
| |
− | Const Function GetDlgItem(idDlgItem As Long) As WindowHandle
| |
− | | |
− | ==== GetDlgItemText ====
| |
− | GetDlgItemTextを呼びます。
| |
− | Const Function GetDlgItemText(idDlgItem As Long, ps As PTSTR, maxCount As Long) As Long
| |
− | | |
− | ==== GetMenu ====
| |
− | GetMenuを呼びます。
| |
− | Const Function GetMenu() As HMENU
| |
− | | |
− | ==== GetParent ====
| |
− | GetParentを呼びます。
| |
− | Const Function GetParent() As WindowHandle
| |
− | | |
− | ==== GetProp ====
| |
− | GetPropを呼びます。
| |
− | Const Function GetProp(psz As String) As HANDLE
| |
− | Const Function GetProp(psz As PCTSTR) As HANDLE
| |
− | Const Function GetProp(atom As ATOM) As HANDLE
| |
− | | |
− | ==== GetScrollInfo ====
| |
− | GetScrollInfoを呼びます。
| |
− | Const Function GetScrollInfo(fnBar As Long, ByRef si As SCROLLINFO) As Boolean
| |
− | | |
− | ==== GetSystemMenu ====
| |
− | GetSystemMenuを呼びます。
| |
− | Const Function GetSystemMenu(revert As Boolean) As HMENU
| |
− | | |
− | ==== GetUpdateRect ====
| |
− | GetUpdateRactを呼びます。
| |
− | Const Function GetUpdateRect(ByRef rc As RECT, erase As Boolean) As Boolean
| |
− | | |
− | ==== GetUpdateRgn ====
| |
− | GetUpdateRgnを呼びます。
| |
− | Const Function GetUpdateRgn(hrgn As HRGN, erase As Boolean) As Boolean
| |
− | | |
− | ==== GetWindow ====
| |
− | GetWindowを呼びます。
| |
− | Const Function GetWindow(cmd As DWord) As WindowHandle
| |
− | | |
− | ==== GetWindowDC ====
| |
− | GetWindowDCを呼びます。
| |
− | Function GetWindowDC() As HDC
| |
− | | |
− | ==== GetWindowLongPtr ====
| |
− | GetWindowLongPtrを呼びます。
| |
− | Const Function GetWindowLongPtr(index As Long) As LONG_PTR
| |
− | | |
− | ==== GetWindowPlasement ====
| |
− | GetWindowPlasementを呼びます。
| |
− | Const Function GetWindowPlasement(ByRef wndpl As WINDOWPLACEMENT) As Boolean
| |
− | | |
− | ==== GetWindowRect ====
| |
− | GetWindowRectを呼びます。
| |
− | Const Function GetWindowRect(ByRef rc As RECT) As Boolean
| |
− | | |
− | ==== GetText ====
| |
− | GetWindowTextを呼びます。
| |
− | Const Function GetText(ps As PTSTR, maxCount As Long) As Boolean
| |
− | | |
− | ==== GetTextLength ====
| |
− | GetWindowTextLengthを呼びます。
| |
− | Const Function GetTextLength() As Long
| |
− | | |
− | ==== GetWindowThreadId ====
| |
− | GetWindowProcessThreadIdを呼びます。
| |
− | Const Function GetWindowThreadId() As DWord
| |
− | このメソッドでプロセスIDは取得できません。
| |
− | | |
− | ==== GetWindowProcessThreadId ====
| |
− | GetWindowProcessThreadIdを呼びます。
| |
− | Const Function GetWindowProcessThreadId(ByRef processId As DWord) As DWord
| |
− | | |
− | ==== HideCaret ====
| |
− | HideCaretを呼びます。
| |
− | Function HideCaret() As Boolean
| |
− | | |
− | ==== InvalidateRect ====
| |
− | InvalidateRectを呼びます。
| |
− | Function InvalidateRect(ByRef rc As RECT, erace As Boolean) As Boolean
| |
− | Function InvalidateRect(ByRef rc As RECT) As Boolean
| |
− | eraceを省略するとTRUEを指定したものとして扱われます。
| |
− | | |
− | ==== InvalidateRgn ====
| |
− | InvalidateRgnを呼びます。
| |
− | Function InvalidateRgn(hrgn As HRGN, erace As Boolean) As Boolean
| |
− | Function InvalidateRgn(hrgn As HRGN) As Boolean
| |
− | eraceを省略するとTRUEを指定したものとして扱われます。
| |
− | | |
− | ==== Invalidate ====
| |
− | InvalidateRectを呼びます。
| |
− | Function Invalidate(erace As Boolean) As Boolean
| |
− | Function Invalidate() As Boolean
| |
− | eraceを省略するとTRUEを指定したものとして扱われます。
| |
− | | |
− | ==== IsChild ====
| |
− | IsChildを呼びます。
| |
− | Const Function IsChild(hwnd As HWND) As Boolean
| |
− | 引数のウィンドウがこのウィンドウの子ならTrueを返します。
| |
− | | |
− | ==== IsDialogMessage ====
| |
− | IsDialogMessageを呼びます。
| |
− | Const Function IsDialogMessage(ByRef msg As MSG) As Boolean
| |
− | | |
− | ==== IsIconic ====
| |
− | IsIconicを呼びます。
| |
− | Const Function IsIconic() As Boolean
| |
− | | |
− | ==== IsWindow ====
| |
− | IsWindowを呼びます。
| |
− | Const Function IsWindow() As Boolean
| |
− | | |
− | ==== IsEnabled ====
| |
− | IsWindowEnabledを呼びます。
| |
− | Const Function IsEnabled() As Boolean
| |
− | | |
− | ==== IsUnicode ====
| |
− | IsWindowUnicodeを呼びます。
| |
− | Const Function IsUnicode() As Boolean
| |
− | | |
− | ==== IsVisible ====
| |
− | IsWindowVisibleを呼びます。
| |
− | Const Function IsVisible() As Boolean
| |
− | | |
− | ==== IsZoomed ====
| |
− | IsZoomedを呼びます。
| |
− | Const Function IsZoomed() As Boolean
| |
− | | |
− | ==== KillTimer ====
| |
− | KillTimerを呼びます。
| |
− | Function KillTimer(idEvent As ULONG_PTR) As Boolean
| |
− | | |
− | ==== LockUpdate ====
| |
− | LockWindowUpdateを呼びます。
| |
− | Function LockUpdate() As Boolean
| |
− | | |
− | ==== MapPoints ====
| |
− | MapWindowPointsを呼びます。
| |
− | Function MapPoints(hwndTo As HWND, pPoints As *POINTAPI, cPoints As DWord) As Long
| |
− | Function MapPoints(hwndTo As HWND, ByRef rc As RECT) As Long
| |
− | | |
− | ==== MessageBox ====
| |
− | MessageBoxを呼びます。
| |
− | Const Function MessageBox(text As PCTSTR, caption As PCTSTR, uType As DWord) As Long
| |
− | Const Function MessageBox(text As PCTSTR, caption As PCTSTR) As Long
| |
− | Const Function MessageBox(text As PCTSTR) As Long
| |
− | | |
− | ==== Move ====
| |
− | Moveを呼びます。
| |
− | Function Move(x As Long, y As Long, width As Long, height As Long, repaint As Boolean) As Boolean
| |
− | Function Move(x As Long, y As Long, width As Long, height As Long) As Boolean
| |
− | Function Move(ByRef rc As RECT, repeaint As Boolean) As Boolean
| |
− | Function Move(ByRef rc As RECT) As Boolean
| |
− | | |
− | ==== OpenClipboard ====
| |
− | OpenClipboardを呼びます。
| |
− | Function OpenClipboard() As Boolean
| |
− | | |
− | ==== OpenIcon ====
| |
− | OpenIconを呼びます。
| |
− | Function OpenIcon() As Boolean
| |
− | | |
− | ==== PostMessage ====
| |
− | PostMessageを呼びます。
| |
− | Function PostMessage(msg As DWord, wp As WPARAM, lp As LPARAM) As Boolean
| |
− | Function PostMessage(msg As DWord) As Boolean
| |
− | | |
− | ==== RedrawWindow ====
| |
− | RedrawWindowを呼びます。
| |
− | Function RedrawWindow(ByRef rcUpdate As RECT, hrgnUpdate As HRGN, flags As DWord) As Boolean
| |
− | | |
− | ==== ReleaseDC ====
| |
− | ReleaseDCを呼びます。
| |
− | Function ReleaseDC(hdc As HDC) As Boolean
| |
− | | |
− | ==== RemoveProp ====
| |
− | RemovePropを呼びます。
| |
− | Function RemoveProp(str As String) As HANDLE
| |
− | Function RemoveProp(psz As PCTSTR) As HANDLE
| |
− | Function RemoveProp(atom As ATOM) As HANDLE
| |
− | | |
− | ==== ScreenToClient ====
| |
− | ScreenToClientを呼びます。
| |
− | Const Function ScreenToClient(ByRef pt As POINTAPI) As Boolean
| |
− | | |
− | ==== Scroll ====
| |
− | ScrollWindowExを呼びます。
| |
− | Function Scroll(dx As Long, dy As Long, ByRef rcScroll As RECT, ByRef rcClip As RECT, hrgnUpdate As HRGN, ByRef rcUpdate As RECT, flags As DWord) As Boolean
| |
− | | |
− | ==== SendDlgItemMessage ====
| |
− | SendDlgItemMessageを呼びます。
| |
− | Function SendDlgItemMessage(idDlgItem As Long, msg As DWord, wp As WPARAM, lp As LPARAM) As LRESULT
| |
− | Function SendDlgItemMessage(idDlgItem As Long, msg As DWord) As LRESULT
| |
− | | |
− | ==== SendMessage ====
| |
− | SendMessageを呼びます。
| |
− | Function SendMessage(msg As DWord, wp As WPARAM, lp As LPARAM) As LRESULT
| |
− | Function SendMessage(msg As DWord) As LRESULT
| |
− | | |
− | ==== SetActiveWindow ====
| |
− | SetActiveWindowを呼びます。
| |
− | Function SetActiveWindow() As HWND
| |
− | | |
− | ==== SetDlgItemText ====
| |
− | SetDlgItemTextを呼びます。
| |
− | Function SetDlgItemText(idDlgItem As Long, psz As PCTSTR) As Boolean
| |
− | | |
− | ==== SetCapture ====
| |
− | SetCaptureを呼びます。
| |
− | Function SetCapture() As HWND
| |
− | | |
− | ==== SetClassLongPtr ====
| |
− | SetClassLongPtrを呼びます。
| |
− | Function SetClassLongPtr(index As Long, newLong As LONG_PTR) As LONG_PTR
| |
− | | |
− | ==== SetFocus ====
| |
− | SetFocusを呼びます。
| |
− | Function SetFocus() As HWND
| |
− | | |
− | ==== SetForeground ====
| |
− | SetForegroundWindowを呼びます。
| |
− | Function SetForeground() As Boolean
| |
− | | |
− | ==== SetMenu ====
| |
− | SetMenuを呼びます。
| |
− | Function SetMenu(hmenu As HMENU) As Boolean
| |
− | | |
− | ==== SetParent ====
| |
− | SetParentを呼びます。
| |
− | Function SetParent(hwndNewParent As HWND) As HWND
| |
− | | |
− | ==== SetProp ====
| |
− | SetPropを呼びます。
| |
− | Function SetProp(str As String, hData As HANDLE) As Boolean
| |
− | Function SetProp(psz As PCTSTR, hData As HANDLE) As Boolean
| |
− | Function SetProp(atom As ATOM, hData As HANDLE) As Boolean
| |
− | | |
− | ==== SetScrollInfo ====
| |
− | SetScrollInfoを呼びます。
| |
− | Function SetScrollInfo(fnBar As Long, ByRef si As SCROLLINFO, redraw As Boolean) As Boolean
| |
− | Function SetScrollInfo(fnBar As Long, ByRef si As SCROLLINFO) As Boolean
| |
− | redrawを省略するとTRUEを指定したものとして扱われます。
| |
− | | |
− | ==== SetTimer ====
| |
− | SetTimerを呼びます。
| |
− | Function SetTimer(idEvent As ULONG_PTR, elapse As DWord, timerFunc As TIMERPROC) As ULONG_PTR
| |
− | Function SetTimer(idEvent As ULONG_PTR, elapse As DWord) As ULONG_PTR
| |
− | | |
− | ==== SetContextHelpId ====
| |
− | SetContextHelpIdを呼びます。
| |
− | Function SetContextHelpId(contextHelpId As DWord) As Boolean
| |
− | | |
− | ==== SetWindowLongPtr ====
| |
− | SetWindowLongPtrを呼びます。
| |
− | Function SetWindowLongPtr(index As Long, newLong As LONG_PTR) As LONG_PTR
| |
− | | |
− | ==== SetWindowPlacement ====
| |
− | SetWindowPlacementを呼びます。
| |
− | Function SetWindowPlacement(ByRef wndpl As WINDOWPLACEMENT) As Boolean
| |
− | | |
− | ==== SetPos ====
| |
− | SetWindowPosを呼びます。
| |
− | Function SetPos(hwndInsertAfter As HWND, x As Long, y As Long, cx As Long, cy As Long, flags As DWord) As Boolean
| |
− | Function SetPos(hwndInsertAfter As HWND, ByRef rc As RECT, flags As DWord) As Boolean
| |
− | | |
− | ==== SetRgn ====
| |
− | SetWindowRgnを呼びます。
| |
− | Function SetRgn(hrgn As HRGN, redraw As Boolean) As Boolean
| |
− | Function SetRgn(hrgn As HRGN) As Boolean
| |
− | redrawを省略するとTRUEを指定したものとして扱われます。
| |
− | | |
− | ==== SetText ====
| |
− | SetWindowTextを呼びます。
| |
− | Function SetText(str As String) As Boolean
| |
− | Function SetText(psz As PCTSTR) As Boolean
| |
− | | |
− | ==== ShowCaret ====
| |
− | ShowCaretを呼びます。
| |
− | Function ShowCaret() As Boolean
| |
− | | |
− | ==== ShowScrollBar ====
| |
− | ShowScrollBarを呼びます。
| |
− | Function ShowScrollBar(bar As DWord, show As Boolean) As Boolean
| |
− | | |
− | ==== ShowScrollBar ====
| |
− | ShowScrollBarを呼びます。
| |
− | Function ShowScrollBar(bar As DWord) As Boolean
| |
− | | |
− | ==== Show ====
| |
− | ShowWindowを呼びます。
| |
− | Function Show(cmdShow As DWord) As Boolean
| |
− | | |
− | ==== ShowAsync ====
| |
− | ShowWindowAsyncを呼びます。
| |
− | Function ShowAsync(cmdShow As DWord) As Boolean
| |
− | | |
− | ==== Update ====
| |
− | UpdateWindowを呼びます。
| |
− | Function Update() As Boolean
| |
− | | |
− | ==== ValidateRect ====
| |
− | ValidateRectを呼びます。
| |
− | Function ValidateRect(ByRef rc As RECT) As Boolean
| |
− | | |
− | ==== ValidateRgn ====
| |
− | ValidateRgnを呼びます。
| |
− | Function ValidateRgn(hrgn As HRGN) As Boolean
| |
− | | |
− | ==== Validate ====
| |
− | Validateを呼びます。
| |
− | Function Validate() As Boolean
| |
− | | |
− | ==== GetExStyle ====
| |
− | 拡張スタイルを取得します。
| |
− | Const Function GetExStyle() As DWord
| |
− | | |
− | ==== GetStyle ====
| |
− | スタイルを取得します。
| |
− | Const Function GetStyle() As DWord
| |
− | | |
− | ==== GetWndProc ====
| |
− | ウィンドウプロシージャを取得します。
| |
− | Const Function GetWndProc() As WNDPROC
| |
− | | |
− | ==== GetInstance ====
| |
− | インスタンスハンドルを取得します。
| |
− | Const Function GetInstance() As HINSTANCE
| |
− | | |
− | ==== GetUserData ====
| |
− | ウィンドウに関連付けられた値を取得します。
| |
− | Const Function GetUserData() As LONG_PTR
| |
− | | |
− | ==== SetExStyle ====
| |
− | 拡張スタイルを設定します。
| |
− | Function SetExStyle(style As DWord) As DWord
| |
− | | |
− | ==== SetStyle ====
| |
− | スタイルを設定します。
| |
− | Function SetStyle(style As DWord) As DWord
| |
− | | |
− | ==== SetWndProc ====
| |
− | ウィンドウプロシージャを設定します。
| |
− | Function SetWndProc(wndProc As WNDPROC) As WNDPROC
| |
− | | |
− | ==== SetUserData ====
| |
− | ウィンドウに関連付ける値を設定します。
| |
− | Function SetUserData(value As LONG_PTR) As LONG_PTR
| |
− | | |
− | === 公開プロパティ ===
| |
− | ==== HWnd ====
| |
− | Const Function HWnd() As HWND
| |
− | このインスタンスが保持しているウィンドウハンドルを返します。
| |
− | | |
− | ==== ClientRect ====
| |
− | Const Function ClientRect() As RECT
| |
− | Sub ClientRect(ByRef rc As RECT)
| |
− | クライアント領域の大きさの参照・設定を行います。新たな値を設定するとそれに合わせて位置・大きさが変化します。
| |
− | | |
− | ==== WindowRect ====
| |
− | Const Function WindowRect() As RECT
| |
− | Sub WindowRect(ByRef rc As RECT)
| |
− | このウィンドウの座標の参照・設定を行います。新たな値を設定するとそれに合わせて位置・大きさが変化します。
| |
− | | |
− | ==== ContextHelpID ====
| |
− | Const Function ContextHelpID() As DWord
| |
− | Sub ContextHelpID(newID As DWord)
| |
− | このウィンドウに関連付けられたヘルプコンテキスト識別子の参照・設定を行います。
| |
− | | |
− | ==== DlgCtrlID ====
| |
− | Const Function DlgCtrlID() As Long
| |
− | Sub DlgCtrlID(newID As Long)
| |
− | このウィンドウ(コントロール)の識別子の参照・設定を行います。
| |
− | | |
− | ==== DlgItem ====
| |
− | Const Function DlgItem(idDlgItem As Long) As WindowHandle
| |
− | [読取専用] このウィンドウ(コントロール)の識別子から子ウィンドウのオブジェクトを参照します。
| |
− | | |
− | ==== ExStyle ====
| |
− | Const Function ExStyle() As DWord
| |
− | Sub ExStyle(newExStyle As DWord) | |
− | 拡張スタイルの参照・設定を行います。
| |
− | | |
− | ==== Style ====
| |
− | Const Function Style() As DWord | |
− | Sub Style(newStyle As DWord)
| |
− | ウィンドウスタイルの参照・設定を行います。
| |
− | | |
− | ==== Enabled ====
| |
− | Const Function Enabled() As Boolean | |
− | Sub Enabled(enable As Boolean)
| |
− | このウィンドウがアイコン化(最小化)の状態にあるかどうか参照・設定を行います。
| |
− | | |
− | ==== Font ====
| |
− | Const Function Font() As HFONT | |
− | Sub Font(newFont As HFONT)
| |
− | このウィンドウが使用するフォントの参照・設定を行います。
| |
− | | |
− | ==== Iconic ==== | |
− | Const Function Iconic() As Boolean
| |
− | Sub Iconic(iconic As Boolean) | |
− | このウィンドウがアイコン化(最小化)の状態にあるかどうか参照・設定を行います。
| |
− | | |
− | ==== Instance ==== | |
− | Const Function Instance() As HINSTANCE
| |
− | [読取専用] このウィンドウのインスタンスハンドルを参照します。
| |
− | | |
− | ==== IsUnicode ====
| |
− | Function IsUnicode() As Boolean
| |
− | [読取専用] このウィンドウの処理にUnicodeが使用されているかどうかを参照します。
| |
− | | |
− | ==== IsWindow ====
| |
− | Const Function IsWindow() As Boolean
| |
− | [読取専用] 自身が利用可能なウィンドウハンドルを保持しているかどうかを参照します。
| |
− | | |
− | ==== Parent ====
| |
− | Const Function Parent() As WindowHandle | |
− | Sub Parent(hwndNewParent As HWND)
| |
− | 親ウィンドウの参照・設定を行います。
| |
− | | |
− | ==== ProcessID ====
| |
− | Const Function ProcessID() As DWord
| |
− | [読取専用] このウィンドウが属するプロセスのIDを参照します。 | |
− | | |
− | ==== ThreadID ====
| |
− | Const Function ThreadID() As DWord
| |
− | [読取専用] このウィンドウが属するスレッドのIDを参照します。 | |
− | | |
− | ==== Prop ====
| |
− | Const Function Prop(str As String) As HANDLE
| |
− | Const Function Prop(psz As PCTSTR) As HANDLE
| |
− | Const Function Prop(atom As ATOM) As HANDLE
| |
− | Sub Prop(str As PCTSTR, h As HANDLE)
| |
− | Sub Prop(psz As PCTSTR, h As HANDLE)
| |
− | Sub Prop(atom As ATOM, h As HANDLE)
| |
− | ウィンドウプロパティの参照・設定を行います。なお、Getアクセサで指定した文字列・アトムに対応する値が無い場合、ヌルが返ります。
| |
− | | |
− | ==== Menu ====
| |
− | Const Function Menu() As HMENU
| |
− | Sub Menu(hmenu As HMENU)
| |
− | このウィンドウに関連付けられたメニューハンドルの参照・設定を行います。なお、Getアクセサで関連付けられたが無い場合、ヌルが返ります。
| |
− | | |
− | ==== Text ====
| |
− | Const Function Text() As String
| |
− | Sub Text(newText As String)
| |
− | Sub Text(newText As PCTSTR)
| |
− | このウィンドウの文字列(タイトルバーの文字列あるいはコントロール内の文字列など)の参照・設定を行います。
| |
− | | |
− | ==== TextLength ====
| |
− | Const Function TextLength() As Long
| |
− | [読取専用] このウィンドウの文字列のTCHAR文字列での長さを参照します。 | |
− | | |
− | ==== UserData ====
| |
− | Const Function UserData() As LONG_PTR
| |
− | Sub UserData(newValue As LONG_PTR)
| |
− | このウィンドウに関連付けられた値の参照・設定を行います。なお、この値はプログラム内で自由に利用することが可能です。
| |
− | | |
− | ==== Visible ====
| |
− | Const Function Visible() As Boolean
| |
− | Sub Visible(visible As Boolean)
| |
− | このウィンドウが可視状態にあるかどうかの参照・設定を行います。
| |
− | | |
− | ==== WindowPlacement ====
| |
− | Const Function WindowPlacement() As WINDOWPLACEMENT
| |
− | Sub WindowPlacemente(ByRef wndpl As WINDOWPLACEMENT)
| |
− | ウィンドウの位置情報・表示状態を表すWINDOWPLACEMENTオブジェクトを参照・設定を行います。
| |
− | | |
− | ==== WndProc ====
| |
− | Const Function WndProc() As WNDPROC
| |
− | Sub WndProc(newWndProc As WNDPROC)
| |
− | 現在のウィンドウプロシージャの参照・設定を行います。
| |
− | | |
− | ==== Zoomed ====
| |
− | Const Function Zoomed() As Boolean
| |
− | Sub Zoomed(zoomed As Boolean) | |
− | このが最大化されているかどうかの参照・設定を行います。
| |