Click here to Skip to main content
15,900,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: plz explain clearly Pin
toxcct5-Jul-06 1:41
toxcct5-Jul-06 1:41 
QuestionRe: plz explain clearly Pin
David Crow5-Jul-06 3:12
David Crow5-Jul-06 3:12 
QuestionAn hex string convert to integer? [modified] Pin
bosfan5-Jul-06 0:18
bosfan5-Jul-06 0:18 
AnswerRe: An hex string convert to integer? Pin
Don Box5-Jul-06 0:22
Don Box5-Jul-06 0:22 
GeneralRe: An hex string convert to integer? Pin
bosfan5-Jul-06 0:48
bosfan5-Jul-06 0:48 
GeneralRe: An hex string convert to integer? Pin
earl5-Jul-06 4:29
earl5-Jul-06 4:29 
QuestionDoubt in #define Pin
Anu_Bala5-Jul-06 0:17
Anu_Bala5-Jul-06 0:17 
AnswerRe: Doubt in #define Pin
Sarath C5-Jul-06 0:32
Sarath C5-Jul-06 0:32 
Anu_Bala wrote:
Can we define like this manually for control ID?


Yes.


Anu_Bala wrote:
resource.h(110):#define IDC_BOXDETAIL1 1038


This is the unique ID for the control. there wont be no problem if a #define exists there.

the thing will get worse, if you add a control varibale for an existing control and if you delete that control from the resource file.

the #define may exists there in the resource.h file, so there wont be any compilation issue. But you will get an assertion in DoDataExchange function.
When we define control there will be an entry in the DoDataExchange something like this
DDX_Text(pDX, IDC_THIN_PEN_WIDTH, m_nThinWidth);
On deleting the control, it wont get removed.

Hope you clear.



SaRath.

"It is your attitude, not your aptitude, that determines your altitude - Zig Ziglar."

My Blog | Understanding State Pattern in C++

Questionhow can get selected item in list box???? Pin
mimimimilaw5-Jul-06 0:13
mimimimilaw5-Jul-06 0:13 
AnswerRe: how can get selected item in list box???? Pin
Bernhard5-Jul-06 0:16
Bernhard5-Jul-06 0:16 
AnswerRe: how can get selected item in list box???? Pin
_AnsHUMAN_ 5-Jul-06 0:17
_AnsHUMAN_ 5-Jul-06 0:17 
AnswerRe: how can get selected item in list box???? Pin
Hamid_RT5-Jul-06 0:22
Hamid_RT5-Jul-06 0:22 
QuestionC++ project HELP Pin
Nirmal Khatri5-Jul-06 0:04
Nirmal Khatri5-Jul-06 0:04 
AnswerRe: C++ project HELP Pin
_AnsHUMAN_ 5-Jul-06 0:10
_AnsHUMAN_ 5-Jul-06 0:10 
AnswerRe: C++ project HELP Pin
Hamid_RT5-Jul-06 0:11
Hamid_RT5-Jul-06 0:11 
Questionwi-fi development Pin
everything_sux4-Jul-06 23:43
everything_sux4-Jul-06 23:43 
AnswerRe: wi-fi development Pin
earl5-Jul-06 4:30
earl5-Jul-06 4:30 
GeneralRe: wi-fi development Pin
everything_sux5-Jul-06 4:36
everything_sux5-Jul-06 4:36 
GeneralRe: wi-fi development Pin
earl5-Jul-06 4:39
earl5-Jul-06 4:39 
GeneralRe: wi-fi development Pin
everything_sux5-Jul-06 4:43
everything_sux5-Jul-06 4:43 
GeneralRe: wi-fi development Pin
earl5-Jul-06 4:46
earl5-Jul-06 4:46 
QuestionHow to add strings to combobox Pin
vc++_fragrance4-Jul-06 23:17
vc++_fragrance4-Jul-06 23:17 
AnswerRe: How to add strings to combobox [modified] Pin
voorugonda prashanth4-Jul-06 23:20
voorugonda prashanth4-Jul-06 23:20 
AnswerRe: How to add strings to combobox Pin
Weiye Chen4-Jul-06 23:36
Weiye Chen4-Jul-06 23:36 
GeneralRe: How to add strings to combobox Pin
Hamid_RT4-Jul-06 23:38
Hamid_RT4-Jul-06 23:38 

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.