Click here to Skip to main content
16,005,437 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDIB to BITMAP,BITMAP to JPEG Pin
Anand for every one21-Mar-05 22:00
Anand for every one21-Mar-05 22:00 
GeneralRe: DIB to BITMAP,BITMAP to JPEG Pin
ThatsAlok21-Mar-05 22:43
ThatsAlok21-Mar-05 22:43 
GeneralLogonUser() failed Pin
ace_maggot21-Mar-05 21:50
ace_maggot21-Mar-05 21:50 
GeneralRe: LogonUser() failed Pin
David Crow22-Mar-05 2:44
David Crow22-Mar-05 2:44 
GeneralLoading file data into Edit Cntrl boxes Pin
wohoowahoo21-Mar-05 21:42
wohoowahoo21-Mar-05 21:42 
GeneralRe: Loading file data into Edit Cntrl boxes Pin
toxcct21-Mar-05 22:38
toxcct21-Mar-05 22:38 
GeneralRe: Loading file data into Edit Cntrl boxes Pin
wohoowahoo22-Mar-05 6:46
wohoowahoo22-Mar-05 6:46 
GeneralRe: Loading file data into Edit Cntrl boxes Pin
toxcct22-Mar-05 21:05
toxcct22-Mar-05 21:05 
hum, just an idea like that... did you well used UpdateData(TRUE) to store the contents of the controls toward the associated variables, and UpdateDate(FALSE) for the reverse operation ?

another thing :

wohoowahoo wrote:
not all of my Edit control variables are of the CString type

Of course !! they are CEdit ones, all of them !!! Big Grin | :-D
In fact, when you think you make an edit of type CString or UINT or anything else, you only associate (through DDX and DoDataExchange()) a member variable of type CString or UINT with the actual CEdit object that is currently used in the dialog.

wohoowahoo wrote:
after retrieving data from a file, I still cannot get the data into the INT Edit variables

hum, tell me, how are supposed to be the datas into this EditBox ?
you can try something else if you still cannot find a way :
CEdit* pEdit = ((CEdit*)GetDlgItem(IDC_MYEDIT));
CString strEdit;
pEdit->GetWindowText(strEdit);
UINT uiEditVal;
::sscanf(strEdit, "%u", &uiEditVal);


cheers,


TOXCCT >>> GEII power
[toxcct][VisualCalc]
QuestionHow to using splitter window in CWnd? Pin
KeyL21-Mar-05 21:32
KeyL21-Mar-05 21:32 
GeneralMFC Programming using SDI Pin
charu12321-Mar-05 20:11
charu12321-Mar-05 20:11 
GeneralRe: MFC Programming using SDI Pin
David Crow22-Mar-05 2:52
David Crow22-Mar-05 2:52 
GeneralRe: MFC Programming using SDI Pin
charu12322-Mar-05 17:48
charu12322-Mar-05 17:48 
GeneralRe: MFC Programming using SDI Pin
Anonymous23-Mar-05 0:02
Anonymous23-Mar-05 0:02 
GeneralCharts Pin
frankieb21-Mar-05 18:01
frankieb21-Mar-05 18:01 
GeneralRe: Charts Pin
Christian Graus21-Mar-05 18:26
protectorChristian Graus21-Mar-05 18:26 
GeneralRe: Charts Pin
Martijn van Kleef22-Mar-05 1:26
Martijn van Kleef22-Mar-05 1:26 
GeneralRe: Charts Pin
Anonymous23-Mar-05 15:25
Anonymous23-Mar-05 15:25 
GeneralRe: Charts Pin
Martijn van Kleef24-Mar-05 0:11
Martijn van Kleef24-Mar-05 0:11 
GeneralPocket PC 2003 c++ and iostream Pin
CLermen21-Mar-05 16:35
CLermen21-Mar-05 16:35 
GeneralRe: Pocket PC 2003 c++ and iostream Pin
Christian Graus21-Mar-05 18:27
protectorChristian Graus21-Mar-05 18:27 
GeneralDebug Assertion Failed! Pin
cockytrumpet21-Mar-05 14:32
susscockytrumpet21-Mar-05 14:32 
GeneralRe: Debug Assertion Failed! Pin
Christian Graus21-Mar-05 14:58
protectorChristian Graus21-Mar-05 14:58 
GeneralRe: Debug Assertion Failed! Pin
David Crow22-Mar-05 2:57
David Crow22-Mar-05 2:57 
GeneralSystem process Pin
giany00721-Mar-05 11:48
giany00721-Mar-05 11:48 
GeneralRe: System process Pin
Tom Wright21-Mar-05 12:21
Tom Wright21-Mar-05 12:21 

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.