Solved

Delphi Configuration

Posted on 2003-11-28
6
320 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
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 video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

705 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