Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Error in 'Add Event Handler...' - looking in wrong directory? Collapse All
Subject Author Date
Darren Oliver Oct 11, 2005 - 9:20 AM

Am trying to add a popup context menu in VC++, when I right click on the menu in the Resource Viewer and select ’Add Event Handler...’, I get the error message:



Error in OnSelectMessageType: Cannot access directory or file ’c:\program files\foss sofware inc\include\extcmdmanager.h’ for writing


Prof-UIS is installed on ’D:\Program Files\Prof-UIS’.  Is it really expecting to modify that file?


Thanks ahead of time!

Technical Support Oct 11, 2005 - 1:57 PM

Please provide us with more details of this problem. How many projects do you have in the solution? Whether the menu is in the resource of the startup project? Can this problem be reproduced in any of Prof-UIS samples?

Darren Oliver Oct 12, 2005 - 2:33 PM

I think this is a self-induced silliness issue.  The problem is replicated in the resource editor, where if I have a menu:



_POPUP_


<command>


<command>


<submenu>   -> ...


<command>


 


What I did was right-click the "_POPUP_" or "<submenu>" item and issue the ’Add Event Handler...’ command and that’s when I get the funny error.


Of course, when I selected the <command> items, which I should have, it worked as per normal.


 

Technical Support Oct 13, 2005 - 4:35 AM

Thank you for the detailed description of the problem. We tried to reproduce it in context menu resources of the ProfStudio sample application with no success. So, we need your help to reproduce the problem either in your test application or in some of our samples. This will allow us to quickly find a solution to the problem solution or fix a bug if any.