Solved

Delphi Configuration

Posted on 2003-11-28
6
334 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 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