it seems like it's writting blanks to it.. cuase it actually writes over any that is in the file.. bleh..
Type: Posts; User: RancidWannaRiot
it seems like it's writting blanks to it.. cuase it actually writes over any that is in the file.. bleh..
Actually.. m_edit is a CtermEdit object. which is derived from a Cricheditctrl..
but.. the CtermEdit does not have any additional variables or anything. it just has a member function.
Okay,
so i started a project with a rich edit view, richedit doc and such..
but I also create another Cricheditctrl object in this program. I'm trying to serialize it in Document class...
Okay.. here's my question
how can i just send something out to get displayed on the rich edit control??
as of right now.. i can type into it..but what if i want a line of text to appear?
...
Hello,
i need some sort of rich edit control tutorial.. i'm using visual studio .net but programming with MFC.. i tried doing some research.. but i just can'tfind anything that works.. i don't...
Hello,
i don't even know on how to get started with using my serial port.
My professor (using visual studio 6) said we need to use the mscomm32 activeX controller which has the Commctrl class
...
sorry.. it is a structure/\.. i'm doing this project ina team.. sorry.. that is what one of my team members added..
i'm not sure how to overload it??
i know htat means i'm supposed to define...
I'm using visual studio .net.. i'm programming in C++
anyway.. i'm trying to serialize stuff.. and you know.. you do the usual
ar << variable;// to save
and
ar >> variable; //to loadl
nevermind, i got it.. apprently you have to have a default constructor..
I have a similar question.. what if your class is Cwnd which is derived from CObject?
because i'm doing what you just showed on top.. but with Cwnd.. and well it ain't working..
i read that the removeAt() function takes care of that for you..
from what i read.. the following happens
if you have a list
say
{12,32,43,54}
and you do removeAT(1) this would make a...
Hello,
so, I have a list of objects taht i made (they're calle Cgate objects)
they're in a list. I made a routine that will search through the list and find what it wants to delete..
so what...
thanks
Hello,
So in my Ondraw member of the view class, I create and use two pens aside from the standard black one..
My question.. is it crucial to delete the added pens at the end of the ondraw...
ha!... thanks.. that was a lot easier.. search this search that.. search this.. i like your style..
thanks
Hello,
okay so i was trying to run the example, but it's not working out.
I am using the GDI function lineto().
But i don't understand why i have to make a pen? and it seems like I can't, i...
thanks for the replies... i think that might help.. but I can't look into it till tomorrow... we'll see how it goes..
thanks
Hello,
so i'm using the lineto(); function to draw somestuff..
my question is.. how to i change the color of the line..
i was searching through the help in visual studio .net.. but no...
Okay, i tried what you suggested and it's not working..
Sorry just to clarify..
so you're saying i should create a dummy object from the document class.. and the just call my function.. and get it to return what i want to a variable in my view class??...
I see i see.. I'll try that out...
latet though.. gotta go to school
Okay.. the error i get is..
"GetbyteBuffer" is not a member of Cdocument.. but it is!!!
So i have this in my Cdocument header
char* GetbyteBuffer(void);
char* byteptr;
then i have this as the definition
wouldn't putting "pragma once" on the top fix that?
anyway i like what you suggested though.. i think i'm gonna go with that.. as for reading the files.. i'm not sure what you question is.. i'm...
so i set up the following structure in my document class header
struct header
{
short NumBytesPerSample;
bool BigorLittleEndian;
float VoltsPerDigitizerUnit;
};