Search:

Type: Posts; User: Gravedigga

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    1,735

    Qt and non movable windows

    Hello.

    I work on a project involving Qt which must be multi-platform, so I decided to
    write here.

    I need to implement a Lock menu which must "lock" all the opened windows in a mdi view
    and...
  2. Replies
    1
    Views
    1,701

    Generating PDF

    Hi.

    I have task to create a data report in my program, which will contain the results of a SQL query.
    But which is important is this report must be saved in .pdf file. I don't know how to...
  3. Replies
    2
    Views
    1,366

    Thank you.

    Thank you.
  4. Replies
    2
    Views
    1,366

    Static member of a class

    Hello everyone.

    I have a class but I want to create a static member of the class, so the objects can exchange data throught it. The member must be a dinamic char*, so I can pass strings through...
  5. Replies
    6
    Views
    1,652

    I can't agree with valis. Windows offers plenty...

    I can't agree with valis.
    Windows offers plenty of methods for interprocess comm. There are pipes- named and unnamed, mailslots, simple message for GUI-apps, I think it was WM_COPYDATA or something...
  6. Replies
    8
    Views
    2,128

    I see two ways of doing this: 1) declare...

    I see two ways of doing this:
    1)
    declare CMUTrace as friend of Mac802_1 like this:



    class Mac802_1{
    .........
    friend class CMUTrace;
    };
  7. Replies
    8
    Views
    2,128

    If I have understood clear you just have to make...

    If I have understood clear you just have to make class B friend to A:



    class A{
    ........
    friend class B;
    };

    I think this is the easiest way to get access to ACK.
  8. Replies
    8
    Views
    2,128

    If there is no relation between the two classes,...

    If there is no relation between the two classes, you must declare the variables as public and include the B.h file in A.cpp (to include the header file of the class which variables you want in the...
  9. Replies
    8
    Views
    2,128

    What is the relation between the classes? Are...

    What is the relation between the classes?

    Are they 'friends' or the one inherits from the other?

    If they are not 'friends' and class A is not inherited from class B, you can not access a...
  10. Replies
    6
    Views
    1,098

    Can you tell me why?

    Can you tell me why?
  11. Replies
    6
    Views
    1,098

    How about if I want to press "any key" without...

    How about if I want to press "any key" without enter?

    I mean in terms of streams- not getch().
  12. Replies
    9
    Views
    1,008

    //in B.h class A; class B{ A...

    //in B.h

    class A;

    class B{
    A *ContainingObject;
    ....
    B();
    void SetContaingObject(A *a);
    void ShowContaingObject();
  13. Replies
    9
    Views
    1,008

    They can look at the instance of A, which...

    They can look at the instance of A, which contains them if they have a poiter of type A and in (for example) the constructor of A somehow we make this pointers to "point" to "this" (which is the...
  14. Replies
    9
    Views
    1,008

    To make let's say class B to have access to...

    To make let's say class B to have access to members of class C you just do that:



    class C{
    ...
    friend class B;
    //you can also make just one function to have access to class B:
    friend...
  15. Replies
    6
    Views
    1,776

    I wrote the above code just to ask my question as...

    I wrote the above code just to ask my question as an example. In fact I changed it in my project after this.

    And thanks to Stoned_Coder and elad. Now I'm sure what am I doing. :cool:
  16. Replies
    6
    Views
    1,776

    Thank you. But if it is so, If I do so: ...

    Thank you.

    But if it is so, If I do so:


    Elements=tmp_list;

    And if delete the array Elements, from where the delete[] operator could know the size of tmp_list array so to delete more...
  17. Replies
    6
    Views
    1,776

    Dynamic memory reallocation

    Hi.

    I know that this may be achieved by using STL or MFC, but I have a project for school that must be written without these libraries.

    I must create a simple program that deals with graphic...
  18. Replies
    0
    Views
    1,065

    Controling a process's audio output

    Hi there.

    I'm very far from system programming, but am curious about it.
    Is there any way to control the audio of a given process? Let's say I don't want to hear the sounds of a given app, but...
  19. Thread: New to COM

    by Gravedigga
    Replies
    2
    Views
    961

    New to COM

    Hello I have just read my first tutorial about COM and coded my first app with it.

    I want to know is there any way to understand what methods are hidden behind any particular interface. Let's say...
  20. Thread: Tcp/ip

    by Gravedigga
    Replies
    4
    Views
    1,379

    You should have all the .DLL files which are...

    You should have all the .DLL files which are needed to run MFC programs if you have Microsoft Visual Studio installed. Build the project in release mode. If the problem persists right click on the...
  21. Thread: Tcp/ip

    by Gravedigga
    Replies
    4
    Views
    1,379

    I have written one program with sockets a couple...

    I have written one program with sockets a couple of months ago.

    I give it to you and hope to be helpfull. It is written very dirty :o , but it covers the basics of the listening on a port. Run...
  22. Replies
    1
    Views
    1,034

    Question about fonts and printing

    Hi.

    I'm working on a program that must print data and to have a printview. My question is: Is there any straight way to create fonts which are at the same size both on the screen and on the...
  23. Replies
    4
    Views
    1,793

    Thank you for your answers! This solves my...

    Thank you for your answers!

    This solves my problem.
  24. Replies
    4
    Views
    1,793

    CListCtrl selection problem

    Hi.

    In my program I have a ListView control in report mode, which is associated with a CListCtrl object(MFC). I need to know which items are selected at a moment. Something like the function...
  25. Replies
    2
    Views
    1,465

    Thank you, bithub. Now it works.

    Thank you, bithub.

    Now it works.
Results 1 to 25 of 87
Page 1 of 4 1 2 3 4