Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 14694, Workaround for BCB5 IDE main window "maximize" bug.

by Anthony Yeh Email: Anonymous

Download Details
FTP  download also available 0 bytes
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For C++Builder, Version 4.0  to 5.0 10 downloads
Copyright: No significant restrictions

Size: 0 bytes
Updated on Mon, 01 May 2000 00:00:00 GMT
Originally uploaded on Mon, 01 May 2000 00:00:00 GMT
Abstract: Workaround for BCB5 IDE "maximize" bug (81530)

When I try to save my current desktop configuration with the IDE
maximized, it works, but when I select it, the main IDE window does
not maximize, or "restores" itself, and may display incorrect button
glyphs (standard windows). If I minimize the main IDE window, and then
click its taskbar button, it becomes maximized.

This is due to a bug that has been present at least as far back as
BCB4. The procedure used to load a desktop (*.dst) file produces
incorrect results when the following conditions are true:

1. the main IDE window is currently maximized.
2. the desktop file being loaded specifies that the main IDE window
should be maximized.

When you save your desktop configuration, you are asked for a name. A
file is then created/modified in the '$(BCB)\Bin' directory, with the
name you supplied, and a '.dst' file extension. Open this file in a
text editor (e.g. Windows Notepad), and find the "Main Window"
section. Remove, or comment out (use the ';') all values of this
section EXCEPT 'Create', 'Visible', and 'State'. The "Main Window"
section, in its entirety, should now look like this:

[Main Window]


[Main Window]

save the file, return to the IDE, and select this custom desktop.
Repeat this for any other desktop files you have which must maximize
the main IDE window.

The next time you save the desktop from the IDE, BCB will regenerate
the *.dst file. Changes made to this file after it has been saved from
the IDE last until the next time it is saved.

The procedure suggested above will also correct this error for *.dsk
files generated by BCB4 or BCB5. However, since these files are
auto-saved by the IDE, changes will not "stick" the next time it is

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04