[PATCH] Setup Chooser integration

Gary R. Van Sickle g.r.vansickle@worldnet.att.net
Tue Apr 2 02:27:00 GMT 2002


ALT-TAB no longer!  This patch integrates the chooser into the wizard interface,
eliminating a field-expedient thread in the process.  Changelog also attached:

2002-04-02  Gary R. Van Sickle  <g.r.vansickle@worldnet.att.net>

	* choose.cc: Run indent.
	(nextbutton): Remove static variable.
	(default_trust): Remove use of nextbutton.
	(set_view_mode): Ditto.
	(create_listview): Add IDC_CHOOSE_PREV and IDC_CHOOSE_NEXT to ta[] so
	rbset() sets the prev/next/curr radio buttons properly.
	(dialog_cmd): Delete function.
	(dialog_proc): Delete function.  Move WM_INITDIALOG functionality to
	ChooserPage::OnInit.
	(do_choose): Delete function.  Move pre-DialogBox() code to
	ChooserPage::OnInit(), post-DialogBox() code to	ChooserPage::OnNext.
	(WM_APP_START_CHOOSE): Remove define.
	(WM_APP_CHOOSE_IS_FINISHED): Remove define.
	(do_choose_thread): Delete function.
	(ChooserPage::OnActivate): Delete method.
	(ChooserPage::OnMessageApp): Delete method.
	(ChooserPage::OnInit): New method.
	(ChooserPage::OnNext): New method.
	(ChooserPage::OnBack): New method.
	(ChooserPage::OnMessageCmd): New method.
	* choose.h: Run indent.
	(ChooserPage::OnMessageApp): Delete declaration.
	(ChooserPage::OnActivate): Ditto.
	(ChooserPage::OnMessageCmd): New declaration.
	(ChooserPage::OnInit): Ditto.
	(ChooserPage::OnNext): Ditto.
	(ChooserPage::OnBack): Ditto.
	* desktop.cc (DesktopSetupPage::OnBack): Replace use of IDD_CHOOSER
	with IDD_CHOOSE.
	* fromcwd.cc (do_fromcwd): Replace use of IDD_CHOOSER with IDD_CHOOSE.
	* ini.cc (do_ini_thread): Replace use of IDD_CHOOSER with IDD_CHOOSE.
	* res.rc (IDD_CHOOSE): Remove dialog template.
	(IDD_CHOOSER): Alter dialog template to fit wizard size and format.

--
Gary R. Van Sickle
Brewer.  Patriot.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup-chooser-integration.diff
Type: application/octet-stream
Size: 15924 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020402/dbab7ff6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog-chooser-integration
Type: application/octet-stream
Size: 1540 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020402/dbab7ff6/attachment-0001.obj>


More information about the Cygwin-patches mailing list