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 control Not visible with common control manifest 6

Started by TouEnMasm, August 07, 2014, 06:53:19 AM

Previous topic - Next topic

TouEnMasm

Hello,
It seems I am not the only to have this problem.
Is someone had found a soluce ?
my system is XP SP3.
Thanks
Fa is a musical note to play with CL

dedndave

i've never had a problem   :P

use InitCommonControlsEx with the ICC_BAR_CLASSES flag
ICC_BAR_CLASSES is included in ICC_WIN95_CLASSES, but not in ICC_STANDARD_CLASSES

and, of course, you need the appropriate flags for whatever other controls you might be using

http://msdn.microsoft.com/en-us/library/windows/desktop/bb775507%28v=vs.85%29.aspx

TouEnMasm

Fa is a musical note to play with CL

hutch--

Yves,

It seems to be necessary on at least some langu8age versions of XP that if you use a manifest, you must also call the common control library, I have a couple of progs that misbehaved and would not start on some non English language XP versions. You can check it by removing the manifest and see if the app appears with the older interface components. If this is so, then put the manifest back and enable the common control library.

TouEnMasm


Thanks for answer
seems that some styles don't work with common control version 6.00
http://msdn.microsoft.com/en-us/library/windows/desktop/bb760248(v=vs.85).aspx
To make it work with the manifest,I have used the NULL style,and it work (TTS_ALWAYSTIP work also)

invoke CreateWindowEx,WS_EX_TOPMOST,addr szToolTipClass,NULL,
NULL,0,0,0,0,hWin,NULL,hInstance,NULL
mov    hToolTip,eax
Fa is a musical note to play with CL