How do you create a resource file from scratch with MSVC++?. Every time I go to insert-->resource It makes me use the MFC.
one other thing.
I want to be able to load a text file into a edit box. But this does not seem to work.Code:char ch; ifstream in("C:/FIGURE2.txt"); if(in.fail()) { MessageBox(NULL, "Cannot open file","Error",MB_OK); } while(in.get(ch)){ SendMessage(editbx,WM_SETTEXT,(WPARAM)0,(LPARAM)ch); }
Any help appreciated





Reply With Quote