Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.9K
1 Posted Topic
Here is the code for enabling and disabling the close "x" button, Use a flag variable to toggle the state. if (flag == true) { EnableMenuItem(GetSystemMenu(this.Handle, false), SC_CLOSE, MF_ENABLED); } else { EnableMenuItem(GetSystemMenu(this.Handle, false), SC_CLOSE, MF_GRAYED); }
The End.
v_sirigiri