How can i get Window Handle from hdc RRS feed

  • Question

  • Hello,

    Is it possible to get the handle of a window from hdc? WindowFromDC () does NOT exist in windows mobile and i've been trying to find another way for days now, any help would be very appreciated thank you.

    what i am trying to do is to get the Window Class Name, but i need the HWND to do that, any suggestions?



    Sunday, August 29, 2010 5:31 PM


  • Hello, i guess this one is harder than i thought, so i am trying to keep track of every created window and then i will save it and save it's DC with it as pair, not sure if that is gonna work tho, will tell you how it goes.


    thank you

    • Marked as answer by warrentang Friday, September 3, 2010 2:52 AM
    Wednesday, September 1, 2010 7:52 AM