Click here to Skip to main content
15,885,878 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: reading from the Microphone Pin
Mark Salsbery24-May-07 8:00
Mark Salsbery24-May-07 8:00 
AnswerRe: reading from the Microphone Pin
normanS24-May-07 9:08
normanS24-May-07 9:08 
Questionrelation between CMainframe and the application class Pin
prithaa24-May-07 6:12
prithaa24-May-07 6:12 
AnswerRe: relation between CMainframe and the application class Pin
David Crow24-May-07 7:08
David Crow24-May-07 7:08 
AnswerRe: relation between CMainframe and the application class Pin
Mark Salsbery24-May-07 8:12
Mark Salsbery24-May-07 8:12 
AnswerRe: relation between CMainframe and the application class Pin
Nelek24-May-07 21:22
protectorNelek24-May-07 21:22 
QuestionLNK2005 linking problem with libcmt.lib [modified] Pin
theboywilse24-May-07 5:41
theboywilse24-May-07 5:41 
QuestionApplication Crashes on OnBegindrag Pin
AAKAra24-May-07 5:19
AAKAra24-May-07 5:19 
Hi,
My application crashes when i do a Drag and Drop on the Browse window, it does not happen often. I happens only when we do a improper drag and drop, meaning if the selection is not made and still we manage to Drag. Windows thinks that there is an object attached to Drag but has a null pointer and crashes in the
DataSource.DoDragDrop(m_dropEffectAllowed)
function,



void OnBegindrag(NMHDR* /*pNMHDR*/, LRESULT* pResult)
{
//NM_LISTVIEW* pNMListView = (NM_LISTVIEW*)pNMHDR;
*pResult = 0;

// If no drop effects are allowed then just exit.
if (0 == m_dropEffectAllowed) return;

// Create an item list for all of the selected objects.
CPyrItemList* ppil = CreateSelectedItemList (m_fIgnoreClassFoldersInLists);
if (NULL == ppil) return;

// If we drag the data to another process and it takes a long time
// to complete the drop, it's possible for us to get "server busy"
// dialogs while we're waiting for the other process. So we want
// to turn off those dialogs now.




// Create a data source to do the drag-drop and then do the
// drag-drop.
CPyrItemListDataSource DataSource;
DataSource.Create (*ppil);
/*DROPEFFECT dropEffect = */ DataSource.DoDragDrop (m_dropEffectAllowed);
delete ppil;
}


Can someone pls suggest?
QuestionAccess from thread Pin
garfield18524-May-07 5:12
garfield18524-May-07 5:12 
AnswerRe: Access from thread Pin
KellyR24-May-07 5:24
KellyR24-May-07 5:24 
GeneralRe: Access from thread Pin
garfield18524-May-07 5:38
garfield18524-May-07 5:38 
GeneralRe: Access from thread Pin
Roger Stoltz24-May-07 5:49
Roger Stoltz24-May-07 5:49 
QuestionWeird problem with bitmaps.. Pin
KellyR24-May-07 4:32
KellyR24-May-07 4:32 
Questionhow to close .exe file in process list in task manager Pin
nahitan24-May-07 4:13
nahitan24-May-07 4:13 
QuestionRe: how to close .exe file in process list in task manager Pin
David Crow24-May-07 4:19
David Crow24-May-07 4:19 
AnswerRe: how to close .exe file in process list in task manager Pin
Mark Salsbery24-May-07 6:32
Mark Salsbery24-May-07 6:32 
GeneralRe: how to close .exe file in process list in task manager Pin
nahitan24-May-07 9:41
nahitan24-May-07 9:41 
AnswerRe: how to close .exe file in process list in task manager Pin
swarup24-May-07 8:22
swarup24-May-07 8:22 
GeneralRe: how to close .exe file in process list in task manager Pin
nahitan24-May-07 9:45
nahitan24-May-07 9:45 
AnswerRe: how to close .exe file in process list in task manager Pin
Hamid_RT24-May-07 11:12
Hamid_RT24-May-07 11:12 
Questiondelete "anonymous?" string Pin
daveyerwin24-May-07 4:07
daveyerwin24-May-07 4:07 
AnswerRe: delete "anonymous?" string Pin
BadKarma24-May-07 4:11
BadKarma24-May-07 4:11 
GeneralRe: delete "anonymous?" string Pin
Mark Salsbery24-May-07 6:33
Mark Salsbery24-May-07 6:33 
Question.Net 1.1 --> .Net 2.0 Pin
Tal S.24-May-07 3:51
Tal S.24-May-07 3:51 
AnswerRe: .Net 1.1 --> .Net 2.0 Pin
Mark Salsbery24-May-07 6:41
Mark Salsbery24-May-07 6:41 

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.