Path: utzoo!attcan!uunet!amdahl!ames!pasteur!ucbvax!hplabs!hp-pcd!hpcvlx!bturner From: bturner@hpcvlx.HP.COM (Bill Turner) Newsgroups: comp.windows.ms Subject: Re: A puzzling query Message-ID: <106580029@hpcvlx.HP.COM> Date: 10 Mar 89 18:12:32 GMT References: <227@cbnewsc.ATT.COM> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 15 > Now I think both HWND and HDC are 16 bit addresses but shouldn't the compiler > spit this out as a parameter order error? An enquiring mind would like > to know...... Unfortunately, a handle is a handle is a handle is a handle is.... [From windows.h: typedef WORD HANDLE; typedef HANDLE HWND; typedef HANDLE HDC; So, as far as the compiler is concerned, *any* handle is equivalent....] --Bill Turner