Click here to Skip to main content
15,887,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRegarding Created Date Pin
kirankatta11-Jul-09 4:48
kirankatta11-Jul-09 4:48 
AnswerRe: Regarding Created Date Pin
Pardhu_M11-Jul-09 5:23
Pardhu_M11-Jul-09 5:23 
QuestionCoversion of SYSTEMTIME TO FILETIME Pin
Pardhu_M11-Jul-09 2:26
Pardhu_M11-Jul-09 2:26 
AnswerRe: Coversion of SYSTEMTIME TO FILETIME Pin
Stuart Dootson11-Jul-09 2:57
professionalStuart Dootson11-Jul-09 2:57 
GeneralRe: Coversion of SYSTEMTIME TO FILETIME Pin
Pardhu_M11-Jul-09 3:39
Pardhu_M11-Jul-09 3:39 
GeneralRe: Coversion of SYSTEMTIME TO FILETIME Pin
Stuart Dootson11-Jul-09 3:59
professionalStuart Dootson11-Jul-09 3:59 
GeneralRe: Coversion of SYSTEMTIME TO FILETIME Pin
Pardhu_M11-Jul-09 5:19
Pardhu_M11-Jul-09 5:19 
QuestionClipboard [modified] Pin
samira forooghi11-Jul-09 1:42
samira forooghi11-Jul-09 1:42 
Hi every one

There is one application on my system that it’s opened my Clipboard and Empty it. but didn’t close Clipboard until closing the application .

I want attach to application by my application and send closeclipboard api to it.
Its my code but don’t work . how can i empty clipboard when it has been opened by another program?

Plz help me.

CWnd *pWnd=new CWnd();
BOOL bo,be,bc;
//========================================================
// get application Wnd pointer 
//========================================================
	pWnd= GetOpenClipboardWindow();

//OR
	pWnd=FindWindow("Application class name","Application title");
//======================================================
//open , empty  and close clipboard
//======================================================
	if(pWnd)
	{
	  bo=pWnd->OpenClipboard();    // return false
	  be=EmptyClipboard();            //return false
	  bc=CloseClipboard();            //returnfalse
	}


modified on Saturday, July 11, 2009 8:01 AM

QuestionHow to Get the path of Internet Explorer using C++ Pin
tns_ranjith11-Jul-09 0:20
tns_ranjith11-Jul-09 0:20 
AnswerRe: How to Get the path of Internet Explorer using C++ Pin
Stuart Dootson11-Jul-09 1:00
professionalStuart Dootson11-Jul-09 1:00 
GeneralRe: How to Get the path of Internet Explorer using C++ Pin
tns_ranjith11-Jul-09 1:13
tns_ranjith11-Jul-09 1:13 
GeneralRe: How to Get the path of Internet Explorer using C++ Pin
Stuart Dootson11-Jul-09 1:19
professionalStuart Dootson11-Jul-09 1:19 
AnswerRe: How to Get the path of Internet Explorer using C++ Pin
David Crow11-Jul-09 15:54
David Crow11-Jul-09 15:54 
QuestionData population Pin
Chiman110-Jul-09 20:21
Chiman110-Jul-09 20:21 
AnswerRe: Data population Pin
Rajesh R Subramanian10-Jul-09 22:07
professionalRajesh R Subramanian10-Jul-09 22:07 
QuestionVector elements and the heap...or the stack... Pin
Mike the Red10-Jul-09 14:16
Mike the Red10-Jul-09 14:16 
AnswerRe: Vector elements and the heap...or the stack... Pin
«_Superman_»10-Jul-09 16:06
professional«_Superman_»10-Jul-09 16:06 
AnswerRe: Vector elements and the heap...or the stack... Pin
Stuart Dootson10-Jul-09 23:10
professionalStuart Dootson10-Jul-09 23:10 
GeneralRe: Vector elements and the heap...or the stack... Pin
Mike the Red11-Jul-09 8:53
Mike the Red11-Jul-09 8:53 
GeneralRe: Vector elements and the heap...or the stack... Pin
Stuart Dootson11-Jul-09 8:56
professionalStuart Dootson11-Jul-09 8:56 
QuestionDialogBox function Pin
dipuks10-Jul-09 12:36
dipuks10-Jul-09 12:36 
AnswerRe: DialogBox function Pin
«_Superman_»10-Jul-09 15:59
professional«_Superman_»10-Jul-09 15:59 
QuestionToolbar-like custom draw buttons Pin
tiresias210-Jul-09 10:00
tiresias210-Jul-09 10:00 
QuestionAdding BigInt's Pin
TannerB10-Jul-09 9:35
TannerB10-Jul-09 9:35 
AnswerRe: Adding BigInt's Pin
josda100010-Jul-09 9:57
josda100010-Jul-09 9:57 

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.