fix issue, then it wasn't possible to remove functional blocks from
project using right click and popup menu.
The problem is that, PopupMenu was called using IDEFrame object and as
a result item in ProjectTree loosed focus and focus went to IDEFrame.
Therefore later functions couldn't detect which item in ProjectTree
was selected.
int CheckRetainBuffer(void){ return 1;}void ValidateRetainBuffer(void){}void InValidateRetainBuffer(void){}void Retain(unsigned int offset, unsigned int count, void *p){}void Remind(unsigned int offset, unsigned int count, void *p){}