The action for a class of three-dimensional dilaton-gravity theories, with an electromagnetic Maxwell field and a cosmological constant, can be recast in a Brans-Dicke-Maxwell type action, with its free omega parameter. For a negative cosmological constant, these theories have static, electrically charged, and spherically symmetric black hole solutions. Those theories with well formulated asymptotics are studied through a Hamiltonian formalism, and their thermodynamical properties are found out. The theories studied are general relativity (omega ->+/-infinity), a dimensionally reduced cylindrical four-dimensional general relativity theory (omega=0), and a theory representing a class of theories (omega=-3), all with a Maxwell term. The Hamiltonian formalism is set up in three dimensions through foliations on the right region of the Carter-Penrose diagram, with the bifurcation 1-sphere as the left boundary, and anti-de Sitter infinity as the right boundary. The metric functions on the foliated hypersurfaces and the radial component of the vector potential one-form are the canonical coordinates. The Hamiltonian action is written, the Hamiltonian being a sum of constraints. One finds a new action which yields an unconstrained theory with two pairs of canonical coordinates {M,P-M;Q,P-Q}, where M is the mass parameter, which for omega <-3/2 and for omega=+/-infinity needs a careful renormalization, P-M is the conjugate momenta of M, Q is the charge parameter, and P-Q is its conjugate momentum. The resulting Hamiltonian is a sum of boundary terms only. A quantization of the theory is performed. The Schrodinger evolution operator is constructed, the trace is taken, and the partition function of the grand canonical ensemble is obtained, where the chemical potential is the scalar electric field (phi)overbar. Like the uncharged cases studied previously, the charged black hole entropies differ, in general, from the usual quarter of the horizon area due to the dilaton.