You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, I am currently programming an application that automatically opens, screenshots, and closes .nif files by opening the files in a program called NifSkope that you can find on here (specifically, Nifskope dev 2 version 7). TLDR: I need to allow the user to automatically adjust the camera in Nifskope because the .nifs don't always load in an ideal position. That means I need access to the buttons.
So I have written code to retrieve each button in an element array, but for some confusing reason, when I attempt to get the bounding rectangle property of a button, instead of returning a tagRECT, it returns an array of doubles. The documentation says that tagRECTS has four integer values, so it's confusing as to why it would return a double array. But it's a bad thing-integers are not floating point numbers, but are used as parameters for both points, rectangles and sizes in c#, for one. Doubles aren't. For another, it's causing a runtime exception. I'd appreciate some explanation as to what is occurring. I'm writing this in c# using windows forms.
The text was updated successfully, but these errors were encountered:
So, I am currently programming an application that automatically opens, screenshots, and closes .nif files by opening the files in a program called NifSkope that you can find on here (specifically, Nifskope dev 2 version 7). TLDR: I need to allow the user to automatically adjust the camera in Nifskope because the .nifs don't always load in an ideal position. That means I need access to the buttons.
So I have written code to retrieve each button in an element array, but for some confusing reason, when I attempt to get the bounding rectangle property of a button, instead of returning a tagRECT, it returns an array of doubles. The documentation says that tagRECTS has four integer values, so it's confusing as to why it would return a double array. But it's a bad thing-integers are not floating point numbers, but are used as parameters for both points, rectangles and sizes in c#, for one. Doubles aren't. For another, it's causing a runtime exception. I'd appreciate some explanation as to what is occurring. I'm writing this in c# using windows forms.
The text was updated successfully, but these errors were encountered: