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 » ProfUIS 2.91, VC6.0 and disabling items menu. Collapse All
Subject Author Date
Eric Apr 21, 2011 - 12:06 PM

Hello,


we are currently migrating from ProfUIS 2.82 to ProfUIS 2.91 and we get an important regression : "Disabled items menu" are not greyed anymore. They are inactive but the text is not greyed and so it is really difficult to see that the item is really disabled. It is the case with all themes excepted with the "Office 2000" and "Native Windows XP / Vista/ 7" ones.


We have this issue when we compile our products with VC6.0 but not when we do it on VC 2010. We are also currently migrating to VC 2010 but we would like to be able to these migrations in two steps.


Do you have any ideas ??


Regards,

Eric Apr 26, 2011 - 10:38 AM

Hello,


As explained before, I HAVE to change Struct Alignment Member setting, so do not change this setting is not possible.


And when I have change it, I have change it both in our projects and while generating the profUIS lib. Moreover, when I did the test with your sample app, I regenerated the profUIS lib with the Struct Alignment Member equal to 1 and recompiled the sample project with that setting set to 1 too. Anyway, if you don’t recompile both the lib and the target project with the same Struct Alignment Member value, you get crashes !!


Regards,

Eric Apr 26, 2011 - 9:31 AM

Hello,


I succeed to reproduce the issue using Prof-UIS sample apps but not by using your default settings.


The issue is related to the fact that we have to compile the Prof-UIS libs with a ’Struct Alignment Member’ equal to 1 in our products (Indeed, we depend of another library that force us to use this particular settings.).


I hope it will help. Do you have any ideas to solve our issue?


Regards,

Technical Support Apr 26, 2011 - 9:50 AM

Please do not change the Struct Alignment Member setting of your project or change it to equal value both in your project and ProfUISDLL or ProfUISLIB projects.

Eric Apr 21, 2011 - 2:26 PM

Hello,


This some screenshots got from our products:


- With Office 2010 (Black) => Do not work



- With Office 2007 (Luna-Blue) => Do not work



- With Native Windows XP/ Vista /7 => work



 


But this issue seems not to be only related to the items menu since I have the same kind of issue with disabled items in dialog:


- With Office 2007 (Luna-Blue) => Do not work




- With Native Windows XP/ Vista /7 => Do not work




 


I am using the default Windows desktop theme and all these use cases are working while compiling with VC 2010.


Regards,

Technical Support Apr 22, 2011 - 7:38 AM

We cannot reproduce this problem using Prof-UIS sample apps. And nobody reported it before yet. Did you try several PCs? Did you code your own paint manager class(es)?

Technical Support Apr 21, 2011 - 12:40 PM

We cannot confirm this problem. Probably it’s specific for your project. Could you please send us a screen shod demonstrating incorrectly painted disabled menu items? Which Windows desktop theme is used on your PC?