rbei-etas / busmaster

BUSMASTER is an Open Source Software tool to simulate, analyze and test data bus systems such as CAN. BUSMASTER was conceptualized, designed and implemented by Robert Bosch Engineering and Business Solutions (RBEI). Presently it is a joint project of RBEI and ETAS GmbH.
http://rbei-etas.github.com/busmaster/
GNU General Public License v3.0
950 stars 502 forks source link

Configure Transmission Messages CAN Window has a fix size #1221

Open Ulf99 opened 5 years ago

Ulf99 commented 5 years ago

When opening the Configure Transmission Messages CAN Window it could not be resized. The arrow is shown, but when I try to resize the window it does not follow the mouse cursor

Ulf99 commented 5 years ago

Under TXWindow there is a file called TxMsgChildFrame.cpp. In the function
`void CTxMsgChildFrame::OnGetMinMaxInfo(MINMAXINFO* lpMMI) { // TODO: Add your message handler code here and/or call default

// if(!m_bInit)
CRect lpRect;
GetWindowRect(&lpRect);
ScreenToClient(&lpRect);
lpMMI->ptMinTrackSize.x = 860;
lpMMI->ptMinTrackSize.y = 655;

lpMMI->ptMaxTrackSize.x = 1024;
lpMMI->ptMaxTrackSize.y = 768;

CWnd::OnGetMinMaxInfo(lpMMI);

}` the values for ptMinTrackSize and ptMaxTrackSize have the same values. If the max Values are set to 1024/768 the Window of the TX-Dialog can be resized to a size where the full dialog window is shown. This is not a final solution , but to look for where the size is set to a fix value