Author Topic: ToolTip Icon  (Read 15136 times)

dedndave

  • Member
  • *****
  • Posts: 8825
  • Still using Abacus 2.0
    • DednDave
Re: ToolTip Icon
« Reply #30 on: December 11, 2012, 06:05:19 AM »
i made notes in Changes.txt...


bomz

  • Guest
Re: ToolTip Icon
« Reply #31 on: December 11, 2012, 07:05:18 AM »

bomz

  • Guest
Re: ToolTip Icon
« Reply #32 on: December 11, 2012, 07:08:27 AM »

any tooltip appear... what system you have - windows 7? may be some effects or theme or windows "optimization" influence?

jj2007

  • Member
  • *****
  • Posts: 10098
  • Assembler is fun ;-)
    • MasmBasic
Re: ToolTip Icon
« Reply #33 on: December 11, 2012, 08:00:21 AM »
With Dave's code, I can see a tooltip only when in the notification area, and despite of the TTS_BALLOON style, it is just a plain rectangle, no icon and no title.

And it does work on XP SP3, as shown below. So what happens there?? Why no balloon and no title?

P.S.: JWasm doesn't like line 1857:
.elseif

dedndave

  • Member
  • *****
  • Posts: 8825
  • Still using Abacus 2.0
    • DednDave
Re: ToolTip Icon
« Reply #34 on: December 11, 2012, 08:33:43 AM »
Jochen,
refer to this post...
http://masm32.com/board/index.php?topic=1053.msg9759#msg9759
you run the program
then, right-click on the tray icon and select the Popup option
then, when you mark some text and click Copy, the balloon appears, showing the text you put into the clipboard
it could be raised up a little   :P

i am using XP sp3
« Last Edit: December 11, 2012, 11:04:48 AM by dedndave »

jj2007

  • Member
  • *****
  • Posts: 10098
  • Assembler is fun ;-)
    • MasmBasic
Re: ToolTip Icon
« Reply #35 on: December 11, 2012, 09:03:28 AM »
Dave,

Thanxalot for the explanation - it works :t
(maybe I got confused because all comments are in former Russian Unicode, hehe :bgrin:)

Magnum

  • Member
  • *****
  • Posts: 2309
Re: ToolTip Icon
« Reply #36 on: December 11, 2012, 11:38:00 AM »
Looks good Dave.

Looks like a notebook I had when I was a little younger.

Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

dedndave

  • Member
  • *****
  • Posts: 8825
  • Still using Abacus 2.0
    • DednDave
Re: ToolTip Icon
« Reply #37 on: December 11, 2012, 01:11:58 PM »
the code is from bomz   :P
i just did a few mods

bomz

  • Guest
Re: ToolTip Icon
« Reply #38 on: December 11, 2012, 04:01:33 PM »
for a long time, since windows 2000, I use program for clipboard, which find in internet. when I install windows 7 I find for all habitual soft substitution except it. so make my own. such clipboard program common task for delfi programmers. i read delfi forum and make masm program whick may quickly work with 100.000 clipboard notice
now use it for tooltip experiment

dedndave

  • Member
  • *****
  • Posts: 8825
  • Still using Abacus 2.0
    • DednDave
Re: ToolTip Icon
« Reply #39 on: December 11, 2012, 04:11:53 PM »
bomz,
i noticed that you were trying to limit the program to a single instance
here is a little example of how to use a mutex
i used a class name string - but it can be any unique string

notice that you can only run one instance of the program at a time

jj2007

  • Member
  • *****
  • Posts: 10098
  • Assembler is fun ;-)
    • MasmBasic
Re: ToolTip Icon
« Reply #40 on: December 12, 2012, 05:25:52 AM »
i noticed that you were trying to limit the program to a single instance
here is a little example of how to use a mutex

Same but with atoms.

dedndave

  • Member
  • *****
  • Posts: 8825
  • Still using Abacus 2.0
    • DednDave
Re: ToolTip Icon
« Reply #41 on: December 12, 2012, 07:02:05 AM »
that's a little simpler   :biggrin: