BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 BCGControlBar Pro for MFC Forums
 BCGControlBar Bugs and Problems
 Problem embedding CBCGPPropertySheet in a dialog
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  


4 Posts

Posted - 06/14/2022 :  01:02:24 AM  Show Profile  Reply with Quote
Hi there,

I have a CBCGPPropertySheet-based control with CBCGPPropertySheet::PropSheetLook_Pointer look embedded in a dialog.

The problem is that the CBCGPPropertySheet control has no buttons to scroll the tabs. At least, I found no way to do it. If I have, for example, 10 property pages, I can't get past 5 or 6 tab (depending on the control's size of course). The misbehavior can be reproduced in the PropertySheetDemo example.

Is there any way to fix the problem?

Thank in advanced.



4208 Posts

Posted - 06/14/2022 :  03:10:47 AM  Show Profile  Visit Support's Homepage  Reply with Quote

We're hiding the scroll buttons in the sample:

propSheet.GetTab().SetButtonsVisible(FALSE); <- simply comment this line

BTW, if you need to embed a property sheet in the dialog, please use CBCGPPropertySheetCtrl, not CBCGPPropertySheet (see PropertySheetDemo sample).

Best regards,

BCGSoft Technical Support
Go to Top of Page


4 Posts

Posted - 06/14/2022 :  06:19:45 AM  Show Profile  Reply with Quote
Sorry for misleading, I use CBCGPPropertySheetCtrl of course.

The SetButtonsVisible worked as expected, thanks!

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
BCGSoft Forums © Copyright (c) 1998-2022 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000