Click here to Skip to main content
15,917,731 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUsing Dialog's from different projects in the same solution? Pin
jammin PPP21-Apr-05 20:53
jammin PPP21-Apr-05 20:53 
AnswerRe: Using Dialog's from different projects in the same solution? Pin
22491721-Apr-05 21:31
22491721-Apr-05 21:31 
AnswerRe: Using Dialog's from different projects in the same solution? Pin
wts77091922-Apr-05 1:59
wts77091922-Apr-05 1:59 
GeneralAccessing Ms Access database through a password using VC++ (ODBC) Pin
Shanmuga Sundar21-Apr-05 19:57
Shanmuga Sundar21-Apr-05 19:57 
GeneralRe: Accessing Ms Access database through a password using VC++ (ODBC) Pin
22491721-Apr-05 20:13
22491721-Apr-05 20:13 
Generalspin control Pin
laiju21-Apr-05 19:24
laiju21-Apr-05 19:24 
GeneralRe: spin control Pin
PJ Arends21-Apr-05 20:51
professionalPJ Arends21-Apr-05 20:51 
GeneralRe: spin control Pin
ddmcr22-Apr-05 2:06
ddmcr22-Apr-05 2:06 
if you have already set your edit box as buddy of the spin ctrl , then add variable to your edit box i.e CEdit m_edit
then add then in class wizard in the WM_VSCROLL message handler add following code :

void CYourDialogDlg::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar)

{

if( pScrollBar->GetDlgCtrlID() == IDC_SPIN1 )
{
CString str;
str.Format("%d",nPos);
m_edit.SetWindowText( str );
}

CDialog::OnVScroll(nSBCode, nPos, pScrollBar);

}



m0n0
Generalplease excel automation with mfc Pin
lee kyu sub21-Apr-05 17:19
lee kyu sub21-Apr-05 17:19 
QuestionHow to get CPU usage of a particular process/application Pin
Nam Deok Cho21-Apr-05 16:40
Nam Deok Cho21-Apr-05 16:40 
General4peg tower of hanoi Pin
Anonymous21-Apr-05 13:56
Anonymous21-Apr-05 13:56 
GeneralRe: 4peg tower of hanoi Pin
Christian Graus21-Apr-05 14:24
protectorChristian Graus21-Apr-05 14:24 
GeneralRe: 4peg tower of hanoi Pin
Ravi Bhavnani21-Apr-05 17:57
professionalRavi Bhavnani21-Apr-05 17:57 
GeneralRe: 4peg tower of hanoi Pin
Anonymous23-Apr-05 9:10
Anonymous23-Apr-05 9:10 
GeneralStatic Linking DAO or ADO Pin
HaraldS21-Apr-05 11:15
HaraldS21-Apr-05 11:15 
GeneralA virtual function question Pin
bcemick21-Apr-05 10:36
bcemick21-Apr-05 10:36 
GeneralRe: A virtual function question Pin
Christian Graus21-Apr-05 13:48
protectorChristian Graus21-Apr-05 13:48 
GeneralRe: A virtual function question Pin
bcemick22-Apr-05 0:20
bcemick22-Apr-05 0:20 
GeneralRe: A virtual function question Pin
Stlan22-Apr-05 3:54
Stlan22-Apr-05 3:54 
GeneralRe: A virtual function question Pin
bcemick22-Apr-05 4:03
bcemick22-Apr-05 4:03 
GeneralRe: A virtual function question Pin
liquid_22-Apr-05 7:24
liquid_22-Apr-05 7:24 
GeneralRe: A virtual function question Pin
heman15422-Apr-05 9:24
heman15422-Apr-05 9:24 
GeneralRe: A virtual function question Pin
Christian in a nice hotel in Singapore24-Apr-05 0:21
sussChristian in a nice hotel in Singapore24-Apr-05 0:21 
GeneralApi that shows the status of NIC Pin
brilliant10121-Apr-05 10:19
brilliant10121-Apr-05 10:19 
GeneralRe: Api that shows the status of NIC Pin
David Crow21-Apr-05 17:04
David Crow21-Apr-05 17:04 

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.