Link to home
Create AccountLog in
Avatar of yylibra61
yylibra61

asked on

DialogBar created with missing Gripper (MFC CDialogBar)

I tried to create a dialog bar (derived from CDialogBar) with
          CDialogBar::Create(m_pMainFrame, 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!
Avatar of Roshan Davis
Roshan Davis
Flag of United States of America image

for the gripper, either you need to do an owner-draw or you can use this class http://www.codeproject.com/docking/sizecbar.asp
Avatar of AndyAinscow
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)
Avatar of yylibra61
yylibra61

ASKER

Hi,
I checked resource and made sure the Border is set to resizing.  Still no luck.
Thanks anyway
ASKER CERTIFIED SOLUTION
Avatar of DanRollins
DanRollins
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
8-)  !