Click here to Skip to main content
16,008,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDetermining partitions? Pin
pc_dev6-Feb-06 2:22
pc_dev6-Feb-06 2:22 
AnswerRe: Determining partitions? Pin
Rage6-Feb-06 2:46
professionalRage6-Feb-06 2:46 
AnswerRe: Determining partitions? Pin
James R. Twine6-Feb-06 3:01
James R. Twine6-Feb-06 3:01 
QuestionAdding hyperlink in static control/dialog Pin
pc_dev6-Feb-06 2:02
pc_dev6-Feb-06 2:02 
AnswerRe: Adding hyperlink in static control/dialog Pin
Cedric Moonen6-Feb-06 2:18
Cedric Moonen6-Feb-06 2:18 
AnswerRe: Adding hyperlink in static control/dialog Pin
James R. Twine6-Feb-06 2:38
James R. Twine6-Feb-06 2:38 
QuestionCListCtrl run-time creation question Pin
Odiee6-Feb-06 1:48
Odiee6-Feb-06 1:48 
AnswerRe: CListCtrl run-time creation question Pin
Hamid_RT6-Feb-06 3:30
Hamid_RT6-Feb-06 3:30 
I think This Example is your answer
This Example For CStatic Control But for your answer
CStatic --> CListCtrl
Function Onclick -> your Function
in the BEGIN_MESSAGE_MAP
you should use functions CListCtrl

//In cpp File
BEGIN_MESSAGE_MAP(CViewerView, CFormView)
ON_STN_CLICKED(ID_SCROLLSIZE, OnClick)
END_MESSAGE_MAP()



void CViewerView::OnInitial()
{
....
....

CRect Rect;
m_ScrollSize.Create("",SS_BLACKRECT|WS_CHILD|WS_VISIBLE|SS_NOTIFY,
Rect,this,ID_SCROLLSIZE);
}




in Header file////////////////////
#define ID_SCROLLSIZE 100;
class CAnswer : public CDialog
{
...
...

DECLARE_MESSAGE_MAP()
public:
CStatic m_ScrollSize;
afx_msg void OnClick();
};

QuestionAdd html help to a button Pin
schliz6-Feb-06 1:35
schliz6-Feb-06 1:35 
AnswerRe: Add html help to a button Pin
pc_dev6-Feb-06 1:56
pc_dev6-Feb-06 1:56 
GeneralRe: Add html help to a button Pin
schliz6-Feb-06 4:31
schliz6-Feb-06 4:31 
QuestionHow to ignore a group of warnings in a project "#pragma deprecated" Pin
arunperi6-Feb-06 1:10
arunperi6-Feb-06 1:10 
AnswerRe: How to ignore a group of warnings in a project "#pragma deprecated" Pin
pg__6-Feb-06 1:58
pg__6-Feb-06 1:58 
AnswerRe: How to ignore a group of warnings in a project "#pragma deprecated" Pin
toxcct6-Feb-06 2:31
toxcct6-Feb-06 2:31 
GeneralRe: How to ignore a group of warnings in a project "#pragma deprecated" Pin
arunperi6-Feb-06 16:50
arunperi6-Feb-06 16:50 
GeneralRe: How to ignore a group of warnings in a project "#pragma deprecated" Pin
toxcct6-Feb-06 21:16
toxcct6-Feb-06 21:16 
QuestionCrystal reports Pin
syedfasih6-Feb-06 0:47
syedfasih6-Feb-06 0:47 
QuestionVideo Setting Pin
Hamid_RT6-Feb-06 0:42
Hamid_RT6-Feb-06 0:42 
QuestionRe: Video Setting Pin
David Crow6-Feb-06 3:01
David Crow6-Feb-06 3:01 
AnswerRe: Video Setting Pin
Hamid_RT6-Feb-06 3:32
Hamid_RT6-Feb-06 3:32 
QuestionRe: Video Setting Pin
David Crow6-Feb-06 4:07
David Crow6-Feb-06 4:07 
QuestionMFC (ODBC) Pin
syedfasih6-Feb-06 0:39
syedfasih6-Feb-06 0:39 
QuestionRe: MFC (ODBC) Pin
David Crow6-Feb-06 3:03
David Crow6-Feb-06 3:03 
AnswerRe: MFC (ODBC) Pin
syedfasih6-Feb-06 9:34
syedfasih6-Feb-06 9:34 
QuestionRe: MFC (ODBC) Pin
David Crow7-Feb-06 2:35
David Crow7-Feb-06 2:35 

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.