Hi, I'm trying to replicate the Frame Window > Set Width/Height with "Adjust frame size" from Window Control object.
I've tried a action like this:
void Extension::SetWinSize(int value)
{
rhPtr->Frame->EditWinWidth = 1280;
rhPtr->Frame->EditWinHeight = 720;
}
But this just crashes the runtime. I'm sure it can be done since Window Control object does it, I just don't know how.
Any ideas?