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

Function SelectDefEncodingDlg

src/Dialogs.c:1477–1495  ·  view source on GitHub ↗

============================================================================= SelectDefEncodingDlg()

Source from the content-addressed store, hash-verified

1475// SelectDefEncodingDlg()
1476//
1477BOOL SelectDefEncodingDlg ( HWND hwnd, int *pidREncoding )
1478{
1479 INT_PTR iResult;
1480 ENCODEDLG dd;
1481 dd.bRecodeOnly = FALSE;
1482 dd.idEncoding = *pidREncoding;
1483 iResult = ThemedDialogBoxParam (
1484 g_hInstance,
1485 MAKEINTRESOURCE ( IDD_DEFENCODING ),
1486 hwnd,
1487 SelectDefEncodingDlgProc,
1488 ( LPARAM ) &dd );
1489 if ( iResult == IDOK ) {
1490 *pidREncoding = dd.idEncoding;
1491 return ( TRUE );
1492 } else {
1493 return ( FALSE );
1494 }
1495}
1496
1497
1498//=============================================================================

Callers 1

MsgCommandFunction · 0.85

Calls 1

ThemedDialogBoxParamFunction · 0.85

Tested by

no test coverage detected