Re: [AD] problems with set_close_button(int enable)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Javier GonzÓlez <xaviergonz@xxxxxxxxxx> writes:

> Hello, looking thru the windows documentation to make that function, i came
> across the
> problem that the disable close button can ONLY be made thru a parameter of
> the class.
> what this means is that the close button can only be disabled or enabled
> when creating
> the window, but not when it's already created, since there's no way to
> change Window classes
> parameters once registered, you can only get info on them with GetClassInfo,

AFAIK, there is SetWindowLong for changing window attributes.

-- 
Michael Bukin



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/