Although your instincts may tell you otherwise, this is not how memory management[^] works. Your application has an internel working set[^] of memory. The operating system uses this extra memory to make your application faster since the memory is already allocated but simply marked as "stand-by". When you free your memory it does not mean your working set will decrease in size. The memory is simply marked as "not needed now, but maybe later" or "standby". I hope this makes sense.
It is possible to force all standby memory to be released by calling the SetProcessWorkingSetSize Function[^] with -1 for both arguments although its not recommended. It required the PROCESS_SET_QUOTA access right. You can severly harm application performance by abusing SetProcessWorkingSetSize. Note that this technique is not recommended for most applications.
I need help for coloring the CTabCtrl Window to white in MFC.
Actually I have a Tab control having Two tabs,I have not added Property pages, just put some controls like Edit box and Radio buttons on Tab control and on click of Each tab I am just hiding and showing some controls.
I want to make Tab control color white..
Please give me some sample code or some link for help..