scorpion007
@scorpion007
New Member
Joined: Feb 14, 2024
Topics: 29 / Replies: 137
Reply
RE: max version detection ?

Hmmm… perhaps the newer versions of max store the per-user path in the registry? Presumably in the HKCU hive. Might be worth checking.

17 years ago
Forum
Reply
RE: max version detection ?

Just to further elaborate on what ZeBoxx said, you can query the local appdata path using SHGetFolderPath or SHGetSpecialFolderPath, with CSIDL_LOCAL_…

17 years ago
Forum
Reply
RE: max version detection ?

What if max isn’t installed in program files? I’d suggest querying the registry keys, starting from the latest version you support going down, until …

17 years ago
Forum
Reply
RE: Merging .MS Files

open a cmd.exe and type: copy *.ms destination.ms That will concatenate all .ms files into 1 file.

17 years ago
Forum
Reply
RE: Replace Token's in a string

Here’s the replace function I wrote for maxToR a while back: — replace all occurances of ‘old’ with ‘new’ in ‘str’. — returns a new string …

17 years ago
Forum
Reply
RE: MaxScript Suggestions

Well, sure. You can organize related tools in their own toolbars, and save the set out as a .cui file. E.g. you might have: a Rendering toolbar a M…

17 years ago
Forum
Reply
RE: MaxScript Suggestions

RustyKnight: All that you say is true, but you can’t catagorise the items…ie order them … You most definitely can order them Just drag the butt…

17 years ago
Forum
Reply
RE: MaxScript Suggestions

It seems your users don’t understand macroscripts The opposite is true. If you had ‘normal maxscripts’ that aren’t action items you would have to run…

17 years ago
Forum
Reply
RE: MaxScript Suggestions

RustyKnight: and you cann’t add plain “max script” either (you have to wrap it in a macro first) Curious, what problem would “plain max script”…

17 years ago
Forum
Reply
RE: SDK: C++ Design question…

You could redesign it so there’s a one-way dependency, instead of a circular one. Otherwise, sure, forward declare it.

17 years ago
Forum
Reply
RE: Max SDK and Material Editor

I don’t remember exactly, but you can try handling ParamDlg::ActivateDlg() which might tell you when you get/lose focus.

17 years ago
Forum
Reply
Reply
RE: c++

wamo: and i thought that maxscript isn’t enough to stand mass and phisyic issues,so am i right? Maxscript is enough to do a lot of things. You sh…

17 years ago
Forum
Reply
RE: c++

Of course there’s a difference. One is managed, the other is not. The managed one needs an additional runtime for support routines. (Additional meanin…

17 years ago
Forum
Reply
RE: SDK: Resizing IRollupPanels

Sure, if all you want to is read the width at runtime, that’s safe and easy to do. Use GetClientRect or GetWindowRect. In this case it shouldn’t matt…

17 years ago
Forum
Page 2 / 12