CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: LooselyBased

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Draw String along a line of arbitrary slope?

    I am trying to draw an edge label in a graph. The edge is not horizontal so I can't just call DrawString on the Graphics reference. Does anyone have an idea of how I can draw a string along a...
  2. Replies
    3
    Views
    975

    Re: VS2005 and the stl list::iterator

    Well most of my code that uses the -- operator for the list::iterator class does so only in cases where it knows it can decrement. For example, I have a game simulator as one of my classes that...
  3. Replies
    3
    Views
    1,097

    Re: Visual C++ .NET Apps

    If you want to use the .NET foundation classes, you'll have to use managed C++.

    You might be better off using C# if you want to create GUI apps rapidly.
  4. Replies
    3
    Views
    975

    VS2005 and the stl list::iterator

    I recently brought my project over to visual studio 2005 and after compiling it, I started up to get an assertion failed error saying that list iterator is not decrementable. After some searching, I...
  5. Thread: sendinput

    by LooselyBased
    Replies
    11
    Views
    1,525

    Re: sendinput

    Are you trying to make it click a control like a button, or trying to send a mouse click to the specific location of 10,10 in the window and there is no button there?
  6. Replies
    1
    Views
    662

    Re: Assigment HELP.. stuck & confused..

    This is not a good way to get help on this forum. We are not here to do your homework for you. Instead, why don't you try something and if it doesn't work, post the code to your solution here and...
  7. Replies
    1
    Views
    8,826

    [RESOLVED] VC++ to .NET automation?

    I have several large projects which were originally designed in VC++ and now I am looking to move them to .NET class libraries to be used for my C# GUI and web services front ends.

    I've looked at...
  8. Replies
    0
    Views
    2,156

    Automated managed C++ wrapper classes?

    It's been a while since I've been here, so I didn't notice this new forum and posted this question in the general VC++. Anyway, here it is:

    I have a very large project (100,000+ lines) which is...
  9. Replies
    7
    Views
    993

    Re: problems with strncpy

    You're chopping off the '\0' end string character I believe (unless strncpy adds that for you...not sure). I think you have to append it yourself.

    Also, I guess we just have to assume you're...
  10. Thread: sendinput

    by LooselyBased
    Replies
    11
    Views
    1,525

    Re: sendinput

    SendMessage allows you to send BN_CLICKED messages to a window that you have the handle of.
  11. Re: Help! After 5 hours, and tons of googling, I still can't do find & replace.

    Hi strain,

    So what you'll want to do when doing a file search and replace is:

    1. Create an empty string (we'll call it newFile)

    2. Read in the file line by line, checking the line to see if...
  12. Replies
    0
    Views
    695

    Automated Managed C++ wrapper?

    I have a very large project (100,000+ lines) which is written entirely in unmanaged C++. I am looking to add some nice GUI and web service front ends to the project, so I want to convert the code to...
  13. Re: big difference with c++ with simple equal operator

    I think you're going to have to post the whole code.
  14. Replies
    0
    Views
    506

    Drawing frameworks?

    I'm working on a research project that closely resembles a UML class diagram creation program. I started out using Java and JHotDraw to create my own figures, tools, etc, but I really would prefer...
  15. Replies
    0
    Views
    788

    JHotDraw Ellipse?

    I'm trying to make a custom GraphicalCompositeFigure in JHotDraw. I want it to basically be a figure which has an Ellipse background, with 3 text fields in the center. I've tried a lot of different...
  16. Replies
    4
    Views
    862

    Re: Why use a webservice?

    Could you clarify that question...it does not make much sense.
  17. Replies
    4
    Views
    769

    Re: Problem with Socket :(

    How are you reading the data in?
  18. Replies
    2
    Views
    636

    Re: delete a line in a file

    I don't know if that's an already available command...but a function that will do it is:


    public static void DeleteLine(String file, int line)
    {
    StreamReader streamIn = new...
  19. Replies
    4
    Views
    769

    Re: Problem with Socket :(

    Are you using a Stream object to write to the socket? If so, you should call Flush() after each write.
  20. Replies
    11
    Views
    2,687

    Re: Transparent Picture box in Windows Form?

    Thanks!

    I have a map of strings->Images that I load at startup. This map contains all the files that will be in the picturebox. Also, they're all the same shape, so this really makes the most...
  21. Replies
    11
    Views
    2,687

    Re: Transparent Picture box in Windows Form?

    Yep...still draws yellow'ish pixels instead of transparent (i.e. whatever color the object behind them is) ones.
  22. Replies
    11
    Views
    2,687

    Re: Transparent Picture box in Windows Form?

    So there's no way at all to do this? I changed the image to a Panel and drew it in OnPaint...but the blank spots are still being filled in with some color instead of showing what's behind the image....
  23. Replies
    11
    Views
    2,687

    Transparent Picture box in Windows Form?

    How do I create a transparent PictureBox in a Windows Form? I tried setting the BackColor to Transparent, but that wasn't valid and didn't work.
  24. Re: What programming language is best for games?

    Games programming is not easy. Most major games are done in C/C++, as they allow for direct memory management. However, if you have no experience (or even little to moderate experience) with a...
  25. Re: Communication between a C++ and C# program?

    I use sockets for the client/server communication...I don't see what you mean about using it for the backend->server communication.
Results 1 to 25 of 65
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured