Click here to Skip to main content
16,016,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Mysql Select * from Table Pin
Rajesh R Subramanian8-Jul-09 22:32
professionalRajesh R Subramanian8-Jul-09 22:32 
GeneralRe: Mysql Select * from Table Pin
Davitor8-Jul-09 23:03
Davitor8-Jul-09 23:03 
QuestionRe: Mysql Select * from Table Pin
David Crow9-Jul-09 3:03
David Crow9-Jul-09 3:03 
QuestionCombo Box Pin
Padmanabha_M8-Jul-09 18:51
Padmanabha_M8-Jul-09 18:51 
AnswerRe: Combo Box Pin
Adam Roderick J8-Jul-09 19:07
Adam Roderick J8-Jul-09 19:07 
AnswerRe: Combo Box Pin
«_Superman_»8-Jul-09 19:08
professional«_Superman_»8-Jul-09 19:08 
GeneralRe: Combo Box Pin
Padmanabha_M8-Jul-09 19:39
Padmanabha_M8-Jul-09 19:39 
Questionclipboard Pin
samira forooghi8-Jul-09 18:28
samira forooghi8-Jul-09 18:28 
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 . I am cant open clipboard from my application
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
	}

AnswerRe: clipboard Pin
Adam Roderick J8-Jul-09 19:38
Adam Roderick J8-Jul-09 19:38 
GeneralRe: clipboard Pin
samira forooghi8-Jul-09 21:47
samira forooghi8-Jul-09 21:47 
QuestionStartProcess/Inject DLL or Detours Pin
Daedro8-Jul-09 12:16
Daedro8-Jul-09 12:16 
AnswerRe: StartProcess/Inject DLL or Detours Pin
Baltoro8-Jul-09 14:25
Baltoro8-Jul-09 14:25 
AnswerRe: StartProcess/Inject DLL or Detours Pin
Adam Roderick J8-Jul-09 18:59
Adam Roderick J8-Jul-09 18:59 
QuestionHow to retrieve Public IP Address Pin
gamefreak22918-Jul-09 8:53
gamefreak22918-Jul-09 8:53 
QuestionRe: How to retrieve Public IP Address Pin
David Crow9-Jul-09 4:12
David Crow9-Jul-09 4:12 
AnswerRe: How to retrieve Public IP Address Pin
gamefreak22919-Jul-09 5:09
gamefreak22919-Jul-09 5:09 
Questioncant make it stop, problem with small c++ code Pin
rambache8-Jul-09 8:50
rambache8-Jul-09 8:50 
AnswerRe: cant make it stop, problem with small c++ code Pin
josda10008-Jul-09 9:01
josda10008-Jul-09 9:01 
AnswerRe: cant make it stop, problem with small c++ code Pin
gamefreak22918-Jul-09 9:03
gamefreak22918-Jul-09 9:03 
GeneralRe: cant make it stop, problem with small c++ code Pin
josda10008-Jul-09 9:04
josda10008-Jul-09 9:04 
GeneralRe: cant make it stop, problem with small c++ code Pin
josda10008-Jul-09 9:03
josda10008-Jul-09 9:03 
GeneralRe: cant make it stop, problem with small c++ code Pin
gamefreak22918-Jul-09 9:12
gamefreak22918-Jul-09 9:12 
QuestionUnderstanding SDI Document/View Linkage - #$@%$%%^$%^% Pin
CodeMacDaddy8-Jul-09 8:47
CodeMacDaddy8-Jul-09 8:47 
Questionlib file keeps fully recompiling even when no changes have been made Pin
KellyR8-Jul-09 7:32
KellyR8-Jul-09 7:32 
AnswerRe: lib file keeps fully recompiling even when no changes have been made Pin
Stuart Dootson8-Jul-09 9:40
professionalStuart Dootson8-Jul-09 9:40 

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.