Print Page | Close Window

CDialogBar - Prof-UIS

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7597
Printed Date: 10 June 2025 at 5:07pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CDialogBar - Prof-UIS
Posted By: Kenneth
Subject: CDialogBar - Prof-UIS
Date Posted: 13 July 2007 at 4:22pm
I was referred by a colleague to a description of a Microsoft like CDialogBar supported by another toolkit vendor.  It is not possible from the description/demo to see if the class supports InitDialog, DDX and resizable attributes, which most desirable CDialogBar derivatives do, but it sounds and looks as if it does.  Any chance of getting something like this in ToolKitPro?
 
The following is a description of this class from their website:
 
"In Prof-UIS, there is a CExtPanelControlBar class that has similar features to MFC's CDialogBar. CExtPanelControlBar implements a toolbar-like window, which owns only one child window and has a size that is determined by the size of this child window. In most cases the panel control bar is used as a dialog container.

In the FixedSizePanels sample application you can find that the m_wndPanelDialog property of CMainFrame, which is created in CMainFrame::OnCreate() is an instance of the CExtPanelControlBar class. The m_dlgForPanelDialog property of the main frame is a child dialog whose parent window is m_wndPanelDialog."




Replies:
Posted By: Oleg
Date Posted: 16 July 2007 at 1:04am
Hi,
Form description I see that it works like our Bar - just container for another CDialog. I can't understand why its problem for you - you only need create additional dialog with all DDX, etc and put it to CDialogBar.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Kenneth
Date Posted: 16 July 2007 at 8:56am

I downloaded and tested the Prof-UIS bar and it is like a real Microsoft CDialogBar with theme support.  That is, I can make a bar the same height as a CDialogBar.  With the Codejock CXTPDialogBar I end up with a double height bar; the first bar is more like a caption bar, followed below by the dialog bar itself.

Perhaps I do not understand how the CXTPDialogBar works and I am not setting it up correctly.  Below is an image that contains two images.  The top one is my attempt to create a CXTPDialogBar with some buttons.  I end up with "two" bars; the top being more like a caption bar, the second being the dialogbar itself.  What I really want is one much like the second image, a single bar containing the buttons.
 
The double bar height perhaps is not all that bad if you only had one bar per window, but if you have several, a lot of space is wasted when compared with a normal Microsoft CDialogBar. 
 
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net