Class: Fzeet::FindDialog
- Inherits:
-
FindReplaceDialog
- Object
- CommonDialog
- FindReplaceDialog
- Fzeet::FindDialog
- Defined in:
- lib/fzeet/windows/comdlg/FindReplaceDialog.rb
Constant Summary
Constants inherited from FindReplaceDialog
Fzeet::FindReplaceDialog::DialogStruct, Fzeet::FindReplaceDialog::HookProc, Fzeet::FindReplaceDialog::Message
Constants inherited from CommonDialog
Constants included from WindowMethods
Instance Attribute Summary
Attributes inherited from CommonDialog
Instance Method Summary collapse
Methods inherited from FindReplaceDialog
#dispose, #findWhat, #frProc, #initialize, #onNotify, #replaceWith
Methods inherited from CommonDialog
crackMessage, #hookProc, #initialize, #on
Methods included from WindowMethods
#[], #capture=, #capture?, #dialog=, #dialog?, #dlgmsg?, #drawMenuBar, #eachChild, #enabled=, #enabled?, #focus=, #focus?, #invalidate, #location, #location=, #long, #menu, #menu=, #message, #paint, #position, #position=, #postmsg, #question, #rect, #reframe, #sendmsg, #size, #size=, #style, #style?, #text, #text=, #textlen, #topmost=, #topmost?, #update, #visible=, #visible?, #xstyle, #xstyle?
Methods included from Toggle
Constructor Details
This class inherits a constructor from Fzeet::FindReplaceDialog
Instance Method Details
#show(window = Application.window) ⇒ Object
147 148 149 150 151 152 153 154 155 156 |
# File 'lib/fzeet/windows/comdlg/FindReplaceDialog.rb', line 147 def show(window = Application.window) @struct[:hwndOwner] = window.handle @handle = Windows.DetonateLastError(FFI::Pointer::NULL, :FindText, @struct) self.dialog = true window.on(FindReplaceDialog::Message, &method(:frProc)) self end |