RE: Finding HWND of the current thread
Brian Hook <[email protected]>
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <2004715142138.478939@GATEWAY> |
> Couldn't you just create a simple hidden window and pass that > handle in? You could, but that's not really the right thing to do, e.g. to handle minimization automatically. DirectSound really wants to have a handle to the application window, not just any handle. > Really though if this is a library wouldn't you want to allow the > user to pass in a handle and handle the case of being a console app > at a higher level... Yes, but expressing that portability is kind of gross. It's what I'm doing right now, in fact, but I don't like it, and if there was a way to isolate the user from this, that would be ideal. Brian ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5