| 610 | } |
| 611 | |
| 612 | void CScriptEditorDlg::OnUpdateOsirisPaste(CCmdUI *pCmdUI) { |
| 613 | // TODO: Add your command update UI handler code here |
| 614 | |
| 615 | // this doesn't work right...don't know why |
| 616 | if (IsClipboardFormatAvailable(CF_TEXT)) |
| 617 | pCmdUI->Enable(true); |
| 618 | else |
| 619 | pCmdUI->Enable(false); |
| 620 | } |