Search:

Type: Posts; User: DrCodeGuru

Search: Search took 0.01 seconds.

  1. Replies
    21
    Views
    3,264

    Didn't mean to leave you hanging. I went out of...

    Didn't mean to leave you hanging. I went out of town for a few days.

    What is the deal with that if statement. Why are you typecasting the lparam to a HWND. It appears that your problem is with...
  2. Replies
    21
    Views
    3,264

    The problem you have, has to deal with the hwnd...

    The problem you have, has to deal with the hwnd variable. hwnd has to be the hwnd for the editbox. Set a breakk point at the setbkcolor case line and Go into debug (f5)mode. Step thru the code. See...
  3. Replies
    21
    Views
    3,264

    You must be using a Read-only or disabled edit...

    You must be using a Read-only or disabled edit box. That being the case, the WM_CTLCOLORSTATIC is the message you need to catch. All you have to do now is call setbkcolor and settextcolor. setbkcolor...
  4. Replies
    21
    Views
    3,264

    No specific message for text color. There is a...

    No specific message for text color. There is a broader message for control color as explained in my previous post. You can catch the WM_CTLCOLOR message. You will then have to make sure that...
  5. Replies
    1
    Views
    1,217

    This is somewhat an involved process. You will...

    This is somewhat an involved process. You will need code on the server side as well as on the client side. You will first need to establish a connection to the server via sockets. Once that is done,...
  6. Replies
    21
    Views
    3,264

    In order for me to show you how to do it in C, I...

    In order for me to show you how to do it in C, I will need to see your edit box code. So I can tell you where to insert the code you need. Thanks!
  7. Replies
    5
    Views
    1,006

    If you want to play around with a bare minimum...

    If you want to play around with a bare minimum windows application, use MSVC++ win32 application wizard. It has an option to create the Hello windows application. The code that it generates will be...
  8. Replies
    21
    Views
    3,264

    The color scheme of the CEdit class is defaulted...

    The color scheme of the CEdit class is defaulted to the color scheme of the parent. You can change the edit box Text color and background color .

    1) You need to first define a HBRUSH object, to...
  9. Replies
    6
    Views
    1,233

    Dude, MSVC++ supports ANSI C\C++. The ansi C\C++...

    Dude, MSVC++ supports ANSI C\C++. The ansi C\C++ standard provides you with all the tools necessary to communicate with your computer. Most of the windows operating system is written in C. Check out...
  10. Replies
    4
    Views
    1,274

    Nick, I don't see how a pointer to a pointer...

    Nick, I don't see how a pointer to a pointer solves his problem.

    First off, he is using a pointer without initializing it. You will get a warning, and it will allow you to compile, but that is...
  11. Replies
    6
    Views
    1,233

    MSVC ++ does allow you to write for dos. Just use...

    MSVC ++ does allow you to write for dos. Just use standard ansc C\C++. Test your code in a windows console application. You can then port that over to a dos machine.

    REMEMBER: You will not be able...
Results 1 to 11 of 11