Solved

Delphi Configuration

Posted on 2003-11-28
6
328 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi with SQL Natvie Client 15 86
Newbie Thread Programming 1 139
Virtuailstring tree add node to another virtuailstring tree list 4 105
Firemonkey webbrowser scrollbars ? 1 29
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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

896 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now