conradbenzin
@conradbenzin
New Member
Joined: Feb 15, 2024
Topics: 9 / Replies: 65
Reply
RE: Drag and drop from winform to material editor

thank you, i will try to get something out of what you pointed i understand it will be almost impossible with my knowledge but i will try

5 years ago
Forum
Reply
RE: Drag and drop from winform to material editor

do you know if i can send an hotkey (eg spacebar) event by using this function to trigger a textbox under the mouse cursor in the sme? i tried with s…

5 years ago
Forum
Reply
RE: Drag and drop from winform to material editor

yes, i’m aware of this. but at least this wouldn’t require the hardcoded hwnd which in my case didn’t happened to work. this would not work for any ot…

5 years ago
Forum
Reply
RE: Drag and drop from winform to material editor

thanks sergey, i ended up with this one since the hardcoded hwnd is not the way to go since it will change at every max instance. this should work, …

5 years ago
Forum
Reply
RE: Drag and drop from winform to material editor

hi, i’m trying to make it work on the sme and this is the test with the sme hwnds g = (dotNetClass “Autodesk.Max.GlobalInterface”).Instance slate_…

5 years ago
Forum
Reply
RE: Get controls of sme from handle (DotNet) to dock a custom form to sme

i totally don’t understand this thing but if you print a classof theParent[1] you will see it si already an intPtr the “smeControl” is not a windows….

5 years ago
Forum
Reply
RE: Assign material to materialbutton

hi this is what i ended up thinking should work. but it doesn’t. this is the code from the pinvoke link SetWindowLong(Handle, GWL_EXSTYLE, GetWindow…

5 years ago
Forum
Reply
RE: Assign material to materialbutton

that’s quite an advanced thing, i tried too but no luck, maybe it’s needed to learn c++ and sdk, i had a look at the reference sdk but it’s quite over…

5 years ago
Forum
Reply
RE: Assign material to materialbutton

wow, how do you get the windows.sendMessage w[1] 0x201 1 0 is it something from c#? can it be used any time you need to “click” a button in a hwnd?

5 years ago
Forum
Reply
RE: Assign material to materialbutton

something like this should work Rollout dragmat “Mat Drop” ( materialbutton choosemtl “The Material” on dragmat open do choosemtl.material = VRayM…

5 years ago
Forum
Topic
Forum
Replies: 0
Views: 70
Reply
RE: Toolbar ICustButton inconsistent state

i wrote you a pm, can you please check?

6 years ago
Forum
Reply
RE: Toolbar ICustButton inconsistent state

my problem is the icustbutton id which i can’t set so i can’t use the GetICustButton(int id) because id is always 0.

6 years ago
Forum
Reply
RE: Toolbar ICustButton inconsistent state

hi, i managed to make some buttons, however i can’t set the id of the icustbutton no matter what, and so i can’t use any mewthod on it (neither delete…

6 years ago
Forum
Page 5 / 5