المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : I can disable Minimize, maximize box in windows using API but restore box.



C# Programming
11-03-2009, 10:00 AM
I use API following to disable minimize, maximize box in windows. But i can't do that with restore button. I'm quite confused.



SetWindowLong(hwnd, GWL_STYLE,0x16CC0000);


0x16CC0000: remove maximize, minimize box. But i can't find the other code for restore box.