class Fzeet::ListViewMethods::ExStyle

Public Class Methods

new(listview) click to toggle source
# File lib/fzeet/windows/comctl/ListView.rb, line 339
def initialize(listview) @listview = listview end

Public Instance Methods

<<(xstyle) click to toggle source
# File lib/fzeet/windows/comctl/ListView.rb, line 341
def <<(xstyle)
        @listview.sendmsg(:setextendedlistviewstyle, 0,
                @listview.sendmsg(:getextendedlistviewstyle) | Fzeet.constant(xstyle, *@listview.class::Prefix[:xstyle])
        )

        self
end
>>(xstyle) click to toggle source
# File lib/fzeet/windows/comctl/ListView.rb, line 349
def >>(xstyle)
        @listview.sendmsg(:setextendedlistviewstyle, 0,
                @listview.sendmsg(:getextendedlistviewstyle) & ~Fzeet.constant(xstyle, *@listview.class::Prefix[:xstyle])
        )

        self
end
toggle(what) click to toggle source
# File lib/fzeet/windows/comctl/ListView.rb, line 357
def toggle(what) send((@listview.xstyle?(what)) ? :>> : :<<, what); self end