Showing
1 changed file
with
7 additions
and
1 deletions
| ... | ... | @@ -165,7 +165,7 @@ BOOL InitializeApp(HINSTANCE hInst, int nShowCmd) |
| 165 | 165 | GlobalCleanup(); |
| 166 | 166 | return FALSE; |
| 167 | 167 | } |
| 168 | - | |
| 168 | + QuerySerialPortStatusEx(TTYInfo.unOpenedPortAry,2,255); | |
| 169 | 169 | // |
| 170 | 170 | // setup program's tty child window class |
| 171 | 171 | // |
| ... | ... | @@ -954,5 +954,11 @@ BOOL ResizeAllWindow(DWORD mainwidth, WORD mainheigh) |
| 954 | 954 | rect_stauts.right -rect_stauts.left, |
| 955 | 955 | rect_stauts.bottom -rect_stauts.top, |
| 956 | 956 | TRUE); |
| 957 | + MoveWindow(GetDlgItem(ghWndStatusDlg, IDC_TRANSFERPROGRESS), | |
| 958 | + rect_stauts.left, | |
| 959 | + rect_stauts.top, | |
| 960 | + rect_stauts.right -rect_stauts.left, | |
| 961 | + rect_stauts.bottom -rect_stauts.top, | |
| 962 | + TRUE); | |
| 957 | 963 | |
| 958 | 964 | } | ... | ... |
Please
register
or
login
to post a comment