Click here to Skip to main content
15,918,168 members
Home / Discussions / COM
   

COM

 
GeneralRe: Getting the running instance from PID using COM Pin
Jörgen Sigvardsson1-Nov-09 11:23
Jörgen Sigvardsson1-Nov-09 11:23 
Question[Message Deleted] Pin
Cool_Dev14-Oct-09 22:20
Cool_Dev14-Oct-09 22:20 
AnswerRe: Automation: Can't Quit PowerPoint due to Document Recovery Pane.. CrossPost Pin
Richard MacCutchan14-Oct-09 22:41
mveRichard MacCutchan14-Oct-09 22:41 
QuestionAccessibleObjectFromPoint memory leakage problem.. Pin
onlyjaypatel11-Oct-09 18:58
onlyjaypatel11-Oct-09 18:58 
AnswerRe: AccessibleObjectFromPoint memory leakage problem.. Pin
«_Superman_»12-Oct-09 9:21
professional«_Superman_»12-Oct-09 9:21 
GeneralRe: AccessibleObjectFromPoint memory leakage problem.. Pin
onlyjaypatel12-Oct-09 18:40
onlyjaypatel12-Oct-09 18:40 
QuestionCDhtmlDialog and windows version Pin
vcshaman9-Oct-09 3:19
vcshaman9-Oct-09 3:19 
QuestionIQueryInfo: GetInfoTip() - How get the default Window tip text? Pin
Emulator ®9-Oct-09 2:44
Emulator ®9-Oct-09 2:44 
Hi all... in my application i want get the original GetInfoTip() text, after it i want edit and show the new modified Text.

Now i use IQueryInfo for "hook" the GetInfoTip() function and work very well, but i must rewrite all file information tip text myself.. I have added:

NoRemove *
{
	NoRemove ShellEx
	{
		{00021500-0000-0000-C000-000000000046} = s '{MYKEY}'
	}
}


It's for all file and i have some trouble for reset the InfoTip text... any mode for get original default?

I have tryed this code:

IShellFolder* shFolder = NULL;
IQueryInfo* pInfo;

LPITEMIDLIST pidl = NULL;

SHGetDesktopFolder(&shFolder);
SHILCreateFromPath(file, &pidl, 0);

if (SUCCEEDED(shFolder->GetUIObjectOf(NULL, 1, (LPCITEMIDLIST*)&pidl, IID_IQueryInfo, NULL, (void**)&pInfo)))
{
	pInfo->GetInfoTip(0, &pwszTip);
	pInfo->Release();

	if (pwszTip)
	{
		MessageBox(NULL, pwszTip, NULL, MB_OK);
	}
}


But it still show the tip text of My Computer icon Frown | :(

Thanks in advance.
GeneralRe: IQueryInfo: GetInfoTip() - How get the default Window tip text? [modified] Pin
Emulator ®10-Oct-09 7:18
Emulator ®10-Oct-09 7:18 
GeneralRe: IQueryInfo: GetInfoTip() - How get the default Window tip text? Pin
cariolihome15-Oct-09 11:10
cariolihome15-Oct-09 11:10 
Question"component not correctly registered" error when Office 2007 installed Pin
Gene Joy7-Oct-09 8:59
Gene Joy7-Oct-09 8:59 
AnswerRe: "component not correctly registered" error when Office 2007 installed Pin
«_Superman_»7-Oct-09 14:16
professional«_Superman_»7-Oct-09 14:16 
AnswerRe: "component not correctly registered" error when Office 2007 installed Pin
Md. Marufuzzaman9-Oct-09 9:04
professionalMd. Marufuzzaman9-Oct-09 9:04 
AnswerRe: "component not correctly registered" error when Office 2007 installed Pin
Md. Marufuzzaman9-Oct-09 9:05
professionalMd. Marufuzzaman9-Oct-09 9:05 
Questioncreating a web interface for windows media services, in server 2003 Pin
ramitha7772-Oct-09 17:20
ramitha7772-Oct-09 17:20 
QuestionCOM Tutorials Pin
msr_codeproject2-Oct-09 16:33
msr_codeproject2-Oct-09 16:33 
AnswerRe: COM Tutorials Pin
Richard MacCutchan2-Oct-09 22:43
mveRichard MacCutchan2-Oct-09 22:43 
AnswerRe: COM Tutorials Pin
cariolihome18-Oct-09 10:54
cariolihome18-Oct-09 10:54 
QuestionGet Events from an COM Server Pin
Juergen_802-Oct-09 4:16
Juergen_802-Oct-09 4:16 
AnswerRe: Get Events from an COM Server Pin
Stuart Dootson2-Oct-09 5:46
professionalStuart Dootson2-Oct-09 5:46 
GeneralRe: Get Events from an COM Server Pin
Juergen_804-Oct-09 22:55
Juergen_804-Oct-09 22:55 
GeneralRe: Get Events from an COM Server Pin
Stuart Dootson5-Oct-09 0:00
professionalStuart Dootson5-Oct-09 0:00 
GeneralRe: Get Events from an COM Server Pin
Juergen_805-Oct-09 0:07
Juergen_805-Oct-09 0:07 
GeneralRe: Get Events from an COM Server Pin
Stuart Dootson5-Oct-09 0:15
professionalStuart Dootson5-Oct-09 0:15 
GeneralRe: Get Events from an COM Server Pin
Juergen_805-Oct-09 4:05
Juergen_805-Oct-09 4:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.