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 Tech Support » Tab control does not go all the way to the right side of the dialog Collapse All
Subject Author Date
Offer Har Jun 18, 2008 - 3:21 PM

I have a tab control in a dialog, and in the resource editor, the tab control width is exactly as the dialog’s width.


I use anchor in my dialog (CExtNCW<CExtResizableDialog>) so that the width of the tab will stay with the dialog’s width:



    AddAnchor(m_ctrlTab,        __RDA_KEEP,    __RDA_XY);

I still get a 2 pixel gap on the right side of the tab control. You can see it clearly in the images below: