Center Form on *available* desktop area
Centers a form in the part of your desktop not taken up by the taskbar or other system toolbars. If toolbars take up half the screen, no problem. If they are on the sides or the top, no problem.
AI
AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Source Code
'Place this in Form_Load() or wherever else you think it is appropriate ;) CenterInWorkArea Me The compressed file here includes a .cpp file that is HEAVILY commented explaining each and every line. Here, i will explain to you how to open them ;-) First off... you have to open the file with a decompression program (the most popular is Winzip). Then, expand the file to your desktop, or any other folder you want. On your C++ program, Go to File -> Open. Note: On Visual C++, when you build the file it is going to give you a message box about a workspace thing.. just press Yes. and then you're done! Upload
Original Comments (3)
Recovered from Wayback Machine