11-07-2013 06:03 PM
I cross-compiled an older, running Windows CE application with a tiny change using LV 2011 touchpanel module. The original released WinCE app had been compiled under LV 2011.
I discovered that the new WinCE compile had corrupted resources - most of the buttons would not display their text properly, the edges were not visible. I tried the LV2012 version of the Touchpanel module, same issue.
After many false trails, I discovered that LV2011 with Touchpanel module running on the Windows 7 platform was corrupting the WinCE resources.
I switched to an older PC running Windows XP SP3 and LV2011 with the Touchpanel module. That made the WindowsCE button images look correct.
Hope this helps someone else.
11-07-2013 06:14 PM
Windows 7 has larger system fonts than WinXP did. If you develop an app on Win XP using a system font, and then open it in Win7, you'll see things like font sizes and buttons sizes will be different. Even on the block diagram, things like bundle clusters will be different because the larger font spreads apart the terminals.
Perhaps that is what you are seeing here. Since WinCE is an older OS from around the time of XP, the fonts it uses are probably more like WinXP's fonts.
11-11-2013 03:02 PM
Thanks for the thoughts, Ravens.
I did change some button fonts from 24pt to 18pt or 14pt and recompiled under the Win7 OS.
The buttons still did not display the entire text even though there appeared to be plenty of room. It was like some buttons wanted an inch of text-free background at the left and right edges. Other buttons showed text out to within 1/4 inch of the edges.
One button had a dotted-line font showing even though the font was the same as on other buttons.
One control displayed the label even after its property was changed to not visible in the code - the control was not there, just the label.
There are some issues there for sure. I plan to avoid changing the WinCE app in the future on those legacy products.
Happily the WinXP compile addressed all these anomalies.