User Activity

  • Posted a comment on discussion Help on Windows Template Library (WTL)

    There are times when I'd like to use both the Windowsx.h macros and some WTL classes in the same file. But they don't get along with one another, as WTL undefines some of the Windowsx.h macros (I believe in atlgdi.h). Is there a workaround so that they can both coexist?

  • Posted a comment on discussion Open Discussion on Windows Template Library (WTL)

    Does anyone know where, if anywhere, we can report ATL bugs? I think I found a flaw in the CThreadPool implementation, and I was hoping to submit it somewhere. Thanks for any info.

  • Modified a comment on discussion Help on Windows Template Library (WTL)

    Nenad, Thanks for your response. Actually, please disregard. I realize it wasn't a very good question. Thanks again.

  • Modified a comment on discussion Help on Windows Template Library (WTL)

    Nenad, Thanks for your response. I think I might be asking the wrong question or not describing the problem perfectly, so I thought I'd ask more generally how you would handle the situation I'm trying to address. So here's the situation: Imagine that you've created a few different classes that subclass an edit control to add special functionality to it. So perhaps, hypothetically, you've created a CSpellcheckEditCtrl class that adds spellcheck capabilities. And maybe you've got another class that...

  • Posted a comment on discussion Help on Windows Template Library (WTL)

    Nenad, Thanks for your response. I think I might be asking the wrong question or not describing the problem perfectly, so I thought I'd ask more generally how you would handle the situation I'm trying to address. So here's the situation: Imagine that you've created a few different classes that subclass an edit control to add special functionality to it. So perhaps, hypothetically, you've created a CSpellcheckEditCtrl class that adds spellcheck capabilities. And maybe you've got another class that...

  • Posted a comment on discussion Help on Windows Template Library (WTL)

    Nenad, Would you be willing to take a look at my question at SO about chaining a class member that calls DefWindowProc? I came up with a possible solution myself, but I was wondering if you had any other input or ideas. Here's the question and answer: https://stackoverflow.com/questions/67538813/using-chain-msg-map-member-with-defwindowproc Thanks for your help and insight.

  • Modified a comment on discussion Open Discussion on Windows Template Library (WTL)

    I haven't really gotten into thunking yet. I'm pretty new to WinAPI and ATL. So I'd defer to you and other people on that. On another note, maybe it would be more useful to create a CUIAutomationEventHandlerImpl instead. UIAutomation is probably better than SetWinEventHook overall, and it wouldn't involve the static callback issues. But it would present challenges of its own in creating the map macros.

  • Modified a comment on discussion Open Discussion on Windows Template Library (WTL)

    I haven't really gotten into thunking yet. I'm pretty new to WinAPi and ATL. So I'd defer to you and other people on that. On another note, maybe it would be more useful to create a CUIAutomationEventHandlerImpl instead. UIAutomation is probably better than SetWinEventHook overall, and it wouldn't involve the static callback issues. But it would present challenges of its own in creating the map macros.

View All

Personal Data

Username:
amt528
Joined:
2020-09-06 16:16:29

Projects

  • No projects to display.

Personal Tools