Search:

Type: Posts; User: RancidWannaRiot

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,947

    it seems like it's writting blanks to it.. cuase...

    it seems like it's writting blanks to it.. cuase it actually writes over any that is in the file.. bleh..
  2. Replies
    2
    Views
    1,947

    Actually.. m_edit is a CtermEdit object. which is...

    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.
  3. Replies
    2
    Views
    1,947

    serialize rich edit control problem

    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...
  4. sending something to a rich edit control without keyboard

    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?

    ...
  5. Replies
    0
    Views
    1,341

    rich edit tutorial?

    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...
  6. Serial port woes (visual C++ .NET 2003)

    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
    ...
  7. sorry.. it is a structure/\.. i'm doing this...

    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...
  8. Serializing problem.. (can't use >> operator)

    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
  9. Replies
    4
    Views
    1,491

    nevermind, i got it.. apprently you have to have...

    nevermind, i got it.. apprently you have to have a default constructor..
  10. Replies
    4
    Views
    1,491

    I have a similar question.. what if your class is...

    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..
  11. i read that the removeAt() function takes care of...

    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...
  12. Deleting object after list removal (C++ visual studio)

    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...
  13. thanks

    thanks
  14. Question about Deletion of objects

    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...
  15. Replies
    6
    Views
    11,256

    ha!... thanks.. that was a lot easier.. search...

    ha!... thanks.. that was a lot easier.. search this search that.. search this.. i like your style..

    thanks
  16. Replies
    6
    Views
    11,256

    Hello, okay so i was trying to run the...

    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...
  17. Replies
    6
    Views
    11,256

    thanks for the replies... i think that might...

    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
  18. Replies
    6
    Views
    11,256

    C++ lineto(); color??

    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...
  19. Okay, i tried what you suggested and it's not...

    Okay, i tried what you suggested and it's not working..
  20. Sorry just to clarify.. so you're saying i...

    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??...
  21. I see i see.. I'll try that out... latet...

    I see i see.. I'll try that out...

    latet though.. gotta go to school
  22. Okay.. the error i get is.. "GetbyteBuffer" is...

    Okay.. the error i get is..

    "GetbyteBuffer" is not a member of Cdocument.. but it is!!!
  23. Calling Cdocument function in Cview function

    So i have this in my Cdocument header


    char* GetbyteBuffer(void);
    char* byteptr;


    then i have this as the definition
  24. wouldn't putting "pragma once" on the top fix...

    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...
  25. Am i doing this right? (file reading)

    so i set up the following structure in my document class header


    struct header
    {
    short NumBytesPerSample;
    bool BigorLittleEndian;
    float VoltsPerDigitizerUnit;
    };
Results 1 to 25 of 55
Page 1 of 3 1 2 3