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 » Tap painting question Collapse All
Subject Author Date
Gevork Odabashyan Jan 11, 2006 - 9:06 AM

Hellow


Tab in CExtResizablePropertySheet is not painted with gradient filling in Studio2005 user interface style. Can You correct this lack of correspondence?


Thanks


 

Technical Support Jan 12, 2006 - 12:30 PM

The CExtResizablePropertySheet window is 100% compatible with the Prof-UIS paint manager only in the wizard mode. In tabbed mode, it uses the standard tab control. Alternatively, you can use any Prof-UIS tab page container instead.

Gevork Odabashyan Feb 28, 2006 - 10:19 AM

Can you show me example of using any Prof-UIS tab page container instead of standard tab control in CExtResizablePropertySheet?

Technical Support Mar 1, 2006 - 6:46 AM

Here is a sample project that is shows how to use CExtTabPageContainerWnd instead of CExtResizablePropertySheet.

Gevork Odabashyan Mar 2, 2006 - 11:26 AM

By the way, I detected another problem. I created test project with CExtResizablePropertySheet. Access violation appears during propery sheet creation.
The test project named "pshtest1.rar" was sended to support@prof-uis.com from . To activate test propery sheet create new document view and make a doubleclick.

Gevork Odabashyan Mar 2, 2006 - 11:09 AM

Thanks for quick anwer.

You sample is not correct. Try it in VS7.1 in "static MFC, ANSI" build configuration.

1. Some memory leaks have been detected. My dump was as follows:

Detected memory leaks!
Dumping objects ->
plex.cpp(32) : {85} normal block at 0x00D85218, 164 bytes long.
Data: < 1 l2 > D8 31 D8 00 F6 03 00 00 08 00 00 00 6C 32 D8 00
plex.cpp(32) : {84} normal block at 0x00D831D8, 164 bytes long.
Data: < 0 1 > F8 30 D8 00 EF 03 00 00 10 00 00 00 8C 31 D8 00
plex.cpp(32) : {83} normal block at 0x00D830F8, 164 bytes long.
Data: < > 00 00 00 00 E8 03 00 00 0F 00 00 00 00 00 00 00
{82} normal block at 0x00D83078, 68 bytes long.
Data: < > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{81} normal block at 0x00D85110, 204 bytes long.
Data: <Y Z [ > 59 00 10 01 A4 00 10 14 5A 00 10 01 5B 00 10 01
{68} normal block at 0x00D85008, 204 bytes long.
Data: < :n $j > D4 D0 C8 00 3A 6E A5 00 0A 24 6A 00 80 80 80 00
c:\program files\foss software inc\prof-uis\src\extpaintmanager.cpp(98) : {51} client block at 0x00D82C88, subtype c0, 292 bytes long.
a CExtPaintManager object at $00D82C88, 292 bytes long
Object dump complete.

2. Try to add ShowSizeGrip( FALSE ) in CTestDlg::OnInitDialog(). The main dialog is still resizable.

Technical Support Mar 3, 2006 - 8:48 AM

It is just a sample which shows how to use CExtTabPageContainerWnd and nothing more. It is not even available in the our major sample set. We tested it and found no memory leaks and errors when it is compiled in the MBCS Debug configuration. If any memory does happen in your application, we will help you out with this.

As for ShowSizeGrip, this method is used to hide/show the resizing gripper. It does not modify the WS_THICKFRAME window style, which indicates whether the window is resizable. In case of dialogs, you need to set the Border property in the dialog editor to Dialog Frame.

In case of CExtResizablePropertySheet, the WS_THICKFRAME window style is turned on by default. To disable resizing, simply remove this style:

ModifyStyle( WS_THICKFRAME, 0 );
ShowSizeGrip( FALSE );