The Dink Network

Reply to Re: Dink Smallwood v1.08 Beta 3

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
November 29th 2005, 06:29 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Are the x and y variables of the window so hard to access or impossible to change by programming?

Not really. The hard part would be storing/retrieving them. I could:

a) Use the registry to store and retrieve the x and y coordinates. However, Dink doesn't access the registry at all right now, so I'd have to figure out how to create and retrieve the registry keys. And from what I can recall, the registry is not much fun to work with using raw C++.

b) Modify dinksmallwood.ini to store the x and y coordinates. Could break backwards compatibility with utilities like WinDinkedit.

c) Create a new .ini file to store the x and y coordinates.

In any case, I'd have to implement a fair share of error checking. What if the x and y coordinates have values that are not valid, and the Dink window would be off the screen?

Centering might be possible, but it runs the risk of messing up on computers with multiple monitors.

That, and it has to be extensively tested.

That's why I said it was too much work.