Click here to Skip to main content
16,020,315 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to create a button on the right of the screen in mfc.? Pin
Richard MacCutchan27-Jan-13 22:36
mveRichard MacCutchan27-Jan-13 22:36 
GeneralRe: How to create a button on the right of the screen in mfc.? Pin
mbatra3128-Jan-13 0:07
mbatra3128-Jan-13 0:07 
AnswerRe: How to create a button on the right of the screen in mfc.? Pin
Iain Clarke, Warrior Programmer24-Jan-13 23:13
Iain Clarke, Warrior Programmer24-Jan-13 23:13 
GeneralRe: How to create a button on the right of the screen in mfc.? Pin
mbatra3127-Jan-13 20:11
mbatra3127-Jan-13 20:11 
AnswerRe: How to create a button on the right of the screen in mfc.? Pin
Albert Holguin25-Jan-13 7:47
professionalAlbert Holguin25-Jan-13 7:47 
QuestionCall CListCtrl::GetItemCount() in work thread proble. Pin
yu-jian24-Jan-13 17:41
yu-jian24-Jan-13 17:41 
AnswerRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
«_Superman_»24-Jan-13 18:03
professional«_Superman_»24-Jan-13 18:03 
AnswerRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
Jochen Arndt24-Jan-13 21:00
professionalJochen Arndt24-Jan-13 21:00 
Low level of MFC is the Win32 API. Open the context menu by right clicking on a call to CListCtrl::GetItemCount() and choose 'Go to definition'. You will see that it is an inline function that sends the LVM_GETITEMCOUNT message to the list control window. This message is not processed while your GUI thread is blocked.

A general rule is: Never block GUI threads. If you have to wait for events, do this in worker threads.
GeneralRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
yu-jian24-Jan-13 21:48
yu-jian24-Jan-13 21:48 
GeneralRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
Jochen Arndt24-Jan-13 22:18
professionalJochen Arndt24-Jan-13 22:18 
GeneralRe: Call CListCtrl::GetItemCount() in work thread proble. Pin
yu-jian24-Jan-13 23:40
yu-jian24-Jan-13 23:40 
QuestionOpen cv C++ Pin
Member 961996424-Jan-13 7:15
Member 961996424-Jan-13 7:15 
AnswerRe: Open cv C++ Pin
Jibesh24-Jan-13 7:44
professionalJibesh24-Jan-13 7:44 
Questionhow to compress data using zlib? Pin
IICTECH24-Jan-13 1:04
IICTECH24-Jan-13 1:04 
AnswerRe: how to compress data using zlib? Pin
Richard MacCutchan24-Jan-13 1:45
mveRichard MacCutchan24-Jan-13 1:45 
AnswerRe: how to compress data using zlib? Pin
Albert Holguin25-Jan-13 7:51
professionalAlbert Holguin25-Jan-13 7:51 
QuestionDebugging Dll Pin
sarfaraznawaz24-Jan-13 0:30
sarfaraznawaz24-Jan-13 0:30 
QuestionDebugging Dll Pin
sarfaraznawaz24-Jan-13 0:30
sarfaraznawaz24-Jan-13 0:30 
AnswerRe: Debugging Dll Pin
Sivaraman Dhamodharan24-Jan-13 1:26
Sivaraman Dhamodharan24-Jan-13 1:26 
GeneralRe: Debugging Dll Pin
sarfaraznawaz24-Jan-13 2:58
sarfaraznawaz24-Jan-13 2:58 
GeneralRe: Debugging Dll Pin
Richard MacCutchan24-Jan-13 3:16
mveRichard MacCutchan24-Jan-13 3:16 
GeneralRe: Debugging Dll Pin
sarfaraznawaz30-Jan-13 1:25
sarfaraznawaz30-Jan-13 1:25 
GeneralRe: Debugging Dll Pin
Richard MacCutchan30-Jan-13 2:55
mveRichard MacCutchan30-Jan-13 2:55 
GeneralRe: Debugging Dll Pin
sarfaraznawaz30-Jan-13 3:10
sarfaraznawaz30-Jan-13 3:10 
GeneralRe: Debugging Dll Pin
Richard MacCutchan30-Jan-13 3:20
mveRichard MacCutchan30-Jan-13 3:20 

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.