Solved

Delphi Configuration

Posted on 2003-11-28
6
354 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

728 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