User Activity

  • Modified a comment on discussion Help on Win32++

    Hi David, Thank you very much for the update and the quick response. With regards to the SetDockCaption() if the text contains an ampersand &, this is transalated to an underscore _ like the menus... I consider this is not the intended behavour here. With regards to the SetTabText, this works only when SetOwnerDraw(TRUE) otherwise the new text is not taken into account. With regards to theCDocker::CDockClient i had to expose GetDocker in order to get the docker CDocker* GetDocker() { return m_pDocker;...

  • Posted a comment on discussion Help on Win32++

    Hi David, Thank you very much for the update and the quick response. With regards to the SetDockCaption() if the text contains an ampersand &, this is transalated to an underscore _ like the menus... I consider this is not the intended behavour here. With regards to the SetTabText, this works only when SetOwnerDraw(TRUE) otherwise the new text is not taken into account. With regards to theCDocker::CDockClient i had to expose GetDocker in order to get the docker CDocker* GetDocker() { return m_pDocker;...

  • Posted a comment on discussion Help on Win32++

    Hi David, I am trying to change the docker caption (docked and undocked) and the dock container tab text dynamically from within the view after creation (ie. think of the DockContainer sample, CViewClasses view, to change the above texts, depending on the view selection) Inspecting CDockContainer::SetTabText() and CDockContainer::SetDockCaption(), these functions set the new value to a class member variable which is only used during the creation or possible during undock and redock, but are not applied...

  • Posted a comment on discussion Open Discussion on Win32++

    Hi David, I have mirrored the full SVN repository history up to revision 2479 to a public GIT repository in github at the following link: https://github.com/ioannis-e/win32-framework Please note that git has no notion of folders so the empty folders (eg. output) have not crossed over. I have also tried to tag almost all release versions, based on commit messages and changes to the copyright file. I would sincerely prefer to transfer ownership to you if you are interested in maintaining it, otherwise...

  • Posted a comment on discussion Open Discussion on Win32++

    This one cought my eye but issue occurs in other places are as well: CSize CDC::GetTextExtentPoint32(CString& str) const; str parameter should be const as follows: CSize CDC::GetTextExtentPoint32(const CString& str) const;

  • Posted a comment on discussion Open Discussion on Win32++

    I keep running into a problem where i create a toolbar as a child of a rebar. If i call CToolBar::SetButtonWidth before attaching the toolbar into a rebar band by CReBar::InsertBand I get an assert failure caused by CReBar::OnToolBarResize where GedBand(hToolBar) will return -1 and propagate the value into CReBar::SetBandInfo which will assert So had to amend as follows: inline LRESULT CReBar::OnToolBarResize(UINT uMsg, WPARAM wParam, LPARAM lParam) { HWND hToolBar = (HWND)wParam; LPSIZE pToolBarSize...

  • Posted a comment on discussion Open Discussion on Win32++

    Is there a reason this is missing from CToolBar class ? inline DWORD CToolBar::GetExtendedStyle() const // Gets the text drawing flags for the ToolBar. // Extended styles include: TBSTYLE_EX_DRAWDDARROWS, TBSTYLE_EX_HIDECLIPPEDBUTTONS, TBSTYLE_EX_DOUBLEBUFFER and TBSTYLE_EX_MIXEDBUTTONS { assert(IsWindow()); return (DWORD)SendMessage(TB_GETEXTENDEDSTYLE, 0L, 0L); }

  • Modified a comment on discussion Help on Win32++

    inline BOOL CReBar::SetBarInfo(REBARINFO& rbi) const has an error setting the wrong...

View All

Personal Data

Username:
ioannis-e
Joined:
2005-09-17 17:24:36

Projects

  • No projects to display.

Personal Tools