class Fzeet::ComboBoxEx

Constants

Prefix

Public Class Methods

new(parent, id, opts = {}, &block) click to toggle source
Calls superclass method
# File lib/fzeet/windows/comctl/ComboBoxEx.rb, line 100
def initialize(parent, id, opts = {}, &block)
        super('ComboBoxEx32', parent, id, opts)

        @parent.on(:command, @id, &block) if block
end

Public Instance Methods

on(notification, &block) click to toggle source
# File lib/fzeet/windows/comctl/ComboBoxEx.rb, line 106
def on(notification, &block)
        if (notification = Fzeet.constant(notification, *self.class::Prefix[:notification])) < Windows::CBEN_LAST
                @parent.on(:command, @id, notification, &block)
        else
                @parent.on(:notify, @id, notification, &block)
        end

        self
end