Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange registry key

Status
Not open for further replies.

imagenetics

Programmer
Dec 8, 2003
66
PL
I've build an application that DOESN'T do anything with the registry, it hasn't even "Registry.hpp" included. However, when I execute this program, a registry key "frmNewCustomSize" is being created under HKEY_CURRENT_USER\Software. The key includes string value of screen resolution (my app indeed resizes its window to fit current resolution), and DWORD values named "Top" and "Left". It's strange because, as I said, there's no registry acces in my code and even the form is not named "frmNew".

But I programmed the main form in OnCreate to
Top = 0;
Left = 0;
Width = Screen->Width;
Height = Screen->Height;

What's going on?!
 
Do you include any libraries?

It could be that some library sets that key but i could just as well be the OS that records another setting that default and erases that setting later.

Totte
Keep making it perfect and it will end up broken.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top