Click here to Skip to main content
15,882,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WSACleanup delays when called how can I get around this? Pin
Member 433675510-May-14 5:50
Member 433675510-May-14 5:50 
QuestionMCI QUESTION!!! Is it different file extension name and codec? Pin
AmissU6-May-14 21:00
AmissU6-May-14 21:00 
QuestionCompiling VLC in Visual Studio 2013 Pin
Django_Untaken5-May-14 5:32
Django_Untaken5-May-14 5:32 
AnswerRe: Compiling VLC in Visual Studio 2013 Pin
leon de boer5-May-14 7:10
leon de boer5-May-14 7:10 
AnswerRe: Compiling VLC in Visual Studio 2013 Pin
Richard MacCutchan5-May-14 20:18
mveRichard MacCutchan5-May-14 20:18 
Questiongood algorithm to determine if there are overlapping in multiple rectangles Pin
Falconapollo3-May-14 19:46
Falconapollo3-May-14 19:46 
AnswerRe: good algorithm to determine if there are overlapping in multiple rectangles Pin
Software_Developer3-May-14 20:52
Software_Developer3-May-14 20:52 
AnswerRe: good algorithm to determine if there are overlapping in multiple rectangles Pin
CPallini4-May-14 23:09
mveCPallini4-May-14 23:09 
The best algorithm is up to you, of course.
A naive algorithm would use a simple nested loop
C++
for (i=0; i<N-1; ++i)
  for (j=i+1; j<N; ++j)
    if ( IntersectRect(&rcOut, &rc[i], &rc[j] )
    {
      // do something here...
    }

Veni, vidi, vici.

GeneralRe: good algorithm to determine if there are overlapping in multiple rectangles Pin
leon de boer5-May-14 2:29
leon de boer5-May-14 2:29 
QuestionTo fix the first column of CListView grid type control in MFC Pin
sma123#2-May-14 7:35
sma123#2-May-14 7:35 
QuestionRe: To fix the first column of CListView grid type control in MFC Pin
David Crow5-May-14 7:04
David Crow5-May-14 7:04 
AnswerRe: To fix the first column of CListView grid type control in MFC Pin
sma123#6-May-14 1:42
sma123#6-May-14 1:42 
SuggestionRe: To fix the first column of CListView grid type control in MFC Pin
David Crow6-May-14 5:08
David Crow6-May-14 5:08 
AnswerRe: To fix the first column of CListView grid type control in MFC Pin
Richard MacCutchan5-May-14 20:23
mveRichard MacCutchan5-May-14 20:23 
QuestionHow to get cursor position in status bar? Pin
Vladislav Gospodinov2-May-14 2:36
Vladislav Gospodinov2-May-14 2:36 
QuestionRe: How to get cursor position in status bar? Pin
David Crow2-May-14 2:50
David Crow2-May-14 2:50 
AnswerRe: How to get cursor position in status bar? Pin
Vladislav Gospodinov2-May-14 3:24
Vladislav Gospodinov2-May-14 3:24 
QuestionRe: How to get cursor position in status bar? Pin
jeron12-May-14 4:20
jeron12-May-14 4:20 
AnswerRe: How to get cursor position in status bar? Pin
Vladislav Gospodinov2-May-14 5:08
Vladislav Gospodinov2-May-14 5:08 
QuestionRe: How to get cursor position in status bar? Pin
jeron12-May-14 5:15
jeron12-May-14 5:15 
AnswerRe: How to get cursor position in status bar? Pin
Vladislav Gospodinov2-May-14 5:21
Vladislav Gospodinov2-May-14 5:21 
GeneralRe: How to get cursor position in status bar? Pin
jeron12-May-14 5:43
jeron12-May-14 5:43 
QuestionRe: How to get cursor position in status bar? Pin
David Crow2-May-14 5:46
David Crow2-May-14 5:46 
AnswerRe: How to get cursor position in status bar? Pin
Vladislav Gospodinov2-May-14 5:59
Vladislav Gospodinov2-May-14 5:59 
AnswerRe: How to get cursor position in status bar? Pin
David Crow2-May-14 7:26
David Crow2-May-14 7:26 

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.