Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
L

Lord Kixdemp

@Lord Kixdemp
About
Posts
480
Topics
144
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Custom toolbars?
    L Lord Kixdemp

    Okay, I figured it out. Thanks!

    Windows Calculator told me I will die at 28. :(

    C / C++ / MFC tutorial question career

  • Custom toolbars?
    L Lord Kixdemp

    Hello everyone! I'm trying to make something similar to the color toolbar in MS Paint. A regular toolbar doesn't do the job, so I must create my own... But how? I can't derive my class from CToolBar (at least not with the class wizard). I tried deriving from CToolBarCtrl, but I can't figure out how to put it in my window/make it dockable. Any clues? Thanks in advance!

    Windows Calculator told me I will die at 28. :(

    C / C++ / MFC tutorial question career

  • Multiple dialogs in an application
    L Lord Kixdemp

    Hah. I was doing this instead:

    void CTempDlg::OnButton1()
    {
    Modeless modlessDlg;
    modlessDlg->Create(IDD_MODELESS_DIALOG, NULL);
    modlessDlg->ShowWindow(SW_SHOW);
    }

    The window closed before it could open, I'm guessing because the object got automatically deleted after that function call. Stupid me. Thanks very much! :)

    Windows Calculator told me I will die at 28. :(

    C / C++ / MFC question c++

  • Multiple dialogs in an application
    L Lord Kixdemp

    Hello everyone! It's been a while since I had to bother you guys with such a noob question, but I couldn't find an answer anywhere. :( I want to have two MFC dialog windows open at the same time, both usable by the user. I don't mind using threads. Any hints? Thanks in advance.

    Windows Calculator told me I will die at 28. :(

    C / C++ / MFC question c++

  • Direct pixel access using WinG
    L Lord Kixdemp

    Greetings, I thought this: hbmTiles = WinGCreateBitmap(hdcBackbuffer, &bmi, (void**)&ptrTiles); ...would put the pixel data of hbmTiles into ptrTiles. And it works, the pointer does indeed contain the correct pixel information, but if I write to it, nothing happens to the original bitmap. How can I apply this back to the bitmap? Thanks in advance!

    Windows Calculator told me I will die at 28. :(

    C / C++ / MFC question graphics

  • Agagagagaga I want to code!
    L Lord Kixdemp

    Yeah, it does all the stuff you need to make a 2D game (the game I mentioned was a Scorched Earth clone), but only graphics, nothing else (input, sound...) is implemented. I made a few demos with it after that, but then the mystery Sharpie marker wrote "retro" in my eyelids so I started making demos for stuff as old as ColecoVision. :~ But now my current "main project" is almost done; the next thing will most probably be using that engine. :)

    Windows Calculator told me I will die at 28. :(

    Work Issues help css game-dev question

  • I need help with C#
    L Lord Kixdemp
    1. Place your code around code and pre tags so it looks nicer. 2) What error did you get? 3) Does it specify a line number?

    Windows Calculator told me I will die at 28. :(

    C# csharp help visual-studio

  • Agagagagaga I want to code!
    L Lord Kixdemp

    Yeah, now that you say it, I've got a good game programming book that I never really got into due to laziness... Guess I'll try that. Thanks yo! :)

    Windows Calculator told me I will die at 28. :(

    Work Issues help css game-dev question

  • Agagagagaga I want to code!
    L Lord Kixdemp

    Ah come on, nobody has ever felt the same way?

    Windows Calculator told me I will die at 28. :(

    Work Issues help css game-dev question

  • Agagagagaga I want to code!
    L Lord Kixdemp

    Hello everyone! I need a bit of help here. You see, I used to code every day, all of my time was spent on eating, sleeping, and coding. It was a happy life, until I began to stare at lines of code for whole minutes and then "waking up" and wondering what I was doing; sort of like a zombie. I couldn't seem to concentrate at all, so I stopped for a while, I think about a week. Then I came back and guess what? I coded a new game engine, a game using that engine, and a very neat GUI system for that game - in less than 4 days. The GUI thing I thought was impossible for someone of my skill level, but it just came natural, I didn't worry at all about not being able to finish it. Didn't get "stuck" or anything. I coded it and enjoyed coding more than ever. But now I'm back to zombieing... damn. So, has anyone else gone through this? Any tips? My dad has some Focus Factor pills, maybe that helps? Don't tell me to wait another week, I've got nothing better to do but play video games and watch Dragonball. It's always been like this, but I had never fully stopped for a whole week before, so the comeback was more dramatic than previous times. Thanks in advance!

    Windows Calculator told me I will die at 28. :(

    Work Issues help css game-dev question

  • Help with OOP
    L Lord Kixdemp

    Huh? That easy? I was expecting an extremely long message explaining how to delicately trick C++ into doing what I wanted... Thanks , Rajkumar!

    Windows Calculator told me I will die at 28. :(

    C / C++ / MFC help csharp c++ tutorial question

  • Help with OOP
    L Lord Kixdemp

    Hello everyone! I'm designing a OOP-based system in C++, and I'm having a little problem. Say I have this:

    class Class1
    {
        virtual void Draw(Image *a_pImage);
    };
    
    class Class2 : public Class1
    {
        virtual void Draw(Image *a_pImage);
    };
    

    Class1::Draw takes care of ugly low-level stuff, and that's a lot of code. How can Class2::Draw call Class1::Draw so that I don't have to copy-paste all of the code in Class2? In C#, for example, you used base.Draw, but base doesn't exist in C++... Thanks!

    Windows Calculator told me I will die at 28. :(

    C / C++ / MFC help csharp c++ tutorial question

  • Help with a simple Paint clone in Win32
    L Lord Kixdemp

    I'll try the straight line then and then the curved one, if it doesn't look good. Thanks! ;)

    Windows Calculator told me I will die at 28. :(

    C / C++ / MFC help question graphics

  • Help with a simple Paint clone in Win32
    L Lord Kixdemp

    Hello everyone! Miss me? No? Aww. :( Anyway, I'm trying to make a very simplistic Paint clone. I have a question: I trap mouse drawing with WM_MOUSEMOVE. However, it draws in dots, as in, if I want a doodle I have to go very slowly. How would I fix this? Maybe interpolating; drawing a line between the previous and current dots? But that would be very squareish... Can somebody fill me with their wisdom so I can figure this out? Thanks!

    Windows Calculator told me I will die at 28. :(

    C / C++ / MFC help question graphics

  • OOP is driving me crazy!
    L Lord Kixdemp

    Wow, looks like there's more to software development than just coding. :wtf: I looked up for some tutorials, and found this bunch: http://www.devdaily.com/Dir/OOA_OOD/Patterns/Tutorials/[^] You seem to know about the subject, so would you mind pointing out which of those is the best to start with? :) Thanks!

    Windows Calculator told me I will die at 28. :(

    C / C++ / MFC tutorial c++ question

  • OOP is driving me crazy!
    L Lord Kixdemp

    I deserve harsh punishment for not Googling first. :mad: http://www.thescripts.com/forum/thread63131.html[^] Thanks all very much for your time!

    C / C++ / MFC tutorial c++ question

  • OOP is driving me crazy!
    L Lord Kixdemp

    I deserve harsh punishment for not Googling first. :mad:

    C / C++ / MFC tutorial c++ question

  • OOP is driving me crazy!
    L Lord Kixdemp

    Yes, but Dialog needs Client too... They both need each other, and with the include guards that's not possible. And if I remove the include guards I get infinite error messages by the compiler... :(( Any more ideas? Thanks!

    Windows Calculator told me I will die at 28. :(

    C / C++ / MFC tutorial c++ question

  • OOP is driving me crazy!
    L Lord Kixdemp

    Hello everyone! I've been coding in C for a long time. Now I' starting to get into C++. Well, my last 2 projects which I started in C++ I had to convert to C because I couldn't figure out how to use classes. Take for example my current situation: There is a Dialog class, which holds all of the GUI functionality of my program. The Dialog class contains an object of type Client, which holds all of the networking functionality. Well, Client wants to interact with a GUI control inside Dialog. But that's not possible because C++ doesn't allow Client to know anything about Dialog. So how would I solve that? If you can answer, I will thank you for life. :) Thanks in advance!

    Windows Calculator told me I will die at 28. :(

    C / C++ / MFC tutorial c++ question

  • .NET Languages and Namespaces
    L Lord Kixdemp

    You're so mean! :laugh: :laugh: :laugh:

    Windows Calculator told me I will die at 28. :(

    .NET (Core and Framework) csharp
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups