yylibra61
asked on
DialogBar created with missing Gripper (MFC CDialogBar)
I tried to create a dialog bar (derived from CDialogBar) with
CDialogBar::Create(m_pMain Frame, IDD_DIALOGBAR,
CBRS_BOTTOM | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_HIDE_INPLACE; IDD_VIEW_DIALOGBAR))
Dialog Bar created fine but no Gripper. Any ideas? Thanks!
CDialogBar::Create(m_pMain
CBRS_BOTTOM | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_HIDE_INPLACE; IDD_VIEW_DIALOGBAR))
Dialog Bar created fine but no Gripper. Any ideas? Thanks!
for the gripper, either you need to do an owner-draw or you can use this class http://www.codeproject.com/docking/sizecbar.asp
Check the border style of the dialog resource in the resource editor - I think you would require it to be resizing, not dialog (default value)
ASKER
Hi,
I checked resource and made sure the Border is set to resizing. Still no luck.
Thanks anyway
I checked resource and made sure the Border is set to resizing. Still no luck.
Thanks anyway
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
8-) !