Notifications
Clear all

[Closed] Accesing to Motion Panel text boxes

 lo1

fn setCheckBoxState hwnd state = 
(	
	local BN_CLICKED =0
	local BM_SETCHECK = 241
	local WM_COMMAND = 273
		
	local parent = UIAccessor.getParentWindow hwnd
	local id = UIAccessor.getWindowResourceID hwnd
		
	windows.sendMessage hwnd BM_SETCHECK (if state then 1 else 0) 0
	windows.sendMessage parent WM_COMMAND ((bit.shift BN_CLICKED 16) + id) hwnd	
	ok
)

discalimer: This is someone elses function, can’t remember who. Possibly Denis.

it’s absolutely correct and not main.

Denis, thank you, it worked perfectly. You saved my team animator

Page 2 / 2