Try using something like:
pDC->TextOut(0,0,"Hello Wrold");
Type: Posts; User: Ray Schmidt
Try using something like:
pDC->TextOut(0,0,"Hello Wrold");
Let me ask a dumb question. If my list box ID is IDC_DIR and a char variable of m_dir, how can I use, "myListbox.addItem("Item");" to get the desired information into it??? I've tried the what I...
Ok, thank you for the start. I've gotten the first file to show up and have tried some loops and other junk with the "FindNextFile". The problem now is I keep overwriting my edit box variable...
I have this line of code:
m_dir = system("dir c:")
and m_dir is a char variable for an edit box. It looks like the directory is being done in a command type box seperate from the dialog...
I'm using MFC and have a structred dialog format for keying in the desired file. I just need the listing of files in a given directory.
I'm looking for a way to show the contents of a selected directory in a dialog program using VC60. I'm thinking via use of the system command with a ListBox, however I've never done this yet. Can...
Ok, I've got a text file say like below:
Imperial Imperial
1 0001010000000000000000000000 5000
0 0
ROOF BASICS
22 96.000000 0.463648 0.000000 12.000000 12.000000 1 1 1
4.163119 4.163119...
It truns out that a full path is needed.
stream=fopen("c:/mydocu~1/programming/peekaview/t2.tre","r");
Thanks...
The file is present and has data. In fact, the code actually works, but only while the program is compiled/linked/ran from the VC++ program....
I've got a program that works fine while i'm in the VC program, however, when I try to launch the .exe stand alone I get this nasty little message:
Debug Assertion Failed!
Program: C:\My........
OK, I was expecting to see 3 integers converted to characters and then the characters trunckated together back into an integer (like this 12 34 56 to 123456) How far off am I here?
char...
Man,
You all are the greatest. If this message board were only avaiable 15 years ago, I might have learned c++ by now...
Thank you again....
Ray Schmidt
Even doing this, I retain the same output. Surely moving the pointer back to -3 or -4 should have given me anything different than the exact same results as -2. Is there a better function to try...
I thought I had this figured earlier, but I can't seem to break the FFF-II-SS (Feet-Inches-Sixteenths) out into a variable that I can convert into a decimal. "m_feet" holds the initial value given...
That was it!!!
Thanks...
Ray Schmidt
Not sure why this code is truncating (sorry)
I tried using what you suggested and just had unexpected results. I'm sure I'm just doing it wrong but how do I get your code to work with this:
...
I have the input going through a GUI, defined to operate via radio button for decimal or FIS (float m_feet). Is it possiable to do this same thing without having to use the atoi? Is there a command...