Commit graph

20 commits

Author SHA1 Message Date
ehouse
a672de76b9 return TRUE after handling WM_INITDIALOG 2009-01-17 18:41:15 +00:00
ehouse
be93f274ee Walk dialog's controls and make a list of Edit controls so that dialog
procs don't have to pass them in.  Compare handles rather than IDs.
2008-10-13 05:46:45 +00:00
ehouse
20bcdea816 Trapped back key should exit dialog even if it has an edit control if
that control does not have focus.  Do that.  And since I can't figure
out how to use APIs available in CE to find edit controls dynamically
each dialog proc has to pass its IDs in.  May fix that later, in which
case ceDlgSetEdits() should be removed.
2008-10-13 01:26:20 +00:00
ehouse
949a67b15f {G|S}etWindowLong -> {G|S}etWindowLongPtr as per MSDN docs 2008-09-27 15:05:26 +00:00
ehouse
84758c8be2 Go back to using combobox on PPC but keep spinners on Smartphone.
Meaning: both exist in the resource, and at runtime we disable the
unwanted one and lookup IDs and sometimes window messages in order to
operate on 'em.  Also, spinners send WM_NOTIFY messages, so handle
that.  Current implementation is a bit of a hack but works.
2008-08-27 12:16:33 +00:00
ehouse
588c16d45f rename and reorganize/simplify dialog-handling code common to all
dialogs, handling scrolling and backspace key (smartphone only) and
scroll-by-focus in a single place.
2008-06-05 04:29:28 +00:00
ehouse
7da66696ed Fix dictionary-search code to look in top-level temporary directories
rather than hard-coded "SD Card" etc. to work in non-English cases;
fix password dialog to fit, and simplify it; fix backspace on
smartphone for all dialogs with EDIT fields to actually backspace
rather than exiting app; and in main window have it raise focus.  This
change requires SHSendBackToFocusWindow(), which is not yet in cegcc.
Until I get a patch accepted this breaks wince builds.
2008-05-31 22:07:29 +00:00
ehouse
cdd8ce3960 Remove params from ceDlgSetup and ceDoDlgFocusScroll 2008-03-31 00:23:07 +00:00
ehouse
63c0cd8aee Use new APIs to scroll dialogs; use new saved games dialogs. 2008-03-24 12:41:12 +00:00
ehouse
e891a26756 substitute macro for common sizeof(x)/sizeof(x[0]) pattern; no generated code change 2007-05-26 14:03:07 +00:00
ehouse
dcd31cd092 update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
ehouse
57e20c98d5 fix compile warnings 2005-06-23 14:12:09 +00:00
ehouse
6d045aedf2 fix glitch in tile picker (same as palm) 2004-12-12 17:32:17 +00:00
ehouse
621dd87d71 clean up dialog init 2004-05-26 04:39:29 +00:00
ehouse
0e70588337 provide ability to unpick picked tiles 2004-05-15 01:06:39 +00:00
ehouse
c6c53282d9 remove positionDlg 2004-02-27 06:09:43 +00:00
ehouse
a28cb9e878 fix blank dialog 2004-02-14 06:03:53 +00:00
ehouse
c128e652ef cleanup 2004-01-06 15:54:18 +00:00
ehouse
b9a3883acd additions to tile picking 2003-12-09 05:16:11 +00:00
ehouse
69bca7d86d checkin from personal archives 2003-11-20 04:40:34 +00:00