| 1620 | extern int cyRecodeDlg; |
| 1621 | |
| 1622 | BOOL RecodeDlg ( HWND hwnd, int *pidREncoding ) |
| 1623 | { |
| 1624 | INT_PTR iResult; |
| 1625 | ENCODEDLG dd; |
| 1626 | dd.bRecodeOnly = TRUE; |
| 1627 | dd.idEncoding = *pidREncoding; |
| 1628 | dd.cxDlg = cxRecodeDlg; |
| 1629 | dd.cyDlg = cyRecodeDlg; |
| 1630 | iResult = ThemedDialogBoxParam ( |
| 1631 | g_hInstance, |
| 1632 | MAKEINTRESOURCE ( IDD_RECODE ), |
| 1633 | hwnd, |
| 1634 | SelectEncodingDlgProc, |
| 1635 | ( LPARAM ) &dd ); |
| 1636 | cxRecodeDlg = dd.cxDlg; |
| 1637 | cyRecodeDlg = dd.cyDlg; |
| 1638 | if ( iResult == IDOK ) { |
| 1639 | *pidREncoding = dd.idEncoding; |
| 1640 | return ( TRUE ); |
| 1641 | } else { |
| 1642 | return ( FALSE ); |
| 1643 | } |
| 1644 | } |
| 1645 | |
| 1646 | |
| 1647 | //============================================================================= |
no test coverage detected