Click here to Skip to main content
15,925,309 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: html res files don't seem to work anymore. Pin
Richard Andrew x6426-Dec-08 5:10
professionalRichard Andrew x6426-Dec-08 5:10 
GeneralRe: html res files don't seem to work anymore. Pin
Jim Crafton26-Dec-08 5:13
Jim Crafton26-Dec-08 5:13 
GeneralRe: html res files don't seem to work anymore. Pin
Richard Andrew x6426-Dec-08 5:15
professionalRichard Andrew x6426-Dec-08 5:15 
GeneralRe: html res files don't seem to work anymore. Pin
Jim Crafton26-Dec-08 5:27
Jim Crafton26-Dec-08 5:27 
GeneralRe: html res files don't seem to work anymore. Pin
Richard Andrew x6426-Dec-08 5:30
professionalRichard Andrew x6426-Dec-08 5:30 
GeneralRe: html res files don't seem to work anymore. Pin
Richard Andrew x6426-Dec-08 5:47
professionalRichard Andrew x6426-Dec-08 5:47 
QuestionHow to get a desktop screenshot without my application window? [modified] Pin
midix26-Dec-08 3:08
midix26-Dec-08 3:08 
QuestionGetClipboard Data Pin
Davitor26-Dec-08 1:55
Davitor26-Dec-08 1:55 
Hi All

I have a problem to get GetClipboard data?I have a code which is working fine for copy data.I read all data which is copy from system.But problem is when i use Cut option then i am geting NULL Data.Plz help me

LPDATAOBJECT pDO;
TCHAR szPath12[MAX_PATH];
// open the clipboard and ask for a CF_HDROP, if any
HRESULT hr = OleGetClipboard(&pDO);

FORMATETC fmt = {CF_HDROP, NULL, DVASPECT_CONTENT, -1, TYMED_HGLOBAL};
STGMEDIUM stgm;
hr = pDO->GetData(&fmt, &stgm);
if(S_OK == hr)
{
   UINT nFiles = DragQueryFile((HDROP)stgm.hGlobal, -1, NULL, 0);

  int i = 0;
for( i = 0; i < nFiles; i++)
   {
	   ij=1;
      DragQueryFile((HDROP)stgm.hGlobal, i, szPath12, MAX_PATH);
	 
	
	
   szPath12;   
  

  
  
  
 }


   ReleaseStgMedium(&stgm); // will call GlobalFree
}


pDO->Release();

QuestionGetting the error LNK2005 how to resolve this.I tried to set the properties but still i am finding the error at link Pin
pallaka25-Dec-08 21:37
pallaka25-Dec-08 21:37 
AnswerRe: Getting the error LNK2005 how to resolve this.I tried to set the properties but still i am finding the error at link Pin
Stuart Dootson25-Dec-08 22:21
professionalStuart Dootson25-Dec-08 22:21 
AnswerRe: Getting the error LNK2005 how to resolve this.I tried to set the properties but still i am finding the error at link Pin
Malli_S25-Dec-08 22:32
Malli_S25-Dec-08 22:32 
QuestionCMDIChildWnd in new thread Pin
dene9997025-Dec-08 19:41
dene9997025-Dec-08 19:41 
AnswerRe: CMDIChildWnd in new thread Pin
Stuart Dootson25-Dec-08 22:24
professionalStuart Dootson25-Dec-08 22:24 
QuestionDatabase connectivity Pin
Nath_Vishwa25-Dec-08 19:26
Nath_Vishwa25-Dec-08 19:26 
AnswerRe: Database connectivity Pin
Girish60125-Dec-08 20:13
Girish60125-Dec-08 20:13 
AnswerRe: Database connectivity Pin
Mark Salsbery26-Dec-08 10:07
Mark Salsbery26-Dec-08 10:07 
QuestionNeed some suggestion to develop a visio-like app using MFC Pin
yybenny25-Dec-08 17:13
yybenny25-Dec-08 17:13 
GeneralRe: Need some suggestion to develop a visio-like app using MFC Pin
Luc Pattyn25-Dec-08 17:32
sitebuilderLuc Pattyn25-Dec-08 17:32 
GeneralRe: Need some suggestion to develop a visio-like app using MFC Pin
yybenny25-Dec-08 19:26
yybenny25-Dec-08 19:26 
GeneralRe: Need some suggestion to develop a visio-like app using MFC Pin
yybenny25-Dec-08 20:48
yybenny25-Dec-08 20:48 
QuestionIs This Thread Safe Pin
BobInNJ25-Dec-08 16:26
BobInNJ25-Dec-08 16:26 
GeneralRe: Is This Thread Safe Pin
Luc Pattyn25-Dec-08 17:29
sitebuilderLuc Pattyn25-Dec-08 17:29 
AnswerRe: Is This Thread Safe Pin
Code-o-mat25-Dec-08 22:51
Code-o-mat25-Dec-08 22:51 
GeneralRe: Is This Thread Safe Pin
BobInNJ26-Dec-08 6:16
BobInNJ26-Dec-08 6:16 
GeneralRe: Is This Thread Safe Pin
Code-o-mat26-Dec-08 7:57
Code-o-mat26-Dec-08 7: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.