MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / RecodeDlg

Function RecodeDlg

src/Dialogs.c:1622–1644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1620extern int cyRecodeDlg;
1621
1622BOOL 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//=============================================================================

Callers 1

MsgCommandFunction · 0.85

Calls 1

ThemedDialogBoxParamFunction · 0.85

Tested by

no test coverage detected