Click here to Skip to main content
15,905,616 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Ratio result placing a square not working - when resizing window Pin
simon alec smith18-Sep-08 5:30
simon alec smith18-Sep-08 5:30 
AnswerRe: Ratio result placing a square not working - when resizing window [modified] Pin
Iain Clarke, Warrior Programmer18-Sep-08 5:29
Iain Clarke, Warrior Programmer18-Sep-08 5:29 
AnswerRe: Ratio result placing a square not working - when resizing window Pin
Mark Salsbery18-Sep-08 5:56
Mark Salsbery18-Sep-08 5:56 
QuestionWinInet issue Pin
George_George18-Sep-08 4:16
George_George18-Sep-08 4:16 
QuestionDrawing wider dashed lines Pin
softwaremonkey18-Sep-08 2:18
softwaremonkey18-Sep-08 2:18 
AnswerRe: Drawing wider dashed lines Pin
Cedric Moonen18-Sep-08 2:35
Cedric Moonen18-Sep-08 2:35 
GeneralRe: Drawing wider dashed lines Pin
softwaremonkey18-Sep-08 4:44
softwaremonkey18-Sep-08 4:44 
QuestionCSpinButtonControl : undeclared identifier. Pin
tenwang18-Sep-08 2:09
tenwang18-Sep-08 2:09 
I have a CSpinButtonCtrl as a resource in a dialog and I made a variable out of it using GetDlgItem. I compiled the code using WDK6000 on winXP and it compiled without any error.
But when i tried to compile it on win 98, using 95 DDK. I am getting an error :
CSpinButtonControl : undeclared identifier

I have a line in the code like this:

CSpinButtonCtrl *spinobj = (CSpinButtonCtrl *)GetDlgItem(IDC_SPN_COPY);
//IDC_SPN_COPY is the resource id.
I have declared the IDC_SPN_COPY in a header file i am using.

I tried adding #include<afxcmn.h>, but it again gave an error which is like :
cannot open afxcmn.h file.

somebody please help me out..
AnswerRe: CSpinButtonControl : undeclared identifier. Pin
tenwang18-Sep-08 2:11
tenwang18-Sep-08 2:11 
AnswerRe: CSpinButtonControl : undeclared identifier. Pin
KarstenK18-Sep-08 2:13
mveKarstenK18-Sep-08 2:13 
GeneralRe: CSpinButtonControl : undeclared identifier. Pin
tenwang18-Sep-08 2:19
tenwang18-Sep-08 2:19 
QuestionRe: CSpinButtonControl : undeclared identifier. Pin
Roger Stoltz18-Sep-08 2:20
Roger Stoltz18-Sep-08 2:20 
AnswerRe: Pin
tenwang18-Sep-08 18:39
tenwang18-Sep-08 18:39 
AnswerRe: Pin
Roger Stoltz18-Sep-08 21:29
Roger Stoltz18-Sep-08 21:29 
GeneralRe: Pin
tenwang18-Sep-08 21:51
tenwang18-Sep-08 21:51 
AnswerRe: Pin
Roger Stoltz18-Sep-08 22:16
Roger Stoltz18-Sep-08 22:16 
GeneralRe: Pin
tenwang18-Sep-08 23:12
tenwang18-Sep-08 23:12 
Questiongethostname() function returns errror Pin
Anu_Bala18-Sep-08 1:38
Anu_Bala18-Sep-08 1:38 
AnswerRe: gethostname() function returns errror Pin
Roger Stoltz18-Sep-08 1:55
Roger Stoltz18-Sep-08 1:55 
GeneralRe: gethostname() function returns errror Pin
Anu_Bala18-Sep-08 2:11
Anu_Bala18-Sep-08 2:11 
GeneralRe: gethostname() function returns errror Pin
Rajesh R Subramanian18-Sep-08 2:27
professionalRajesh R Subramanian18-Sep-08 2:27 
AnswerRe: gethostname() function returns errror Pin
Roger Stoltz18-Sep-08 2:36
Roger Stoltz18-Sep-08 2:36 
AnswerRe: gethostname() function returns errror Pin
Rajesh R Subramanian18-Sep-08 2:25
professionalRajesh R Subramanian18-Sep-08 2:25 
AnswerRe: gethostname() function returns errror Pin
Varghese Paul M18-Sep-08 5:14
Varghese Paul M18-Sep-08 5:14 
QuestionHow to find the number of files in a folder Pin
Deepu Antony18-Sep-08 1:31
Deepu Antony18-Sep-08 1:31 

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.