Cdock terminal3/12/2023 ![]() Virtual CToolBar* GetToolBar() const Returns a pointer toĬWnd* GetView() const Returns a pointer to the LPCTSTR GetTabText() const Returns the text for HICON GetTabIcon() const Returns the icon handle Virtual SIZE GetMaxTabTextSize() Returns the size (width and height) of the caption Which contains the text displayed in the caption of a docked Virtual int GetContainerIndex(CDockContainer* pContainer) Returns the tab index of theĬDockContainer* GetContainerParent() const Returns a pointer to theĬontainer which is the parent of this container group.ĬString& GetDockCaption() const Returns the CString Virtual CDockContainer* GetContainerFromView(CWnd* pView) const Returns a pointer to the Virtual CDockContainer* GetContainerFromIndex(UINT nPage) Returns a pointer to the Std::vector* GetAllContainers() const Returns a reference to View window for the currently active container. Virtual void AddToolBarButton(UINT nID, BOOL bEnabled = TRUE) Adds a resource ID to theĬDockContainer* GetActiveContainer() const Returns a pointer to theĬWnd* GetActiveView() const Returns a pointer to the Set bInsert to TRUE to insert theĬontainer as the first tab, or FALSE to add it as the last tab. Virtual void AddContainer(CDockContainer* pContainer, BOOL bInsert = FALSE) Adds the specifiedĬontainer as a child to this container. Window, and are set in the same way as views for Frames and MDI children. Of a toolbar is optional, but when used they are set up in the same way asĬDockContainers have views of their own. TheseĪdditional features include Container within Container docking (where the newlyĭocked Container adds another tab), as well as additions to the dock targetingĪnd dock hinting visual cues. Whileĭockers allows any child window to be used as the view window, Containers addĪdditional features when used as the view window for Dockers. Is a tab control which has been designed to co-operate with docking. The CDockContainer class adds "Containers" to the Win32++ framework.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |