Announcement

Collapse
No announcement yet.

QUESTION ABOUT SEMEN'S PROGRESS BAR

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • QUESTION ABOUT SEMEN'S PROGRESS BAR


    Hello Semen,

    I tried your example of a modeless progress bar, which runs
    very well on Windows 98 SE but on Windows 95 the progress bar does not get painted.
    Does this happen on your sistem also or is this some BUG on my
    computer.
    Also I have noticed that when I try to exit to the DOS Prompt I get
    a message saying that this Program is running in Dos Mode an can not
    execute while other Files are open.
    On my Windows 98 SE, PBDLL60 behaves normally and the DOS
    Prompt Shells exactly as expected.

    TIA and Spassiva,
    Arthur

    -------------



    Arthur Kohl

  • #2

    The DeleteObject statement in the paint routine appears to be the
    culprit in win95. I moved it to the: Case %WM_DESTROY and it seemed
    to work ok. I dont know if this was a proper solution though.
    I didn't try exiting to a dos prompt.

    ------------------
    The most exasperating part of the "rat race" is how often the rats are in the lead!

    Comment


    • #3
      Yes indeed!
      I remarked the DeleteObject in the paint routine and it worked fine, also on my Windows 95 system.

      Thanks,
      Art

      ------------------



      [This message has been edited by ARTHUR KOHL (edited April 16, 2000).]
      Arthur Kohl

      Comment


      • #4
        Guys --
        To remark DeleteObject is not a solution: regions should be deleted to avoid memory leaks.
        I re-posted code without regions (not tested under Win95, but hope that works).

        [This message has been edited by Semen Matusovski (edited April 16, 2000).]

        Comment

        Working...
        X