Display off buttons and links in the bubble prompt window.

zhaozj2021-02-12  134

In fact, MSDN has been clearly explained, but also need TTS_Close (0x80), but also let you realize the XP style, that is, two methods commonly used:

1. Insert a resource type of 24, ID number is 24, ID number 1, to implement the XP style, the content of the resource 1 is shown 2.2, add one and the application of the application with the application in the application directory. EXE.Manifest file The content is as follows: < AssemblyIdentity name = "Change it here to your application name" processorarchitecture = "x86" Version = "1.0.0.0" type = "win32" /> Change it here to your application description < dependency>

In this case, if your program has the effect of shutting down the button in Windows XP or 2003, you can even add a link, in fact, just a flag TTF_PARSELINKS (0x1000), then if your prompt is in the information if there is ... The content of that, that is, the content between the link is to be displayed as a link.

Note: When the program is initialized, call the INITCOMMONCONTROLS this API function.

转载请注明原文地址:https://www.9cbs.com/read-7273.html

New Post(0)