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 » some questions. (freeware version) Collapse All
Subject Author Date
Jonas G Jul 27, 2003 - 1:55 PM

1. Run the ProfStudio example (the sample that can be downloaded from the first page). Try to dock a toolwindow onto another, the application crashes.

2. Create a class derived from CExtControlBar with two controls on it,
Run the program, CExtControlBar::OnSize(nType, cx, cy); will now report an ASSERTION

3. CExtStatusControlBar is grey, except for the resize grip at the bottom right corner. Should it look like that?

4. It seems like CExtControlBar changes the size of the control (ctreectl) created on it. I want to manage the size myself (in OnSize), is that possible?

Sergiy Lavrynenko Jul 28, 2003 - 4:08 AM

Dear Jonas,

Thank you for your interest.
Sorry for temporary inconvenience with our web site.

1. Run the ProfStudio example (the sample that can be downloaded from the first page). Try to dock a toolwindow onto another, the application crashes.

Yes, I have found this bug. It deals with complex floating palettes with each of which containing several bars. We will release a hot-fixed version of the library soon.

2. Create a class derived from CExtControlBar with two controls on it,
Run the program, CExtControlBar::OnSize(nType, cx, cy); will now report an ASSERTION


I think it isn’t a good idea. The resizable bar is designed to hold only one window inside. This may be a dialog with multiply controls inside. You can use the CExtResizableDialog dialog with its inner controls anchored to its borders.

3. CExtStatusControlBar is grey, except for the resize grip at the bottom right corner. Should it look like that?

The status bar has the following colors:
- COLOR_3DFACE system color when the Office 2000 style is used
- the color of the toolbar’s background when the Office XP style is used, which is not exactly gray
- COLOR_3DFACE system color when the Office 2003 style is used on non Windows XP systems or on Windows XP with the Classic Windows style selected
- the color based on the selected Windows XP theme (except the Classic Windows theme has been selected).

The color of the right corner (gripper) should not be different from the status bar’s background color. If you have something else, please let me know (OS version(s), which version(s) of VC++ you use).

4. It seems like CExtControlBar changes the size of the control (ctreectl) created on it. I want to manage the size myself (in OnSize), is that possible?

Reposition of the single child is performed with the CExtControlBar::OnRepositionSingleChild() method which is virtual. So you can use your own class derived from CExtControlBar and implement this method. But I don’t see any reason for that.

Best regards, Sergiy.

Jonas G Jul 28, 2003 - 1:50 PM

Thanks for the reply.

Regarding 2 and 4.

imho it’s up to the programmer to decide what the bars should contain. There are numerous bars that use more than one control, just check out the search in windows or any of the explorer bars in internet explorer.

What I want to do is to have the ctabctrl and ctreectrl in a bar. Is CExtResizableDialog the way to do it?

3. I got winxp with the standard colors and the standard theme. The gripper (down/right) is the regular blue color and the statusbar is gray. I can email a screenshot if you want to.



Im using the library in a non profit project. The library is a bit too expensive for me. It would be nice if you got a personal edition/licence, or something like that, that the documentation comes with.

keep up the good work.

Sergiy Lavrynenko Aug 1, 2003 - 10:38 AM

Dear Jonas,

I agree with you: The only programmer should decide what he/she needs.

But to have a single window inside the resizable bar is important for implementing the auto-hide algorithm. When the control bar is auto hidden and the user opens a sliding window from the grouped tab-area, in fact, the bar is hidden, but its single child window just temporarily moves inside the sliding window.

If you need a window similar to the property sheet, you can use CExtResizablePropertySheet as a child window inside frame view or any other window (see the ResizablePropertySheet sample). Additionaly, I can send you a letter with a sample of how to use the property sheet like a window that is based on CExtTabWnd.

Best regards,
Sergiy.