News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

ToolTip Icon

Started by bomz, December 10, 2012, 04:50:41 AM

Previous topic - Next topic

dedndave

i made notes in Changes.txt...



bomz


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

jj2007

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

#34
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

jj2007

Dave,

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

Magnum

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

the code is from bomz   :P
i just did a few mods

bomz

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

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

Quote from: dedndave on December 11, 2012, 04:11:53 PM
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

that's a little simpler   :biggrin: