Path: utzoo!attcan!uunet!lll-winken!ames!xanth!mcnc!ecsvax!phco From: phco@ecsvax.uncecs.edu (John Miller) Newsgroups: comp.windows.ms Subject: Windows management from dynamic link libraries Message-ID: <6287@ecsvax.uncecs.edu> Date: 27 Jan 89 18:39:46 GMT Organization: Univ. of North Carolina at Chapel Hill Lines: 20 I'm having difficulty figuring out how to create and manage windows from a dynamic link library that is loaded from a main program after program initialization (the main program does not know the name or contents of the DLL until the DLL is selected from a list of DLLs on disk). As I understand it from Petzold's book, DLLs do not receive messages from Windows and so must peek at the main program's message queue. The only exception is for modal dialog boxes, which get their messages directly. However, I really need full popup windows, or at least a modeless dialog box. Can anyone offer some suggestions (or maybe even a little code) about windows management from within a DLL? -- John Miller (ecsvax!phco) Dept. of Pharmacology, Univ. of N.C.-Chapel Hill CB#7365 1026 FLOB Chapel Hill, NC 27599 (919) 966-6966