function setup_figure(hEH)
%SETUP_FIGURE Set up the figure for the exportheader object

%   Author(s): J. Schickler
%   Copyright 1988-2010 The MathWorks, Inc.

sz  = exportheader_gui_sizes(hEH);
cbs = dialog_cbs(hEH);

hFig = figure(...
    'CloseRequestFcn',  cbs.cancel, ...
    'Color',            get(0,'DefaultUicontrolBackgroundColor'), ...
    'HandleVisibility', 'Callback', ...
    'IntegerHandle',    'Off', ...
    'MenuBar',          'None', ...
    'Name',             gettitle(hEH), ...
    'NumberTitle',      'Off', ...
    'Position',         sz.fig, ...
    'Resize',           'Off', ...
    'Visible',          hEH.Visible);

set(hEH, 'Parent', hFig);

% [EOF]
