« April 2006 »
S M T W T F S
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
You are not logged in. Log in

Programming Tips
Wednesday, 5 April 2006
How to disable close button in the caption bar?
Mood:  cheeky
Topic: VC++
This is how we do it:

CMenu *pMenu = GetSystemMenu(FALSE);
pMenu->RemoveMenu(SC_CLOSE, MF_BYCOMMAND);

Yeap done!

Posted by Nibu babu thomas at 12:26 PM
Updated: Wednesday, 5 April 2006 3:05 PM

View Latest Entries