TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Gary Chambers
date: 1996-02-04 22:17:46
subject: Code not reachable...

Hi All...

Can anyone explain why I get a "Code not reachable in function
xxx" warning when compiling WinCheckMenuItem?  It's used in the
following manner:

case GEOD_METERS:
case GEOD_FEET:
    WinCheckMenuItem(hwndMenu, usMeasure, FALSE);
    usMeasure = LOUSHORT(mp1);
    WinCheckMenuItem(hwndMenu, LOUSHORT(mp1), TRUE);
    bFeet = (LOUSHORT(mp1) == GEOD_FEET);
    WinInvalidateRect(hwnd, NULL, FALSE);
    return 0;

If more than this snippet is required, I'd be happy to post everything. 
Thanks in advance.

GeeCee/2
gchambers{at}maine.com

... Topsham, ME 43 57.0'N 69 57.0'W 
--- 
* Origin: Mystic Seaport Inn OiS/2 - USR DS V.34+ - (207)721-3258 (1:326/426)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 326/426 411 400 3615/50 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.