Search:

Type: Posts; User: Terrell

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    6,606

    Thanks for all of your help!! I looked again for...

    Thanks for all of your help!! I looked again for the GetWindowLong() and SetWindowLong() posts on the board, and I found an example with code of what I needed to do!

    DefEditProc =...
  2. Replies
    10
    Views
    6,606

    I change the size of my window in WM_SIZE, that...

    I change the size of my window in WM_SIZE, that way if the user resizes the window, the entire window will be resized as well.

    When I check for WM_KEYDOWN or WM_CHAR in the main message loop,...
  3. Replies
    10
    Views
    6,606

    I tried that, and I didn't really want to use...

    I tried that, and I didn't really want to use MFC. The little wizard thingy I dont really like, I want to have complete control over my code. I cannot stand generated code.
  4. Replies
    10
    Views
    6,606

    I tried to subclass the edit control, and i can't...

    I tried to subclass the edit control, and i can't even get my edit control to appear on the screen. I was just trying the minimum to see how it would work, and it just doesnt seem to work. What am...
  5. Replies
    10
    Views
    6,606

    Child Windows and Messages

    Below is my main message loop. I have created an Edit window as a child window of the main window. All I want to do is to be able to catch the keystrokes of the edit window (child window), but I...
  6. Replies
    1
    Views
    770

    Printing from my GUI

    Hello all,

    I am wanting how to learn to be able to send output to the printer via my program. The output would be mostly text, with a posiblility of a graphic (i have not decided on the...
  7. Thread: EnableMenuItem

    by Terrell
    Replies
    1
    Views
    2,325

    I got it....i was doing some reading on here and...

    I got it....i was doing some reading on here and I came across a post that had some code that worked for what I needed.

    I just used GetMenu(HWND) to get a HMENU handle to the menu I need. Thanks...
  8. Thread: EnableMenuItem

    by Terrell
    Replies
    1
    Views
    2,325

    EnableMenuItem

    I have a quick question concerning Menus. I have a small app that uses pull-down menus, and I ned to be able to "turn off" or grey out the menu items that I dont want a user to have. I am trying to...
  9. Replies
    3
    Views
    981

    I do not have a need for an array of character...

    I do not have a need for an array of character arrays, I just needed to put some text inside of an existing char buf[12]. the strcopy(object.buf, "text here") worked great for my problem though! ...
  10. Replies
    3
    Views
    981

    I forgot to say this. The char array is part of...

    I forgot to say this. The char array is part of a class and it doesnt get modified until after a variable of that class hase been defined. Then, thought the rest of the program that char array will...
  11. Replies
    3
    Views
    981

    char arrays ---- i forgot

    Could somebody please help me, I am having a total brain fart.

    I have a variable named: char buff[20];
    I need to put strings into that char array, but I cannot just stuff a string into it, or...
  12. Thread: ios errors

    by Terrell
    Replies
    6
    Views
    1,449

    Thanks for your suggestions. I just started...

    Thanks for your suggestions. I just started reading through more header files, and there is a header file call ios.h, so I just included that, and my errors went away. Evidentally the documentation...
  13. Thread: ios errors

    by Terrell
    Replies
    6
    Views
    1,449

    ios errors

    Hello,

    I am writing a small app that checks for the existence of some files. The problem is that when I create the stream, and associate a file with the stream, the fille will be created if...
  14. Replies
    5
    Views
    1,303

    Thanks zen!! I didnt realized that it needed...

    Thanks zen!! I didnt realized that it needed that sizeof(struct) it works now. Would I do the same thing for a Save As dialog box? I am assuming so

    - Brice
  15. Replies
    5
    Views
    1,303

    I have tried to initialize the struct, but I am...

    I have tried to initialize the struct, but I am not sure if I have everything in there that I need. Here is my struct

    test.hwndOwner = NULL;
    test.lpstrFilter = "All Files (*.*)\0*.*\0";...
  16. Replies
    5
    Views
    1,303

    OpenFile Dialog Box

    I am trying to write an app that will allow the user to open up a file and load it into my program. The file that will be loaded will probably be just a standard .txt file.

    I would like to use...
Results 1 to 16 of 16