Solved

Delphi Configuration

Posted on 2003-11-28
6
343 Views
Last Modified: 2010-04-05
Hey,
My Dev box just died and I had to re-install Delphi 5. When I did the reinstall the tools and environment option pallets/windows are truncated and you cant see anything. I was told once that there was a fix for this without having to re-install.

Anyone have a quick and easy answer..?

Q2
0
Comment
Question by:quantum2
  • 4
  • 2
6 Comments
 
LVL 1

Author Comment

by:quantum2
ID: 9839893
I need some code that will take a screen shot in the following manner.

1- I want my application window to be the size of the screen shot
2- when I move my window to any area of the desktop I want to to take a new screen shot of the desk top and display it on my form. (The Form Drag  shold trigger the new screen shot)
3- The screenshot should be the size of just my window and the desktop directly under my window only (not the entire desktop)
4- The screenshot area should be adjustable based on the size of the window of my application minus the title bar of my window. (If I re-size my window the screen shot area should increase).

I have pieces working, but cant get it all together. 300 pts for a clean working solution

0
 
LVL 3

Accepted Solution

by:
SteveWaite earned 300 total points
ID: 9841005
delete the file <yourprojname>.dsk to get the default view.

Seems too big to just paste here but sounds like u need to write a component with subclassing. Handle the messages in HookWndProc (lots of examples about) and draw the desktop onto the form canvas in the paint message. Handle the hittest and any other messages there as well.

Regards
Steve
0
 
LVL 1

Author Comment

by:quantum2
ID: 9841164
Sorry...
Accidently posted two questions into one question. If the fix for the environment works I will still award the 300
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 1

Author Comment

by:quantum2
ID: 9841180
Ok....
This isnt a project releated view thing. I just re-installed Delphi 5 fresh. When I did, I went to go configure my compiler options. When I selected Tools/Environment the window displayed, but you cant see anything as the window is too small. I cant see any of the options in the window so I cant configure my environment.

ANy suggestions before I re-re install..?

Q2
0
 
LVL 1

Author Comment

by:quantum2
ID: 9841204
Hey...
I went in and deleted the basic *.DSK and that worked. For whatever reason, Delphi, when installed didnt load the right parameters. So this worked. You saved me a ton of time in having to re-install  Delphi...

Thanks for the help. This was originally a 50 pt question, but since I goofed and and added a second question to my original, I am sticking with the 300.

Thanks again

Q2
0
 
LVL 3

Expert Comment

by:SteveWaite
ID: 9841221
glad to have helped, since u may have reinstalled and found the view still corrupted
:-)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question