Click here to Skip to main content
15,910,471 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Strange Behavior with ::CreateDialogIndirect Pin
Bernhard3-Sep-03 22:37
Bernhard3-Sep-03 22:37 
GeneralThreads, Dialog based appl Pin
KKR3-Sep-03 21:50
KKR3-Sep-03 21:50 
GeneralRe: Threads, Dialog based appl Pin
VIKASK_773-Sep-03 23:52
VIKASK_773-Sep-03 23:52 
GeneralRe: Threads, Dialog based appl Pin
jhwurmbach4-Sep-03 2:59
jhwurmbach4-Sep-03 2:59 
QuestionHow to get the Handle of a WebCam? Pin
nwillie3-Sep-03 21:43
nwillie3-Sep-03 21:43 
GeneralStupid problem Pin
Rohit  Sinha3-Sep-03 21:17
Rohit  Sinha3-Sep-03 21:17 
GeneralRe: Stupid problem Pin
jhwurmbach3-Sep-03 21:49
jhwurmbach3-Sep-03 21:49 
GeneralRe: Stupid problem Pin
Rohit  Sinha4-Sep-03 7:59
Rohit  Sinha4-Sep-03 7:59 
Well, sometimes we are stupid and sometimes we don't follow the docs. That's what happened with me. Smile | :)

I was reading a particular value from a file. After that I was bitwise OR'ing it with a few numbers to see what was up and assigning the result to a BOOLean variable (which was connected to a checkbox). I forgot that if the value is anything other than 0, 1 or 2, the DDX routines will reset it to 0.

DOH!!!

Thanks to your advice of stepping through the code (why didn't I think of it myself?) I was able to spot it.

Thanks again for listening to me and offering your suggestions. It helped me a lot. Smile | :)

About doing the data transfer yourself, I avoid it as much as possible, because in most cases it's not necessary and I don't want to have to remember to do it each time. Data validation is a different game though. Best done by hand.


Regards,

Rohit Sinha

Do not wait for leaders; do it alone, person to person.
- Mother Teresa


GeneralRe: Stupid problem Pin
Ted Ferenc3-Sep-03 21:55
Ted Ferenc3-Sep-03 21:55 
GeneralRe: Stupid problem Pin
David Crow4-Sep-03 3:07
David Crow4-Sep-03 3:07 
GeneralProblem with thread Pin
Majid Shahabfar3-Sep-03 20:35
Majid Shahabfar3-Sep-03 20:35 
GeneralRe: Problem with thread Pin
Magnus Westin3-Sep-03 21:08
Magnus Westin3-Sep-03 21:08 
GeneralDirectX problem Pin
SteelModule3-Sep-03 19:58
SteelModule3-Sep-03 19:58 
GeneralRe: DirectX problem Pin
JWood5-Sep-03 3:38
JWood5-Sep-03 3:38 
GeneralDetermine if System is Shutting Down/Restarting or Logging off Pin
Paul Farry3-Sep-03 19:58
professionalPaul Farry3-Sep-03 19:58 
GeneralRe: Determine if System is Shutting Down/Restarting or Logging off Pin
Dominik Reichl3-Sep-03 21:51
Dominik Reichl3-Sep-03 21:51 
GeneralHelp Experts...CString to LPCSTR conversion Pin
rohit.dhamija3-Sep-03 19:44
rohit.dhamija3-Sep-03 19:44 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
Michael Dunn3-Sep-03 19:52
sitebuilderMichael Dunn3-Sep-03 19:52 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
BhaskarBora3-Sep-03 19:54
BhaskarBora3-Sep-03 19:54 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
rohit.dhamija3-Sep-03 20:11
rohit.dhamija3-Sep-03 20:11 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
BhaskarBora3-Sep-03 20:21
BhaskarBora3-Sep-03 20:21 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
J. Dunlap3-Sep-03 20:30
J. Dunlap3-Sep-03 20:30 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
rohit.dhamija3-Sep-03 20:49
rohit.dhamija3-Sep-03 20:49 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
chifor3-Sep-03 21:19
chifor3-Sep-03 21:19 
GeneralRe: Help Experts...CString to LPCSTR conversion Pin
rohit.dhamija3-Sep-03 23:35
rohit.dhamija3-Sep-03 23: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.