Click here to Skip to main content
15,906,645 members
Home / Discussions / System Admin
   

System Admin

 
QuestionWin XP accept incoming connections. From CHAP to PAP? Pin
Benny_Lava14-Apr-08 19:37
Benny_Lava14-Apr-08 19:37 
QuestionSetting up PPP server on windows XP? Pin
Benny_Lava13-Apr-08 21:50
Benny_Lava13-Apr-08 21:50 
GeneralIE7 closes all open windows when I close any one Pin
Sipder13-Apr-08 1:55
Sipder13-Apr-08 1:55 
GeneralRe: IE7 closes all open windows when I close any one Pin
John_Adams13-Apr-08 19:52
John_Adams13-Apr-08 19:52 
Generalmodify DirectX Diagnostic Tool Pin
Blue_Boy12-Apr-08 6:59
Blue_Boy12-Apr-08 6:59 
GeneralRe: modify DirectX Diagnostic Tool Pin
Randor 12-Apr-08 12:51
professional Randor 12-Apr-08 12:51 
GeneralRe: modify DirectX Diagnostic Tool [modified] Pin
Blue_Boy12-Apr-08 21:50
Blue_Boy12-Apr-08 21:50 
GeneralRe: modify DirectX Diagnostic Tool Pin
Randor 13-Apr-08 13:48
professional Randor 13-Apr-08 13:48 
I'm not sure that your question has anything to do with the forum subject. Maybe you should have asked this somewhere else.

This seems to work. Hope your a C++ developer.
typedef struct _WINDOW_INFORMATION
{ 
	TCHAR title[MAX_PATH];
	TCHAR Wndclass[MAX_PATH];
} WINDOW_INFORMATION, *LPWINDOW_INFORMATION;

VOID ModifyDirectXDiag()
{
	HWND hwnd = ::FindWindow(NULL,_T("DirectX Diagnostic Tool"));
	if(NULL != hwnd)
	{
		WINDOW_INFORMATION wndInfo;
		_tcscpy(wndInfo.title,_T("Current Date/Time:"));
		_tcscpy(wndInfo.Wndclass,_T("Static"));
		EnumChildWindows(hwnd,EnumWindowHandler,(LPARAM)&wndInfo);
	}
	else
	{
		MessageBox(NULL,_T("Cannot find DirectX window."),NULL,0);
	}
}

static BOOL CALLBACK EnumWindowHandler(HWND hwnd, LPARAM lParam)
{
	LPWINDOW_INFORMATION pParentInfo = reinterpret_cast<LPWINDOW_INFORMATION>(lParam);
	WINDOW_INFORMATION childInfo;
	if(0 != GetClassName(hwnd,childInfo.Wndclass,MAX_PATH))
	{
		if(0 == _tcscmp(childInfo.Wndclass,pParentInfo->Wndclass))
		{
			GetWindowText(hwnd,childInfo.title,MAX_PATH);
			if(0 == _tcscmp(childInfo.title,pParentInfo->title))
			{
				SetWindowText(hwnd,_T("Hello World"));
			}
		}
	}
	return TRUE;
}


I can't believe I actually took the time to do this.

Best Wishes,
-David Delaune
GeneralRe: modify DirectX Diagnostic Tool Pin
Blue_Boy13-Apr-08 14:07
Blue_Boy13-Apr-08 14:07 
Question[Solved] Maximum number of opened files? Pin
henk21cm12-Apr-08 4:12
henk21cm12-Apr-08 4:12 
GeneralRe: Maximum number of opened files? Pin
Zoltan Balazs12-Apr-08 4:41
Zoltan Balazs12-Apr-08 4:41 
GeneralRe: Maximum number of opened files? Pin
henk21cm12-Apr-08 5:00
henk21cm12-Apr-08 5:00 
GeneralRe: Maximum number of opened files? Pin
Zoltan Balazs12-Apr-08 6:43
Zoltan Balazs12-Apr-08 6:43 
GeneralRe: Maximum number of opened files? Pin
Randor 12-Apr-08 5:50
professional Randor 12-Apr-08 5:50 
GeneralRe: Maximum number of opened files? Pin
henk21cm12-Apr-08 6:58
henk21cm12-Apr-08 6:58 
GeneralRe: Maximum number of opened files? Pin
Randor 12-Apr-08 9:33
professional Randor 12-Apr-08 9:33 
GeneralRe: Maximum number of opened files? Pin
henk21cm12-Apr-08 10:01
henk21cm12-Apr-08 10:01 
GeneralRe: Maximum number of opened files? Pin
Randor 12-Apr-08 10:21
professional Randor 12-Apr-08 10:21 
GeneralRe: Maximum number of opened files? Pin
henk21cm12-Apr-08 10:48
henk21cm12-Apr-08 10:48 
GeneralOutgoing Emails delayed delivery Pin
hifiger200411-Apr-08 16:50
hifiger200411-Apr-08 16:50 
GeneralRe: Outgoing Emails delayed delivery Pin
Sebastian Schneider14-Apr-08 2:58
Sebastian Schneider14-Apr-08 2:58 
QuestionCommands for filtering IPv6 traffic on winXP Pin
Ather Zaidi9-Apr-08 5:10
Ather Zaidi9-Apr-08 5:10 
Questionhow to configure windows media server to push stream from encoder Pin
vptech198-Apr-08 21:49
vptech198-Apr-08 21:49 
GeneralCommands for Run dialog box [modified] Pin
kraft8-Apr-08 15:45
kraft8-Apr-08 15:45 
Questionhow to run program in limited account? Pin
the pink jedi6-Apr-08 4:18
the pink jedi6-Apr-08 4:18 

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.