April 12th 1945 , shortly after the election , Franklin Delano Roosevelt died and Harry S. Truman became president . All of the cabinet members when Truman became president in 1945 had been previously serving under Franklin D. Roosevelt .