For a control of a control in other software in other software, hclientWindow, hwindow: thandwindow, hwindow: thandle; begin // enabled; hwindow: = windowFromPoint (PMOUSE); Windows.ScreenToClient (hwindow, pmouse ); hClientWindow: = ChildWindowFromPoint (hWindow, pMouse); if hClientWindow <> 0 then hWindow: = hClientWindow; EnableWindow (hWindow, true); SendMessage (hWindow, BM_SETCHECK, 1, 0); // EnableWindow (hWindow, false); // sendMessage (Handle, BM_SETCHECK, INTEGER (CHECKED), 0);
There is SendMessage to change DropDownPostMessage (cmb.handle, cb_showdropdown, 1, 0); // Set to drop the way Postmessage (CMB.Handle, CB_SETCURSEL, 1, 0); // Specify the current subscript 1