Class: Fzeet::ShellFolderDialog

Inherits:
Windows::FileOpenDialog
  • Object
show all
Includes:
ShellFileDialogMethods
Defined in:
lib/fzeet/windows/comdlg/ShellFileDialog.rb

Instance Method Summary collapse

Methods included from ShellFileDialogMethods

#Show, #item, #items, #path, #paths, #show

Constructor Details

#initialize(opts = {}) ⇒ ShellFolderDialog

Returns a new instance of ShellFolderDialog.



93
94
95
96
97
98
99
100
101
102
103
# File 'lib/fzeet/windows/comdlg/ShellFileDialog.rb', line 93

def initialize(opts = {})
	super()

	SetOptions(Windows::FOS_PICKFOLDERS)

	begin
		yield self
	ensure
		Release()
	end if block_given?
end