Home › Forums › TWAIN Classic › Question about window handlers › Reply To: Question about window handlers
ah .net. In .Net I don’t use a message-only window, I use a class that Implements IMessageFilter. No z-order problems, runs in from all project types even those that don’t typically have a messagepump or have a handle (ie console & windows service project types). The source code is over at http://www.codeplex.com/opentwain is you don’t mind reading vb.net 2005 code.
Did you base you code on NetMaster’s codeproject sample? And if so, did you address the twCapability ctor problem? And twState problems, and the other small but annoying problems? His article was/is brilliant but as he says, it is just a sample.
You’re welcome to send reproduction code, I don’t mind reading c# code. Send me a pm and I’ll send you my email address. Are you using visual studio or #develop then which version?
.