locked
Delete Show and Delete Text over CHTMLView or Desktop or Any Window RRS feed

  • Question

  • HOW TO CLEAR TEXT AFTER USING TextOut !!

    Example : how can delete text(s) that written by programs over the desktop , for example :

    User press 1 then 2 then 3 then 4 ....

    GetDC(NULL);

    TextOut( "1" ); // then TextOut( "12" ); then TextOut( "123" ); then TextOut( "1234" );

    In this point user Press Backspace Then program must TextOut("123"), But 4 stay there !!

    Also over a CHTMLView and use Desktop ( ::GetDC(NULL); ) for this reason but can't clear  the text ...

    In another senario , Insert HTML that show Transparent GIF files , for example "1.GIF" over the HTMLView to display TEXT , In This case sometimes thease gif(s) didn't display correctly and go to back of CHTMView (Z-order) ...

    ...

     

    Friday, August 20, 2010 9:42 AM

Answers

  • Use a layered window:  WS_EX_LAYERED
     
    -- David
     

    Efficiently access this forum with newsreaders like WLM, Thunderbird, and Forte Agent: http://communitybridge.codeplex.com
    • Marked as answer by Yi Feng Li Monday, August 23, 2010 9:43 AM
    • Unmarked as answer by Yi Feng Li Monday, August 23, 2010 9:43 AM
    • Marked as answer by Yi Feng Li Friday, August 27, 2010 3:50 AM
    Sunday, August 22, 2010 9:55 PM