Hi,
Good day.
I got a problem about My Status bar.
Current Capture: attached Tool.jpg.
When i changed the size of my window. The Status bar can't move...
Issue Capture: attached too Tool1.jpg.
I add the code at my resource file.
Any help will be appreciated.
AppResource.rc
Code:
EDITTEXT IDC_VIEW_SESSION_NAME,6,297,301,11,WS_DISABLED
AppDlg.cpp
// The Tree Control right at top of the my Status Bar.
Code:
CRect MyAppDlg::GetTreeRect()
{
CRect rect, rectHead;
GetClientRect(&rect);
rectHead.left = static_cast<int>(rect.left + rect.Width() * 0.02);
rectHead.top = static_cast<int>(rect.top + 95);
rectHead.right = static_cast<int>(rect.left + rect.Width() * 0.98);
rectHead.bottom = static_cast<int>(rect.top + rect.Height() * 0.95);
return rectHead;
}