Notifications
Clear all
[Closed] Accesing to Motion Panel text boxes
Page 2 / 2
Prev
May 05, 2011 1:41 pm
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.
Page 2 / 2
Prev