03-16-2012 05:10 AM
03-16-2012 02:29 PM
Yes, it looks like this was an oversight, and therefore a bug. We'll fix it soon (bug id = 343989).
In the meanwhile, since you have the source code for this function (.\toolslib\toolbox\toolbox.c), you can make the fix yourself. Simply add CTRL_RECESSED_MENU_RING_LS to the switch statement (you might have to tweak the value of extraRingWidth until it looks right to you).
Whenever you do modify toolbox.c, you should regenerate msvc\toolbox.obj and msvc64\toolbox.obj (Options>>Create Object File) and then restart CVI.
Luis
03-16-2012 05:10 PM
03-19-2012 12:37 PM
Did you try simply removing toolbox.o to see if cvicc would automatically recompile toolbox.c? (My guess is that it would, although I don't have a test machine here to test it out)
Luis
03-20-2012 11:10 AM
03-20-2012 11:10 AM
03-20-2012 02:46 PM
I was able to compile it by also using Michael's gcc command in the post that you linked to. The only difference is that I added the -c flag, so that gcc wouldn't try to link. If you don't use that option you should still not see any compile errors, but you do see a lot of link errors.
gcc -c -fPIC -O2 -D_REENTRANT -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -I./include -I./toolslib/toolbox-I./toolslib/custctrl/custsupp toolslib/toolbox/toolbox.c -o toolslib/toolbox/toolbox.o
Luis
03-23-2012 06:40 AM