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 General Discussion » CExtResizablePropertySheet layout problem in Windows Vista Collapse All
Subject Author Date
Tatsuya Furukawa Oct 22, 2008 - 4:19 AM

I have a problem in Windows Vista. I made a wizard, derived from CExtResizablePropertySheet, which consists of 4 dialog pages derived from CExtResizablePropertyPage. Each dialog page has images and buttons. In Windows XP, each dialog page is correctly displayed in the pretty layout, but it is displayed in the wrong layout in Windows Vista. The bottom of the images and buttons located in the upper half disappears. The images and buttons are displayed in stuffed and overlapped, illustrated below.

Any hint for avoiding this problem?



     <<< Windows XP >>>                        <<< Windows Vista >>>

+-------------------------------------+      +--------------------------------------+

|   +----------+                             |        |   +----------+                               |

|   | image1 |                             |        |   | image1 |                               |

|   +----------+                             |        |   +----------+ <=== overlapped! 

|   +-----------+                            |        |   | button1 |                               |

|   | button1 |                              |        |                   <=== disappear!  |

|   +-----------+                            |        |---------------------------------------|<= separator

|--------------------------------------|        |            +-----------++----------+  |

|          +-----------+ +----------+  |        |            | button2 |  | button3 |  |

|           | button2 |  | button3 |  |        |           +-----------+ +----------+  |

|          +-----------+ +----------+  |        +-------------------------------------+

+-------------------------------------+

Tatsuya Furukawa Nov 13, 2008 - 12:54 AM

One more question,


The size of the dialog window between XP and Vista are different. In Vista, the height of the dialog window is smaller than XP, and the width is larger than XP. This happens with PROF-UIS only. This doesn’t happen without PROF-UIS. What does PROF-UIS process for the dialog window of CExtResizablePropertySheet and CExtResizablePropertyPage? Does PROF-UIS change the dialog window size and the layout of the controls? Would you please give me any information on what the PROF-UIS is doing on the dialog window of CExtResizablePropertySheet and CExtResizablePropertyPage?

Technical Support Nov 17, 2008 - 11:01 AM

The incorrect layout of property sheet in your sample application is a known issue in Prof-UIS 2.83. It’s fixed in Prof-UIS 2.84.

Tatsuya Furukawa Nov 17, 2008 - 6:28 PM

If it is a known issue and is fixed in V.2.84, why does it take about one month to reply this answer?

Technical Support Nov 18, 2008 - 12:48 PM

Yes. It’s a known issue and we have fixed it in 2.84. Like most of e-mail servers on the Internet, ours have anti-spam subsystem which often eats non-spam e-mail. We are sorry for the delay with this reply.

Tatsuya Furukawa Dec 3, 2008 - 5:28 PM

I downloaded the v.2.84 files through Internet, and tried to put v2.84 into the build environment.

I used the v2.83 utility program named Integration Wizard, tried to build ProfUIS283m library.

Unfortunately, the program was abnormally terminated by an exception error.

Would you please let me know what I should do, or send me the installation image?

Technical Support Dec 4, 2008 - 12:36 PM

The ZIP file you have downloaded contains one folder called Prof-UIS and it has a lot of subfolders and files. The Prof-UIS library is by default is installed into the ProgramFilesFolder/Foss Software Inc/Prof-UIS. You should unpack the Prof-UIS folder from the downloaded ZIP file over the already installed Prof-UIS folder. Then you should build Prof-UIS library using Integration Wizard or open appropriate project file from the ProgramFilesFolder/Foss Software Inc/Prof-UIS/Workspace folder in your Visual Studio and compile required configurations of the ProfUISDLL and/or ProfUISLIB projects. As result the compiled ProfUIS284***.DLL and ProfUIS284***.LIB files will appear in appropriate ProgramFilesFolder/Foss Software Inc/Prof-UIS/Bin_*** folder which corresponds to your Visual Studio version. Then you should completely rebuild your Prof-UIS based projects. We recommend you to switch default locale of your Windows Vista to English, compile Prof-UIS libraries and then switch default locale back to your preferred locale setting. This may be required because the Visual Studio 2005 and Visual Studio 2008 have known crash/bug when opening/compiling resource files containing texts on many languages like Prof-UIS library resources.

Tatsuya Furukawa Dec 11, 2008 - 2:16 AM

Thank you for your update.


However, it failed again . The original problem does not disappear, i.e. nothing is changed in v2.84 for Vista with the test program. I could build ProfUIS284 by seting the locale to English. And I could re-build the test program with ProfUIS284. When I ran the test program on Vista, nothing was changed. I tried on both profuis284(2008-11-19).zip and profuis284(2008-11-24).zip, but the result was the same. Would you please tsend me he fixed executable test program with profuis284.dll?  I would like to confirm your fix in my Vista environment.

Technical Support Dec 11, 2008 - 1:15 PM

Here is the ZIP file with the compiled test project and screen shot:

http://www.prof-uis.com/download/forums/tmp/WizardSample.zip

We can connect to your computer remotely and try to clarify what’s wrong.

Tatsuya Furukawa Dec 11, 2008 - 7:28 PM

I did the test and failed again. The layout problem remains and nothing is changed in our system. Maybe the difference is caused by the difference of the system configuration. Our Vista is "Windows Vista Ultimate Japanese Version". Couldn’t you try on it? I found the other difference is that the dialog width displayed in your system is smaller than that in our system. Please confirm on "Windows Vista Japanese Version".

Technical Support Dec 15, 2008 - 9:49 AM

We changed the default language of Windows Vista Ultimate to Japanese and we found no problems with the property sheets. We suspect the problem is to do with something else. Did you change the default DPI settings of your desktop?

Tatsuya Furukawa Dec 15, 2008 - 10:16 PM

No, we didn’t change the default DPI setting. Our PC  is set to default scale (96 DPI), and has a problem. When I changed it to larger scale (120 DPI), the problem disappears, and the layout is changed to the correct one. Currently, I am confused very much. In your previous response, you said "It’s a known issue and we have fixed it in 2.84." What is your known issue? Is it the problem in 120 DPI, and did you fix it? Is there any problem in 96 DPI, and did you fix it? We have no problem in 96 DPI. Again, what did you fix? Would you please let me know what action did/will you take for our problem?

Technical Support Dec 23, 2008 - 8:59 AM

We cannot fix the problem because we cannot reproduce it. So the only way to fix it is by connecting to your desktop remotely and debugging the problem on the spot.


Tatsuya Furukawa Dec 23, 2008 - 10:00 PM

You didn’t answer to my question. Because you told me that our problem is a known issue and you had fixed it in 2.84, I asked you what you fixed in 2.84; the problem in 120 DPI or in 96DPI. Would you please answer to my question?

Technical Support Dec 24, 2008 - 1:36 PM

Yes. It occurred in your sample compiled with 2.83 and does not occur if we compile it with 2.84. That is why we asked you to provide us with ability to debug this sample on your computer remotely.


Tatsuya Furukawa Dec 25, 2008 - 8:53 PM

Again, you didn’t answer to my question. My question is "what did you fix; the problem in 120 DPI or in 96DPI." Let me ask you again. Did it occur in 96DPI?

Technical Support Dec 26, 2008 - 2:08 PM

We fixed both cases. Problem was not really related to DPI. Prof-UIS loads a dialog using its internal procedures. The problem occurred because the dialog template resource computed an incorrect caption size.



Tatsuya Furukawa Nov 12, 2008 - 6:16 PM

Dear Technical Support Team,

 


I tested the fixed version which you provided to us, and found nothing is changed, again.



The problem still remains, and the dialog appearance is same as original one.


I checked with all the executable files which are sent to us and contained in the sub-folder Old and New. All the test results are same.


Would you please give me the following?



 

1.       The screen capture of the fixed version in Vista

2.       The information on what is wrong and how did you fix it in details

 

You should put the same information described in your e-mail into the Forum for other users!

Please put the all correspondence with me into the Forum!

 

Technical Support Nov 17, 2008 - 11:00 AM

We also tested it on several Vista copies including Business and Ultimate. The result is the same:

http://www.prof-uis.com/download/forums/WizardSample-FIXED-running-on-Vista.png

Just one note: the problem does not occurs only if your sample application is compiled with Prof-UIS v.2.84 rather than with v.2.83.
We can provide you with v.2.84 so you can compile your test/real project with it.

Tatsuya Furukawa Nov 17, 2008 - 6:24 PM

Would you please provide us with the following?


1. Prof-UIS v.2.84


2. The formal release date of v.2.84


3. Executable file of our test project which the problem does not occur

Technical Support Nov 18, 2008 - 10:54 AM

Please drop us an e-mail to the support mail box with this request so we will provide you with the download information.

Tatsuya Furukawa Nov 18, 2008 - 5:46 PM

I have already sent the request in the reply to your e-mail. Please confirm it. Thanks.

Technical Support Nov 20, 2008 - 4:11 AM

Yes, we received your e-mail and replied to it.

Tatsuya Furukawa Nov 12, 2008 - 1:59 AM

For your information, there is the additional information.


The size of the dialog window between XP and Vista are different. In Vista, the height of the dialog window is smaller than XP, and the width is larger than XP. It seems that the smaller height causes the wrong layout. The images are displayed in the right size with both XP and Vista. 

Tatsuya Furukawa Nov 10, 2008 - 5:11 PM

On 10/28, we sent you the sample code for reproducing the problem. Through e-mail, we received a fixed version of our project from you on 10/30. I requested its executable module in the previous message on 11/06. However, I have no response from you. Would you please respond to my request in the previous message? When you made a fixed version of our project on 10/30, did you reproduce the problem, and verify it is resolved by the fixed version? Please let me know?

Technical Support Nov 6, 2008 - 1:30 PM

Could you please re-send us your test project source code and compiled application (release build) to the support mail box at this web site?

Tatsuya Furukawa Nov 6, 2008 - 9:41 PM

I sent you the file you requested and containing the test project source code and compiled application through e-mail.


I have some requests to you. Please give us your compiled application


which you fixed the problem and the source code was sent to us a several days ago.

When you verified the problem fixed in Vista, which Vista mode was used in your side,

Windows Vista Aero, Classic, or Basic?

Tatsuya Furukawa Nov 4, 2008 - 6:24 PM

After re-building the code sent by you, we tried it on Windows Vista.

The problem seems not to be resolved. The problem still exists in Windows Vista.

It seems that there is something different from your test bed. We use Windows Vista Ultimate.

Would you please give me any idea on what is different,

and also let me know the meaning of the changes which you applied to the code?

Tatsuya Furukawa Oct 28, 2008 - 5:37 AM

I sent you the file containing the sample code for reproducing the problem by e-mail. Thanks,

Technical Support Oct 27, 2008 - 3:50 AM

We have just checked the ResizablePropertySheet sample on Windows Vista and must say that the CExtResizablePropertySheet and CExtResizablePropertyPage classes are working OK there. So, we guess the problem depends on the property sheet initialization code and specific to your project only. Could you reproduce the problem using the ResizablePropertySheet sample and send it to us? This will allow us to help you more effectively.