How to enable/disable minimize/maximize buttons on

Ljubisa Knezevic
Tue Jun 23 23:11:55 PDT 2009


--- In BCX at yahoogroups.com, "Michael S. Sanders" <mike at ...> wrote:
>
>  
> > I can remove minimize/maximize buttons by modifying window style...
> 
> Ahh... I've just read this. So maybe my
> AutoToggleSysMenu() is of no use here.
> 
> Well, it looks as though I don't know of
> any other way to help.
> 
> --
> Later on,
> Mike
>

Thanks for help Mike! I've done an intensive search for this topic and found that many people have asked similar question but found no usable answer. 

It's not impossible since I have seen some app doing this (including NET apps).

Only clue I have found that this may be possible by messing around with WM_NCPAINT message but this is a lot more effort than I'm ready to give right now for this feature.

Sample:
http://read.pudn.com/downloads/sourcecode/windows/control/1560/CustomCaption/Caption.cpp__.htm


Ljubisa


           



More information about the BCX mailing list