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

C / C++ / MFC

 
QuestionHow to get the whole view's screen shot when the view has scroll bar ? Pin
wangningyu14-Nov-10 17:34
wangningyu14-Nov-10 17:34 
AnswerRe: How to get the whole view's screen shot when the view has scroll bar ? Pin
Dr.Walt Fair, PE14-Nov-10 18:16
professionalDr.Walt Fair, PE14-Nov-10 18:16 
GeneralRe: How to get the whole view's screen shot when the view has scroll bar ? Pin
wangningyu14-Nov-10 18:49
wangningyu14-Nov-10 18:49 
GeneralRe: How to get the whole view's screen shot when the view has scroll bar ? Pin
Dr.Walt Fair, PE14-Nov-10 19:02
professionalDr.Walt Fair, PE14-Nov-10 19:02 
GeneralRe: How to get the whole view's screen shot when the view has scroll bar ? Pin
wangningyu14-Nov-10 19:06
wangningyu14-Nov-10 19:06 
AnswerRe: How to get the whole view's screen shot when the view has scroll bar ? Pin
Randor 14-Nov-10 19:25
professional Randor 14-Nov-10 19:25 
GeneralRe: How to get the whole view's screen shot when the view has scroll bar ? Pin
wangningyu14-Nov-10 19:27
wangningyu14-Nov-10 19:27 
QuestionHow can find List item click or checkbox click? Pin
Le@rner12-Nov-10 22:22
Le@rner12-Nov-10 22:22 
Hi all,

i m using ListCtrl of Report View Type with checkbox property,

i want to identify when i click on ListCtrl its click on list item or checkbox.

i m using this code on NM_Click function

NMLISTVIEW* pNMListView = (NM_LISTVIEW*)pNMHDR;
LVHITTESTINFO hitinfo;
hitinfo.pt = pNMListView->ptAction;
UINT uFlags;
int item = m_Err_List.HitTest(&hitinfo); 
if(item != -1)
{
  if (uFlags & LVHT_ONITEMSTATEICON)
     {
       AfxMessageBox("Click on checkbox");
     }
}


here message display in both case whether i click on check box or on list item

please help me how can i do this.

thanks in advance
AnswerRe: How can find List item click or checkbox click? Pin
Richard MacCutchan12-Nov-10 23:36
mveRichard MacCutchan12-Nov-10 23:36 
GeneralRe: How can find List item click or checkbox click? Pin
Le@rner12-Nov-10 23:48
Le@rner12-Nov-10 23:48 
GeneralRe: How can find List item click or checkbox click? Pin
Richard MacCutchan13-Nov-10 0:18
mveRichard MacCutchan13-Nov-10 0:18 
AnswerRe: How can find List item click or checkbox click? Pin
Code-o-mat13-Nov-10 0:47
Code-o-mat13-Nov-10 0:47 
AnswerRe: How can find List item click or checkbox click? Pin
David Crow13-Nov-10 15:41
David Crow13-Nov-10 15:41 
GeneralRe: How can find List item click or checkbox click? Pin
«_Superman_»14-Nov-10 4:01
professional«_Superman_»14-Nov-10 4:01 
QuestionFault Address error Pin
MKC00212-Nov-10 21:24
MKC00212-Nov-10 21:24 
AnswerRe: Fault Address error Pin
Stephen Hewitt13-Nov-10 2:27
Stephen Hewitt13-Nov-10 2:27 
AnswerRe: Fault Address error Pin
Code-o-mat13-Nov-10 8:48
Code-o-mat13-Nov-10 8:48 
QuestionCString to double [modified] Pin
john563212-Nov-10 21:10
john563212-Nov-10 21:10 
AnswerRe: CString to double Pin
Stephen Hewitt13-Nov-10 2:30
Stephen Hewitt13-Nov-10 2:30 
QuestionTerminating OpenMP loop early Pin
Damir Valiulin12-Nov-10 12:51
Damir Valiulin12-Nov-10 12:51 
AnswerRe: Terminating OpenMP loop early Pin
Randor 13-Nov-10 1:11
professional Randor 13-Nov-10 1:11 
GeneralRe: Terminating OpenMP loop early Pin
Damir Valiulin15-Nov-10 7:12
Damir Valiulin15-Nov-10 7:12 
QuestionUsing Liberary Module in VS 2008?? Pin
AmbiguousName12-Nov-10 8:44
AmbiguousName12-Nov-10 8:44 
AnswerRe: Using Liberary Module in VS 2008?? Pin
Chris Losinger15-Nov-10 1:03
professionalChris Losinger15-Nov-10 1:03 
QuestionWhich is better? Returning reference or value? Pin
Code-o-mat12-Nov-10 8:18
Code-o-mat12-Nov-10 8:18 

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.